Wednesday, June 5, 2019

Features of Robot Design

Features of zombie DesignROBOT DESIGNSection 1 needs1.1 IntroductionRobot is a kind of automatic machine, which has particularly a series of homogeneous competences as human-being, such as sensing capability, planning capability, moving capability and so on. The word Robot was referred by Czech writer K atomic trope 18l apek in his play R.U.R (Rossums Universal Robots), which was published in 1920. 1 Moreover, the word automatonics, which describes this kind of field of study, was referred accident on the whole(a)y by the science fiction writer Isaac Asimov. In his science fiction, all the zombies must obey the Three Laws of Robotics (a set of three principles). The laws argon stated as follows1. A robot may not injure a human being or, through inaction, allow a human being to come to harm.2. A robot must obey any orders given to it by human beings, except where such orders would conflict with the First Law.3. A robot must protect its stimulate existence as persistent as su ch protection does not conflict with the First or Second Law.With the developing of science and technology of recent society, robot is moving toward the trend of the development of intelligent. The one we allow for design is called Autonomous Mobile Robot which is a kind of prompt robot. It has varieties of sensing elements and swaylers on itself. In addition, it is a robot that arsehole independently complete both(prenominal) tasks with show up external information excitant and control during operations. The tar feel for autonomous mobile robot is to, in the absence of external intervention and without making any provisions on the feature and changing conditions in carrying out the process, sense around the local circumstance information continuously and make a variety of decision-making independently and finally move purposeful and the complete the tasks. Accordingly, navigation technology is the core of autonomous mobile robot.1.2 LifecyclesThe diagram of lifecycles for this acoustic projection is given below. It shows from the beginning of the project to the end.The system project management is an extremely vital part in either project, though it is continuously ignored in many teams. We need make a point of doing project management before do everything. We could discuss in a root to think out all of the possibilities which may happen in the project. Many torpedoes are better than a single bullet. 7 thitherfore, a group discuss in concert may motivate more and more inspiration rather than severally single thinks it alone. A typical system feature should have simple mould but complex design. It need similarly make a series of requirements after discussing by group, because it domiciliates some different point of views. Possibly, there go away be some quarrels during the discussion, hence, we need to respect to everyone and every point of view. In addition, a straight discipline will be built throughout the project. Every direct should be have in honest and ethically responsibility. Otherwise, they will not be treated as a professional engineer in their field. Nearly half of team, who is failed in the project, is due to a bad project management. However, the majority of teams may give incomplete requirements in the project therefore, the result for them is to a fault fail. To sum up, make a lavishly- lineament project management and system engineering will decrease project failure probability.1.3 Quality PlanThe quality plan displays the required point of intersection qualities and how these are peckerd and defines the most important quality attributes. The product quality is defined in broad(prenominal)-level which empha size of it the capabilities of developers for this project. Therefore, we have to consider if the project objectives are specific, measurable, achievable, realistic and time-limited. The quality plan structure is showed in give in 2.Process DescriptionBuild all of the beat backs, microcontro llers, sensors and other components on the ho apply. Then connect all components to the power turn in. In addition, build the software package code into microcontrollers. Finally, before the formal race, we need to test the robot and improve on the ability such as hotfoot, stable and so on.Quality GoalsTo trend as fast as possible and also ensure the egg will not get out of the car.Table 2. Quality Plan Structure1.4 Requirements specificationThere are a series of requirements going to be given in the paper. It rout out be grouped in terms of Mandatory, Preference and Operational. Three specific tables of these requirements are given as followsMandatory Requirements takeTo make the wheels rotate. Designer need both get corresponding with two rear wheels.SensorTo provide the robot drive on the right route. It uses A/D conversion to send the channelise into single cut out.DC ConverterTo step-down the voltages from the power supply. The work voltage for singlechip is around 5V, but the power supply given is much higher than it. Hence, designer necessarily to reduce the voltage.WheelsTo make the robot running. Designer need two rear wheels which measure the speed of rotating and one base wheel which makes the robot balance. ItMicrocontrollerTo integrate all inputs, productions and memory etc. into one chip.HousingTo put all components on. It is a base for the robot car.Power SupplyTo provide voltage so that whole shebang successfully.WiresTo connect all components from one hole to another.SpoonTo carry an egg whilst undertaking its journey.Black lineTo give the robot a pass across to race. The baleful line is 5 meter long. It cigaret be knowing any shape of routes.Preference RequirementsAesthetic AppearanceTo prettify the robot from inside to outside. It will be done after dealing with all Hardware and Software components, including adding several Led lights or a sound box. Also, orderly wires connected on the breadboard will be considerate. All of the opinion above would make consumer happy.BatteryTo give a wireless robot car. Using a litter of stamp battery instead of wired power supply can make a real robot. However, it will increase the weight of robot itself.Operational RequirementPersonnelTo distribute each part of project to each of six team member specially. In the project, there are different tasks such as programming design, hardware design, mechanical construction etc. After discussion by group, we can filter out the best parts of each section. Therefore, the project can be distributed to each team member who did the best in his field. In addition, there should be a team leader, for supervising and coordinating every part in this project.Test EquipmentTo test the robot after designing and assembling work. Designer can use different types of raceways to test the ability of the robot such as the maximum speed, minimum and maximum radius of operateing circle etc.FacilitiesTo fix the robot with exact tools. Designer needs some basic tools to assemble the components on the housing.Technical DataTo give some specific expatiate. Designer may search online to get some technical data, which can prove our design point.Computer SoftwareTo design the programming code. Using Microchip MPLAB(if designer use PIC microchip) or other similar software to build the programming code.CostTo control the budget. As we know, designer should give a budget before working. In this project, the budget is 40 pounds, while we can exceed the budget by paying own. However, it is not a good solution. Therefore, the budget should be controlled strictly.Section 2 Design2.1 Design OutlineWe catchment area the design outline into two parts. single is Hardware, and the other is Software. both of them are extremely vital in this project. We will use EE2A laboratory component to run away us design the project throughout. 8 All of the specific details for each component will be given in each part. A table for design outline i s as followsHARDWIREMotorHousingSensorMicrocontrollerPower SupplySOFTWAREMPLAB IDE2.1.1 Hardware2.1.1.1 servosystem overcomeThe key of Servo Control is motor. In this paper we will give two kinds of motorsServo motor and Stepper motor.Servo MotorIt is one kind of indirect subsidy motor speed changing device which can control the mechanical components of the engine running. It can control the speed, displacement accuracy. In addition, it makes voltage signal into torque and rotary motional speed to drive the controller. The servo motor is divided into DC servo motor and AC servo motor.Servo motor mainly relies on passion to locate. Also, when servo motor receives a pulse, then it will rotate an angle which is corresponding to one pulse. Thus, it may achieve a displacement. Because of the servo motor has move a pulse function itself, hence, each servo motor will sent the corresponding numbers of pulse when it rotates an angle. Moreover, it is connected to the pulse which is receiv ed by the servo motor, or called Closed-loop. Furthermore, the system will know how many pulses have been sent and how many pulses have been received simultaneously. Accordingly, we can control the motor rotation accurately, in order to achieve precise positioning which can reach 0.001mm.In DC servo motor, it is divided into brush and brushless motors. The characteristics of brush motor and brushless motor are as followsBrush Low cost, simple structure, large starting torque, speed range is wide, easy control. Do need to maintain (but easy maintenance).Brushless dinky size, light weight, fast response, high speed, small inertia, smooth rotation, stable torque. Complicated control, easy to implement intelligence. High efficiency, low operating temperature, small electromagnetic radiation. Motor maintenance-free.Stepper MotorStepper motor is an open-loop control element which translates voltaical impulse signals into angular displacement or linear displacement. Under the non-overloa d condition, motor speed and stop location only depend on pulse frequency and pulse number, regardless of the load change. That is, to send an galvanizing pulse signal, then turn one motor step angle. The existence of this kind of linear relationship, coupled with only a periodic error of stepping motor motors without the accumulated error, makes simple to control the stepper motor in terms of speed, position and other control areas. The characteristics of stepper motor are given as follows Stepper motors are incessant power devicesWhen there is a motor speed increasing, then the torque decreasesThe torque ignore may be extended by using trustworthy limiting drivers and expanding the driving voltage.Stepper motor has more vibration than any other motors.The vibration becomes awful at some speeds and may walk out the motor to lose torque.The effect can be reduced by increasing velocity quickly through the trouble speeds range, actually damping the system, or using a half-stepp ing motor.Motors with many phases also display smoother operation than those with fewer phases.The technical requirements of the servo control system1. System AccuracyThe accuracy refers to the reappearance of the input signal corresponding with the output of the precision required, which performs in the form of errors. It can be summarized as dynamic error, steady-state errors and static errors, which are composed of three aspects.2. perceptual constancyThe stability of the system means that when acting on the system after the disappearance of the interference, the system can be restored to its original steady-state capacity or when there is a new input to the system command, the system will reach a new stable operation of state capacity.3. ResponseThe response refers to the output follow the input commands changing in reaction speed, which determines the efficiency of the system. The Response speed corresponds with a number of factors, such as the computers speed, movement system damping and quality etc.4. Operating FrequencyThe operating frequency usually refers to the system which allows the input signal frequency range. When the operating frequency signal is input, the system will work according to the technical requirements, while the other frequency signal is input, the system will not work properly.The classifying of servo control systemThere are three kinds of common classifying as follows1. According to the different characteristics of parameters.2. According to the types of the driving components.3. According to the control theory.The Structure of servo control systemServo control system typically includes in five partscontroller, controlled object, implementation part, testing part and comparison part.1. ControllerController is usually a computer or a PID control circuit. The most important task is to compare the warpage output signal and deal with the transform processing, in order to control the slavish components act under the requirements.2. controlled objectThe object is controlled including displacement, velocity, acceleration, force and torque.3. implementation partThe function of the implementation part is in term of control signals, according to the requirements of the variant forms energy of the input transform into mechanical energy, in order to drive the controlled object.4. testing partTesting part is a device which is able to measure the output and convert into more areas of the dimension that needed to. Typically, it includes sensors and conversion circuits.5. comparison partComparison part is to compare between the input command signals and the feedback signals of system, in order to attain the deviation between the output and input signal, which is usually achieved by a specific circuit or computers.Accordingly, we design this project with using stepper motor. Considering with the difficult in doing the program code, we have to give up using DC servo motor. Moreover, DC servo motor may bring into being so me pulses when it works we have to make each program separately. Furthermore, the payoff for using stepper motor is that we have already programmed the code. Hence, we could use it with some revision considerably.2.1.1.2 HousingIn this project, housing is as to the robot, just like trunk as to human-being. The stability and adaptability is the key of the project. Therefore, we prefer buy a readymade housing or the car online. There are 3 advantages for using this regularity. Firstly, we do not need to deal with the mechanical construction anymore. All of the basic components have already been built on the housing model. It can save an amount of time to do other work secondly, the housing model is reliable, for the seller has sold so many models already, particularly to the competitors for the race thirdly, the cost is lower than we do it ourselves. It can control the budget very well. To sum up, we choose this way to get the housing. In addition, the specific size of each compon ent should be given on the prospectus.Therefore, after choosing kinds of different type of housing, we pick up an advanced housing with wheels.The size of wheels could affect the speed and the angle when it is driving. Under the same condition, using big wheels can go fast in the straight line. However, when there is a curve at the end of straight line, it is harder to turn the right direction immediately than small size wheels, because of its big radius of turning circle.The material of wheels could also affect the speed and angle when it is driving. Using plastic rear wheel may provide a high speed because of less friction. However, without more friction, it may get trouble at turning point with high angular velocity. In our case, to make sure the robot go through the black line hybridize is the most important task. Therefore, rubber wheels should be in favour.Hence, to make wheels rotate flexible, we choose a stainless steel base wheel with 3mm inter radius, 10mm outermost radi us, 4mm thickness. Moreover, two rear wheels were designed with 20mm radius to make sure it has still some space under the housing to build our sensors on. According, the manufactory constructed the housing for these details we need. Finally, we fix two O-type rubber rings on the wheels.In the front of the housing, we still need to deal with some specific works. Firstly, we need two stepper motors discussed before, the point is, how to fix them on the housing steady. Right, we need two clips to fix them on the housing. Then use one screw and one nut for each side to fix the motor steady. Secondly, to make the housing tidy, we need to add a steel plate. It can not only steady the housing, but also provide another new flat to fix chips on so that do the connection work later easier. Furthermore, we have another finis in this project. It is called egg race. It means we must build a spoon provided to carry an egg throughout the race. Hence, we have to consider how to ensure the egg wil l not be dropped off. Consequently, we design it that put the spoon on the cover of that added steel plate. It is a good place to lay the egg on, for it is not too high. In addition, we could add several wires around the spoon to double ensure it successfully.2.1.1.3 SensorsImage SensorAn visit sensor is a device which converts an oculusal image to an electric signal. It is utilise regularly in digital cameras and other imaging devices. Normally, an image sensor is a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) active-pixel sensor. Most digital still cameras use either a CCD image sensor or a CMOS sensor. Both types of sensor achieve the same task of capturing light and converting it into electrical signals. 2CMOSA CMOS chip is a type of active pixel sensor which is made by using the CMOS semiconductor method. Extra circuitry adjacent to each image sensor converts the light energy to a voltage. Moreover circuitry on the chip might be included to convert the voltage to digital data. It is a sensor which has high system integration. That is to say, a CMOS chip can integrate all of functions needed by image sensor into a system-on-chip so that to achieve the goal of reducing the cost of the production.CCDA CCD is an analog device. When light hits the chip, it is held like a small electrical charge in each photoelectric sensor. The charges are born-again to voltage one pixel every time when they are read from the chip. Moreover, the circuitry in the camera converts the voltage into digital data too.A CCD has a series of advantages as follows High Resolution Low Noise High Dynamic Range Linearity High Quantum Efficiency Large Field of View capacious Spectral Response Low Image Distortion Small Size, Light Weight Low Consume Power, Without Strong Magnetic Fields Effect High Charge TransmissionPhotoelectric sensorA photoelectric sensor is a device used to detect the displacement, absence, or presence of an object by using an infrared light light transmitter and a photoelectric receiver. They are used broadly in industrial manufacturing. There are three different working(a) types opposed, retro reflective, and proximity-sensing.A self-contained photoelectric sensor contains the optics, along with the electronics. It requires only a power source. The sensor performs its own modulation, demodulation, amplification, and output switching. Some self-contained sensors provide such options as built-in control timers or counters. Because of hi-tech progress, self-contained photoelectric sensors have become more and more small. In addition, fibre optic is passive mechanical sensing components. They may be used with self-contained sensors. They have no electrical circuitry and no moving parts, and can safely tube light into and out of antagonistic environments.3After discussing both image sensor and photoelectric sensor, we decide to use photoelectric sensor during the project. From the comparison of advantages and disadvantages, we can easily find that image sensor (usually use CCD method) is a complicated and advanced technology. It is based on photoelectric infrared transmitter and receiver, but use one-dimensional signal to digital signal. It could be used in some complex task such as 3-D race track. In our project, we only dispute to do up to 5 meters race track. Hence, it is not so much useful to get such an exact detection. Moreover, one of the advantages of photoelectric sensor is high response. It is faster than using image sensor to detect the unknown track.Accordingly, we prefer use photoelectric infrared sensor during the project. As we know, the point of photoelectric infrared sensor is infrared. We have to confirm two beside sensors do not disturb each other work. Hence, to get an appropriate distance between two sensors is the problem in this part.From reading several example projects before, we find a majority of them prefer put all the sensors into one straight line wher e elicits our attention. It does not result to put them in front or back of the robot. It is similar to the X-axis. We can define each sensor a coordinate. We prefer use seven infrared sensors (1cm space between two sensors), so we can define all of these sensors into -3, -2, -1, 0, 1, 2, 3, which are the y-coordinate. Connect a LED light to the receiver of each sensor. Thus, we can know which sensor is working and which one is not. The specific diagram of sensors are showed in 1. For example, the robot starts at the centre of black line, so the LEDs should send us a data with 0, 0, 1, 1, 1, 0, 0 (when sensor detects black line, the LED will light. Because the different reflectivity of black and white line). Then it will go along the track until meet a turning point. The receiver might be received a data with 0, 1, 1, 1, 0, 0, 0, 0. Thus, from the definition of setting before, we can identify the robot has leave from the centre of the black line to left. Therefore, the robot shoul d turn left.There will be some possible troubles during debugging the robot car. The sensors are not reliable after using for a long time. Therefore, the fixed LEDs will solve this problem definitely. When they work, the LEDs should be lighted.2.1.1.4 MicrocontrollerA Microcontroller is a small computer based on a single IC (integrated circuit) which is consisting of a relative simple central processor unit combined with specific functions such as a crystal oscillator, timers, and guard dog timer etc. 4From the comparison with kinds of microcontroller, we choose MC33886 chip which is a member of the low-cost, high-performance HCS08 Family of 8-bit microcontroller units (MCUs). It is a monolithic H-Bridge ideal for fractional horsepower DC-motor and bi-directional thrust solenoid control. The 33886 chip is able to control continuous inductive DC load currents up to 5.0 A. Output loads can be pulse width modulated (PWM-ed)at frequencies up to 10 kilocycle.5 The 33886 chip is parametr ically detailed over a temperature range of -40C TA 125C, 5.0 V V+ 28 V. The IC can also be operated up to 40 V with derating of the specifications. The IC is available in a surface mount power package with uncovered pad for warming sinking. The features of MC33886 chip is showed below 6Features Similar to the MC33186DH1 with Enhanced Features 5.0 V to 40 V Continuous Operation 120 m RDS(ON) H-Bridge MOSFETs TTL /CMOS Compatible Inputs PWM Frequencies up to 10 kHz Active Current Limiting via Internal Constant OFF-Time PWM (withTemperature-Dependent Threshold Reduction) Output Short Circuit Protection Under voltage Shutdown Fault circumstance Reporting Pb-Free Packaging Designated by Suffix Code VWIn addition, the simplified coating diagram and internal block diagram for MC33886 chip is given as followsThe 33886 chip has 20 pins. The diagram and specific Pin Layout function description will be given in 4 and table 1 as followPin LayoutPin Layout relateFormal NameDescription1A GNDAnalog GroundLow-current analog signal ground.2FSFault stead for H-BridgeOpen drain active Low Fault Status output requiring a pull-up resistor to 5.0 V.3IN1Logic Input Control 1True logic input control of OUT14, 5, 16V+Positive Power SupplyPositive supply connections.6, 7OUT1H-Bridge Output1Output 1 of H-Bridge.8, 20DNCDo Not ConnectEither do not connect or connect these pins to ground in the application. They are test mode pins used in manufacturing only.9, 10, 11, 12PGNDPower GroundDevice high-current power ground.13D2Disable 2Active Low input used to simultaneously tri-state invalid both H-Bridge outputs. When D2 is logic Low, both outputs are tri-stated.14, 15OUT2H-Bridge Output 2Output 2 of H-Bridge.17CCPCharge Pump CapacitorExternal reservoir capacitor connection for internal charge pump capacitor.18D1Disable 1Active High input used to simultaneously tri-state disable both H-Bridge outputs. When D1 is logic High, both outputs are tri-stated.19IN2Logic Input Control 2Tru e logic input control of OUT2Table 1. Pin Layout play DefinitionSome details for using the MC33886 chip should be noticed that how to use several chips together in this project. The method is using a number of MC33886 chips together in parallel. For there is no need to drive backward, hence, we could use half H-bridge and also make two half H-bridge in parallel. The consequence for this method is to enhance the driving ability of the chips. It is a common variation from full H-bridge that uses two transistors on one side of the load. Moreover, use one of the half H-bridge to drive the motor and the other one to provide power for the sensors.2.1.1.5 Power SupplyPower supply is one of the most important components and the fundament for all components working. A regulated DC power supply provides 015 V voltage. There are two different way to build the power supply in this project. One is using two wires to connect 0 and +15V to the DC-DC converter the other one is building a battery o n the robot itself. Both of them have advantages and disadvantages. Therefore, we have to analyze both of them first. Wired Power supplyThe advantages for the wired power supply are reliable, stable, durable and savable. The power supply is a regulated DC power supply. The only thing we need to do is using wires to connect both 0 and +15V to the DC-DC converter. Because the working voltage for whatever microcontroller, sensors and stepping motors is 5 volts, we need a DC-DC converter to convert voltage from 15V to 5V. Moreover, we do not need to consider the duration of the power supply. It will still work normally even if works after several hours. Furthermore, using wired power supply is an excellent method to consider the cost during the project, for the power supply is a preference requirement in this project. Hence, we do not need to cost a lot on it.The disadvantage for the wired power supply is plain wired. We have to let one person hold wires when it is driving. This is a co nsideration from personnel aspect. It is a waste of energy to the team. Wireless Power SupplyThe advantage for the wireless power supply is that we can design a really autonomous robot. We do not need to contribute one person to facial expression after it. However, we may meet a series of problems when using battery. Firstly, it may increase the weight of whole robot. As we know, it is hard to turn left or right when you drive a high weight car. It is similar to an autonomous robot. Secondly, the duration is limited. For we have to test the robot before the race competition, the problem is how long does this pack of battery provide the power. The answer is not too long. Therefore, if we choose to use battery as the power supply, we have to solve how to charge the battery first.To sum up, it is not a good method to use battery in this project. Basically, we consider from the duration and the cost these two aspects. Accordingly, the final scheme we designed is to use wired power supp ly.2.1.2 SoftwareBecause we do not have MC33886 chip yet, we have to use PIC 16F648A chip to simulate this design. It should be kinds of similar to each other, but particularly in using different software.With the purpose of writing program data into a PIC chip, a software computer programmer is required. In the design, a USB controlled PICkit2 may be used. We will give following steps to guild us through the generation of the programme. Moreover, make sure prevent a simple debug programme in order to exercise any hardware, such as a simple flashing LED. There are a series steps to help us how to program the device. We pick them up from the laboratory notes.81. Connect the PICkit2 Microcontroller Programmer to the PC by using the USB cable. Socket the 6-pin chief on the bread board or frankly on to the hardware (for in-circuit programming).2. Start MPLAB IDE from the shortcut icon on the desktop, or the Start menu. In addition, cut back the version number is MPLAB IDE v7.62 or ab ove.3. From the MPLAB IDE menu bar, select Project Project Wizard4. It opens up the Project Wizard. chatter Next to continue.5. Wizard Step One The laboratory project target device is the PIC 16F648A (Which we will give an example in the next section). In the wizard, select the PIC 16F648A from the drop-down box and chew the fat next.6. Wizard Step Two select the use of the CSSC Compiler for PIC12/14/16/18 for the project language tool suite from the Active dig suite drop-down box. We should browse so as to discover the location of the files on the hard disk. Then Click Next and continue.7. Wizard Step Three Name the project and select a directory. Then Click Next.8. Wizard Step Four There is possible that we want to add a file which has been scripted previously. The file tree view box on the left should already be prolonged to the project directory. Select the file which we want to add and brattle the Add button to add it to the project. Since the project directory is the sam e as the file directory, there is no need to check the box to copy it. Then Click Next when done.9. Wizard Summary Click the Finish button. A new page and project are created in the MPLAB IDE. The new page includes information on the selected PIC MCU device, the active programmer and/or debugger, open windows and their location, and other IDE configuration settings. The page is also related with a project, which includes the files which are needed to build an application (source code, include files, linker scripts and so on.) along with associated language (co

No comments:

Post a Comment

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