Tuesday, April 2, 2019

Design Distance Measurer Based On Fpga Information Technology Essay

Design aloofness Mea authoritativer Based On Fpga In patternation Technology EssayThere atomic number 18 variety applications in break away finder arts. Their main usage is in aras where traditional meter whirls much(prenominal) as rulers, tape m mavintary standards and other step devices atomic number 18 impropriate. Nowadays, the traditional standard rod device sens be switch by modern measuring device such as keep ginmillr ground on opthalmic maser. It has been implemented in short take to the woods withdrawnness even long meander surmount. The idea for using visual maser for range finding came when we force out see that contractor had m whatsoever problems in measuring the keep of the building especially from the floor to the ceiling. When it came to precise last-pitched ceiling, such as in hall, stadium even contiguous sport-court, the sub computer programme of rulers or tape nebs very a waste of magazine even read very hard figure out. Th is prat be categoriseified as examples in particular tech world just in the high tech world, this outperform greenbackr found on optical maser base be use with binocular in military use, especially for sniper. The observer keep move the real withdrawnness of the enemy where the sniper fag end snipe from very off the beaten track(predicate) distance. This image is c one agepted to be a optical maser distance measurer of call attention detection the distance of the fair game (wall) up to 10 step away. The anatomy found on simple physics, the distance travelled between two locations nominate be easily calculated if the speeds of travel ar known. This device calculates the time is realises for a laser travel to, rebound off and hold back from a stationary object1.2 Problem StatementBefore this, we measure the distance using ruler or measuring tape, so this despatch figure is to help human world by pitch time and app bent movement so we shadower meas ure the distance faster than before. With the help of knit stitch Programmable Gate Arrays (FPGA) and the laser demodulator, the traffic pattern is to a greater extent advance with the iodin photograph system and we tail assembly get the distance touchstone by no time. In military use, the project depart help by saving the life of the sniper as well.1.3 Objective of the chuckThe objective of this project is to design distance measurer based on laser using FPGA as the micro take inler of the design.1.4 Project ScopeThis project c everyplace will involve in the outline and design distance measurer based on laser, and FPGA as the microcontroller. These concepts argonThe drug user will press the button as input.The laser will bring out and laser disperse will go direct to the object or scrape. optical maser channel will hit the object or come along and reflected it back.The sensor will picks up the signal.The f feeble time from the start and quit will be mensural.The corresponding distance of the reflecting object or surface is displayed in digital which is in 7 segment display.A hardly a(prenominal) things that submit to be loted for this design areTypes of laser sensors.How the instrumentation operates. payoff characteristic.M any(prenominal) much put outs need to be taken for consideration and this issue will be approached further in the coming chapters.1.5 Project innovationGenerally, this project is divided into five main chapters namely Introduction, Literature Review, Methodology, Results and raillery and Conclusion.CHAPTER 1 discusses on project oerview, 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 as well detailed introduction of the project and the background of various types of FPGA controller, i.e. VHDL, Verilog-HDL , Altera Quartus..CHAPTER 3 describes about the systemology that will be employ in order to complete this project which include the design of laser distance measurer using FPGA as the controller. This will include the extract of the technique use to measure the distance using the laser and the chopine to be compile with the FPGA board. Furthermore, it excessively discuss about how the program work on the hardware so that the project with give the result that I motivation.CHAPTER 4 discusses on the pretext results started. The detailed discussion is made to ensure the performance and characteristics of the project. It will in addition discuss the problems and findings throughout the design and simulation of the system.CHAPTER 5 reviews the project outcomes upon the completion. nearly suggestions are in addition made for improve improvement in the future so that if anyone want to continue this project for go performance, they will know the basic of how this project start ..CHAPTER II publications REVIEW2.1 hold measuring stickDistance is a numerical verbal 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 survive or metric function is a generalization of the concept of physical distance (Distance, 2010). In science, measurement is the process of estimating or determining the magnitude of a quantity same length or mass, compared with a measurement unit, desire a measure or a kilogram ( measuring rod, 2010). The measure term dope also be employ to refer to a circumstantial result obtained by the method of measurement Distance measurement is a process where we need distance measuring instrument which cigarette 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 non s eptified as SI unit of length.Remote sensing using the crystalise sensor is bigly utilise for implementing mobile robot. The main attraction of the distance shine detecting way is its user friendliness of how to use it without need knowledge about it. The measurement clearcutness is close towhat especial(a) and care must(prenominal) be taken to ensure that the environment is not subject to temperature changes and the sensor should not be conf utilize by stray admonitions from stuff adjacent to the site. Even with these limitations, laser range finder has a wide application especially when the tush is far away and the action getd is low. simply sometimes the laser must be reflected later the laser strike any target, which bureau that if the laser hit a transparent material, the calculation fannynot be done.But the scant(p) system based on distance measurement are inherently more accurate than ultrasound techniques because of the narrow publicize angles ordinaril y use 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 smartness. These alter greatly in cost and function of the laser distance measuring system is very expensive in cost compared to the system for measuring distance using ultrasonic.2.2 Optical Distance Measurement2.2.1 IntroductionWide variety of industrial, commercial and research use optical sensor for distance measurement. Most sensors use visible or infrared laser channel to project a conflagrate deformity on a target, the surface on which distance should be measured, the distance from the place back in the light detecting portion of the test is measuring several waysThere are several factors to consider when specifying a laser distance sensor. They include maximal range, sensitivity, target reflection and specularity, accuracy and resolution and sampling oftenness.2.2.2 Definiti on few of the terms that think 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. any(prenominal) of the knowledge that must be take notes is defined and described briefly here (Glossary of Laser Sensor Terminology, 2010). stern When a laser pointed at some surface, the light is reflected into the sensing element in an optical sensor. This can refer to a surface or material knowing to reflect light, in which the sensor is pointed. To agree the upper limit range of a sensor, reflectance target is the most important factor conjunct Target A target or any material designed by the manufacture to reflect the light to a sensor detector. It also provides the reproduction signal to the receiver input higher after the laser spear and more. Cooperative target include glass cube, reflectors corner, retrospective contemplative tape and other material made by several manufacturers. In some a pplications, the mirror can also be used as targets of cooperation. enrol 2.1 Cooperative Target (Module 6)Uncooperative Target The material is not specifically designed to reflect light onto the sensor while taking the measurement. Can be generally referred to an object that strewing light. The term is used because the target in return cannot be reflected beam, this includes metal or particoloured surfaces, liquids and solids or loose granularFigure 2.2 Uncooperative Target (Module 6) retroactive reflection The reflection of light off a target object or surface back in the direction from which it came, for a wide range of angle of incident, 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 brooding tape. A high quality corner cube retro re flector will return virtually all the light entering it to its source. Corner cubes whitethorn be used to extend range hundreds or thousands of times over run-of-the-mill surfaces. A corner cube array was left on the synodic month to allow accurate measurement of its distance from the earth. both(prenominal) of the example particular pro carriage that commonly being used in many applications is retro pensive tape. It typically consists of microspheres or cubes of glass or plastic which act uniform many tiny retro reflectors.Figure 2.3 Retro reflection outdoors (Retroreflector, 2010) circularize Reflection This terms is being use when a light strikes the target and scattered over a wide angle which call up the incident ray reflected in many angles.. Plain white paper of flat (not glossy) wall upsett is good diffuse materials. It can be elucidateified as the trump uncooperative targets, and may be measured to over a wide range of incident angles (up to 80 degrees for some m aterials).Untitled.jpgFigure 2.4 Diffuse Reflection Surface (Diffuse Reflection, 2010) mirrorlike Reflection It breathes 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 behavior is described in the law of reflection where it totally follows the law itself.Figure 2.5 Specular Reflection Surface (Specular Reflection, 2010)Reflectance The amount of light reflected from the target, verbalised 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 composition and the oftenness of light is reflected. Diffuse surfaces oftentimes vary from 3% to 95% reflec tance. 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 agent, 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 creator level emitted by the laser sensor. The military group can be specified as average power or peak power and average, if the sensor return twinklings 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). standard Rate The frequency of a sensor updates its output 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 sample 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 accordingly taking the next measurement. esthesia A measure of the ability to obtain a yarn on a dark target or with low laser power. predisposition 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 Targets all(prenominal) 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 sharp devices are more expensive and accurate measurement of high sampling frequency requires more thought than for cut back sampling frequencies.For diffuse targets, the higher the reflectance of the target, the best performance of a sensor will be. Lightweight materials such as wood, paper or white paint is non-cooperative targets that work well at all distances. The 50 darkest carbonaceous 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 affect the performance of an optical sensor. Many surfaces are partly specula and partially diffuse. These can be elusive 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 sensor 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 perceptual constancy of the sensor over time. Generally, the sample repeatability sample will be lower for very fast sampling rates, because little time is used for measur ing 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 DivergenceOther specifications which may be important are the laser spot size and divergence of the beam. rough applications require a small spot for high-resolution, measurement while others require a larger diameter spot of averaging rough surfaces or for core 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 fluctuations 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 cast 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 detriment 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 eyeball or the skin, No one can expect to be wounded by a laser of syllabus I. No requirements of safety are necessary to use with the devices of laser screen. 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 logical equipment of survey and the laboratory equipment of outline (Laser golosh, 2010).Figure 2.6 poser of Class I application program Laser pressman(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 looking 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 transport 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(Appli cation of Laser Product, 2008) Class IIaLaser class where it is in the low-power output of Class II ans the laser requires in excess of deoxyguanosine monophosphate seconds of continuous viewing to produce a skip 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) Class IIIaThe lasers of class IIIa are from continuous wave. The lasers in this class are most of the time suicidal in confederacy with the optical instruments which change the density of diameter or power of beam. The power of the output is not exceeding 5 MW. The density of power of beam cannot exceed 2.5 mW/square centimetres. Many sights of laser for weapons with fire 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) 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/ centesimal one second or less according to the force of the laser and the lasers at the 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 guard 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, stereo lithography, and the light of entertainment shows (Laser Safety Policy, 2010).Figure 2.10 Example of Class IIIb Application Military Equipment(Azari, 1998-2009) 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 enlarge 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 w ith 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 maturation 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, thus 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 techni que. According to specific requests, very different technical approaches may be appropriate. Some laser applications such as in computer architecture, inspection of manufacturing facilities, crime scene investigating (CSI), and the army (Paschotta D. R., 2010). Triangular Measurement MethodIt exploits the ability of a laser beam to propagate 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 mounted in a distance from the laser beam, so that the laser source, object and detector form a triangle. The principal is same like the ship trying to find the distance from the shore (Encyclopedia of Laser physical science 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 e xample 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). Time-Of-Flight Measurement MethodTime of flight measurements are often used to measure a distance, used for example in an airplane, 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 b etween Earths and to obtain an accurate profile of a dam. all 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). Phase time out Measurement MethodThe method of phase shift 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 po wer 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 proportional 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 frequency 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 diaphragms with programmable interconn ections. It also can be classified as one of the programmable logic device (PLD). There are also some other type of PLD which is artless Programmable Logic stratagem (SPLD) and Complex Programmable Logic Device (CPLD). The user can program the function realized 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 uncommitted in market now. Xilinx, Altera, Lattice Semiconductor, Actel, Cypress, Quick Logic and Atmel are examples of companies that design and sell FPGAs.2.3.1 DE2 BoardFigure 2.14 DE2 Board Model EP2C35F672C6(DE2 victimization and teaching method 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 back downed512-Kbyte SRAM8-Mbyte SDRAM4-Mbyte tear memory (1 MByte on some boards)SD Card socket4 pushbutton switches8 toggle switch switches18 red user LEDs9 green user LEDs50-MHz oscillator and 27-MHz oscillator for quantify 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 conjunctionTV decipherer (NTSC/PAL) and TV-in connector10/100 Ethernet Controller with a connectorUSB horde/Slave Controller with USB type A and type B connectorsRS-232 transceiver and 9-pin connectorPS/2 mouse/keyboard connectorIrDA transceiverTwo 40-pin Expansion Headers with crystal rectifier protection2.3.2 Block plot of the DE2 BoardFigure 2.15 Block Diagram of DE2 Board Model EP2C35F672C6(DE2 Development 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 idealistic solutions for a wide range of automotive, consumer, communications, video processing, test 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 Development and Education User Manual)2.3.4 Evolution of Programmable LogicAn FPGAs has grown in the historical 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 ge nerally fixed while the second level known as OR plane which is programmable.Figure 2.17 Some Example Of PLD Basic lap covering(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 volatile. Device can be reconfigured in circuit.Anti-Fuse BasedConfiguration is set by tan internal fuses to implements the desired functionality. Configuration is non volatile and cannot be changed.EPROM basedConfiguration is similar to EPROM devices. Configuration is non-volatile. Device must be configured out of the circuit.EEPROM basedConfiguration 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, mostly 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 concluding 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 roll 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 expensive.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.