Professional Documents
Culture Documents
Student Name: Robin Maguire Course: DT022/4 Mechanical Engineering Student number: C05509734 Project Tutor: Graham Gavin Submitted: May 2010
DECLARATION
I herby confirm that all of the following content in this project report is my own unless otherwise indicated. Signed (Candidate) Date 0 k
ACKNOWLEDGEMENTS
I wish to acknowledge and thank my project tutor Dr. Graham Gavin (DIT Bolton St.) for his guidance, encouragement and support throughout the project. I would like to acknowledge ESB Networks who provided me with the opportunity to undertake this project and for the associated funding. A special word of thanks is due to Mr. Tom Looby who provided me with details of the brief for the device and also all his invaluable advice and support at all stages throughout the project. Dr. Robert Simpson (Head of School for Mechanical and Transport Engineering, DIT Bolton St.) also provided practical support and encouragement. I wish to also acknowledge Mr. Cecil Potterton (Linen Hall) whom I consulted with for advice on the welding specifications for the device. Mr. Mark Hederman from Hederman Engineering did an excellent job taking the design brief and manufacturing and customizing the parts for the device. Finally I would like to thank my family and friends for their encouragement and unwavering support throughout the duration of this project.
TABLE OF CONTENTS
ABSTRACT ..................................................................................................................7 1 2 3 INTRODUCTION ...............................................................................................8 PROJECT AIMS AND OBJECTIVES.............................................................9 BACKGROUND RESEARCH ........................................................................10 3.1 3.2 3.3 3.4 3.5 3.6 3.7 4 Cable Pulling ...........................................................................................10 ESB Ducts ...............................................................................................11 Existing Designs .....................................................................................12 Investigation into UDBD Requirements .................................................19 Standards .................................................................................................22 Software ..................................................................................................24 Electronic Components ...........................................................................25
METHODOLOGY............................................................................................31
DEVELOPMENT OF FOUNDATION DESIGN ..........................................33 5.1 5.2 5.3 Analysis of Investigation into UDBD Requirements ..............................33 Foundation Design for Physical Structure ..............................................41 Foundation Design for Electronic Circuit ...............................................42
MECHANICAL DEVELOPMENT ................................................................43 6.1 6.2 6.3 5.4 Investigation into Different Design Possibilities ....................................43 Selection of Design Options & Generation of 3D Solid Models ............51 Assessment and Redesign .......................................................................56 Building the Mechanical Structure for Device........................................64
5.5 7
ELECTRONIC DEVELOPMENT .................................................................68 7.1 7.2 7.3 7.4 7.5 De-Bouncing Rotary Encoder .................................................................68 Reducing Sampling Frequency of Microprocessor .................................73 Writing Program for Microprocessor ......................................................76 Integrating existing circuit with remaining Electronics ..........................77 Assessment of Current design .................................................................80
ASSEMBLY OF DEVICE & TESTING ........................................................82 8.1 8.2 Integration of Electronics into Physical Structure ..................................82 Testing .....................................................................................................85
9 10 11 12 13 14 15
COSTING ..........................................................................................................90 PROJECT TIMELINE.....................................................................................91 CONCLUSION..................................................................................................92 FUTURE WORK ..............................................................................................93 REFERENCES ..................................................................................................94 BIBLIOGRAPHY .............................................................................................97 APPENDICES ...................................................................................................98 I - ELECTRONIC COMPONENT SPECIFICATIONS ....................................99 II - MECHANICAL COMPONENT SPECIFICATIONS ...............................106 II - DRAWINGS ...............................................................................................117 III - PROGRAM CODE ....................................................................................118 IV FASTENER & MISCELLANEOUS SPECIFICATIONS .......................123
LIST OF FIGURES
Figure 1: Cable Pulling Tension Formulae [1] ........................................................................ 10 Figure 2: Cable pulling Example [1]........................................................................................ 10 Figure 3: Standard ESB Duct [1] ............................................................................................. 11 Figure 4: Previous UDBD and associated equipment [1] ........................................................ 12 Figure 5: Working drawing of previous UDBD [1] ................................................................. 12 Figure 6: Side view of Bend Detector for a Pipeline Pig [3] ................................................... 14 Figure 7: Incremented graph paper for Bend Detector for a Pipeline Pig [3] .......................... 14 Figure 8: Side view and side section view of Pipeline Verification Pig [4] ............................ 15 Figure 9: Graphical indication of feeler arm deflection [4] ..................................................... 15 Figure 10: Side view of Bend Detector Pig [5] ........................................................................ 16 Figure 11: Front elevation section view of feeler a [5] ............................................................ 16 Figure 12: Side views of Pipeline Bend Detector Pig [6] ........................................................ 17 Figure 13: Split side section view of Pipeline Bend Detector Pig [6] ..................................... 17 Figure 14: Examples of Envirosight Designs [7] ..................................................................... 18 Figure 15: Examples of Reduct Designs [8] ............................................................................ 18 Figure 16: Clients Requirements: Rating Questionnaire ........................................................ 20 Figure 17: IP - Legend for 1st Digit in Code [9] ..................................................................... 22 Figure 18: IP Legend for 2nd Digit in Code [9].................................................................... 23 Figure 19: Nominal Pipe Size Standard Schedules [10] .......................................................... 23 Figure 20: Mechanical Pot alongside Bend Sensor [11] .......................................................... 25 Figure 21: Rotary Encoder [12] ............................................................................................... 27 Figure 22: Basic Stamp 2 Module [13] .................................................................................... 28 Figure 23: Thermal Accelerometer [16] .................................................................................. 29 Figure 24: Data Logger [17] .................................................................................................... 30 Figure 25: Objectives Tree....................................................................................................... 36 Figure 26: FAM Diagram ........................................................................................................ 38 Figure 27: Quality Function Deployment Matrix .................................................................... 40 Figure 28: Design concept for UDBD [1] ................................................................................ 41 Figure 29: Foundation Design for Electronic Circuit .............................................................. 42 Figure 30: Front Section Design Sketch .................................................................................. 44 Figure 31: Middle Section Design Sketch ............................................................................... 45 Figure 32: Rear Section Design Sketch ................................................................................... 46 Figure 33: Wheels and Suspension System Sketch 1............................................................... 46 Figure 34: Wheels and Suspension System Sketch 2............................................................... 47 Figure 35: Wheels and Suspension System Sketch 3............................................................... 48 Figure 36: Universal Joint [18] ................................................................................................ 48 Figure 37: Waterproof Bearing [19] ........................................................................................ 49 Figure 38: Lifting Eye Bolt [20] .............................................................................................. 49 Figure 39: Compression Spring [21] ........................................................................................ 49 Figure 40: Castor Wheel [22]................................................................................................... 50 Figure 41: Flexible Conduit + Adapter [23] ............................................................................ 50 Figure 42: 3D Solid Models for Front Section ........................................................................ 51 Figure 43: 3D Solid Models for Middle Section...................................................................... 52 Figure 44: 3D Solid Models for Rear Section.......................................................................... 53 Figure 45: 3D Solid Models for Wheels Support in Rear Section ........................................... 53
Figure 46: 3D Solid Models for Wheel and Suspension System ............................................. 54 Figure 47: View of Assembled 3D Solid Models .................................................................... 55 Figure 48: Redesigned Front End Cap ..................................................................................... 58 Figure 49: Redesigned Assembly of (F & R) Cylinders, Weld Caps and (F & R) Tubes ....... 58 Figure 50: Redesigned Assembly of Weld Caps and (F & R) Tubes ...................................... 60 Figure 51: Redesigned Rear Tube and Inclusion of Bend Sensor Support .............................. 60 Figure 52: Redesign of Odometer Wheel Support System ...................................................... 61 Figure 53: Photos of some of the Wheels support system parts .............................................. 62 Figure 54: Redesign of Wheel and Shaft ................................................................................. 62 Figure 55: Redesigned Rear End Cap ...................................................................................... 63 Figure 56: Assembly and Exploded Views and Parts List ....................................................... 64 Figure 57: Photo of Assembled Mechanical Structure ............................................................ 65 Figure 58: Front Section of Assembled Mechanical Structure ................................................ 65 Figure 59: Rear Section of Assembled Mechanical Structure ................................................. 65 Figure 60: Testing of Mechanical Structure without Conduit ................................................. 66 Figure 61: Testing of Mechanical Structure with Conduit....................................................... 67 Figure 62: Switch configuration without debouncing circuit [24] ........................................... 68 Figure 63: Behavior of a switch without a denouncing circuit [24] ........................................ 69 Figure 64: Switch configuration with debouncing circuit [24] ................................................ 70 Figure 65: Behavior of a switch with a debouncing circuit [24] .............................................. 70 Figure 66: Switch configuration with debounce circuit and Schmitt Trigger [24] .................. 71 Figure 67: Switch configuration with debounce circuit and Schmitt Trigger .......................... 71 Figure 68: Built debounce circuit, testing and results .............................................................. 72 Figure 69: Example of very high levels of bounce in a switch ................................................ 72 Figure 70: 4-Bit Dec. Counters interaction with circuit........................................................... 73 Figure 71: Circuit Diagram of debounced Encoder and Dec. Counter .................................... 74 Figure 72: Latest circuit constructed on breadboard ................................................................ 74 Figure 73: Construction of debounced circuit including Dec. Counter ................................... 75 Figure 74: Testing the debounced circuit including the Dec. Counter..................................... 75 Figure 75: Wiring plan of proposed design for circuit containing remaining electronics ....... 77 Figure 76: Downloading Program code and Testing Circuit ................................................... 78 Figure 77: Observing Microprocessor in test on Debug Terminal........................................... 79 Figure 78: Redesigned layout for electronic circuit ................................................................. 80 Figure 79: Strip-board prepared for soldering ......................................................................... 81 Figure 80: Completed Redesigned Electronic Circuit ............................................................. 81 Figure 81: Integration of Rotary Encoder into UDBD............................................................. 82 Figure 82: Integration of Bend Sensors into UDBD ................................................................ 83 Figure 83: Integration of the Electronic Circuit based on Strip-board into UDBD ................. 83 Figure 84: Completed UDBD (with conduit removed)............................................................ 84 Figure 85: Opened Data-File ................................................................................................... 85 Figure 86: Data-file converted to Excel ................................................................................... 86 Figure 87: Information Processing File before input of data ................................................... 87 Figure 88: Cell C2 and function............................................................................................... 87 Figure 89: Cell D2 and function .............................................................................................. 88 Figure 90: Information Processing File after input of data ...................................................... 88 Figure 91: Information Processing File after Graph has been plotted ..................................... 89 Figure 92: Project Time Line ................................................................................................... 91
ABSTRACT
Author: Robin Maguire Title: Design of an Underground Duct Bend Detector (UDBD) The aim of this project was to develop the current design concept for UDBD, both electronically and mechanically, which can then be manufactured, tested and handed over to the ESB. This was achieved through the completion of five main objectives, listed below. 1. Research into any topics/subjects and designs relevant to this project 2. Develop a foundation design based on research carried out 3. Design, Build & Test the Mechanical Device 4. Design, Build & Test the Electronic Circuit 5. Test the completed Device The methodology used for the project was based on the sub-objectives required to complete the five main objectives listed above. The device was designed, manufactured and tested. Microsoft Excel was used to process the data which was collected by the device during testing. An Excel file was designed to process this information so that it could display the results graphically. The testing proved that the device could detect the quantity, location and severity of bends in underground ducting and display this data in a quick and clear way after use. The UDBD was a success and this was evident from the results of the testing carried out.
INTRODUCTION
The Electricity Supply Board (ESB) lays underground ducts for their high voltage cables. They commonly encounter other underground services in their path when laying the ducts and these must be avoided. To avoid these they incorporate bends into the ductings path. The quantity, location and severity of these bends directly effects the tension required to pull the cable through the ducting, i.e. the more bends closer to the pulled end of the duct and the greater their severity, the greater the pulling tension required. Therefore, being able to establish this information before choosing the location/s along the duct or the end at which to pull the cable through is of great importance to the ESB. Currently this information is unattainable and the cable tension is not calculated properly. This makes pulling the cables a very risky operation since the cables and/or ducting can be damaged and can cost the ESB significantly, with regards to safety, time and money. A solution to this problem was started last year by a Dublin Institute of Technology (DIT), Bolton St. student, who came up with the design concept that allowed the user to determine the number of bends, their severity and their locations along a length of ducting. However this development only went as far as producing a very basic prototype, restricted to Laboratory use, to prove the design concept would work, which it did. This project will take up where the previous students project left off. The design concept has already been proven successful so it can now be developed further into an end product for ESB Networks to use. This will involve designing a mechanical device for use in the demanding working environment of an outdoor site. It will also involve the design of an electronic system housed inside the device, to detect record and store information relating to the quantity, location and severity of bends in underground ducting.
2
Aim
To develop the current design concept for UDBD, both electronically and mechanically, which can then be manufactured, tested and handed over to the ESB
Objectives
1. Research into any topics/subjects and designs relevant to this project 2. Develop a foundation design based on research carried out 3. Design, build & test the Mechanical Device 4. Design, build & test the Electronic Circuit 5. Test the completed Device
3
3.1
BACKGROUND RESEARCH
Cable Pulling
This is the method used to get the high voltage cables into the ducts. There are important mathematical formulae associated with this method. These formulae allow the user to calculate the pulling tension required to pull the cable through the duct. It can be seen from the formulae below (Figure 1) that the presence of a bend greatly increases the tension on the cable in comparison to a straight section. This is because the previous force (force from the last section calculated) is added for a straight section but multiplied for a curved section to get the required force. [1]
An important rule is taken from these formulae, which addresses the end of the duct from which the cable should be pulled, i.e. the pulling direction. This rule states that the cable drum (drum from which the cable is fed) should always be placed at the end of the duct that has the most bends, i.e. the majority of bends in the duct are closest to the cable drum. This means that the cable pulling machine (used to pull the cable through the duct) is placed at the end furthest from the majority of the bends in the duct. This rule allows the cable to be pulled through the duct with the least tension possible. This rule is illustrated in Figure 2. [1]
10
3.2
ESB Ducts
Ducts are used by the ESB to protect their high voltage cables whilst underground (shown in Figure 3 below). The particular type of duct that the ESB use to house their high voltage cables is of great importance because it will influence the materials selected during the design process later in the project. These particular ducts are made of high density polyethylene (HDPE) [1]. A few characteristics of HDPE are shown below [2]. HDPE Characteristics MIGHT BE BETTER GETTING MORE RELEVANT ONES
Maximum Temperature: 120C Minimum Temperature: -100C Melting point: 130C Tensile Strength: 31.4 MN
The dimensions of the ducts are also very important as they will dictate the dimensions of the device which will have to be able to fit inside the duct. The ducting has an outer diameter of 125mm and an internal diameter of 117mm leaving a wall thickness of 4mm. The ducts are certified to absorb impacts and deflection forces in order to protect the cables within. There are five different shape variances in the ducting, a straight duct section and four different bend sections. All of these bends have a 1.2 meter radius; however their angle and length vary. The axial length of the bend determines its angle. The measurements for the different bend sections are shown below. [1] Bend Specifications
Angle (degrees) 90 45 22 11.5 Radius (m) 1.2 1.2 1.2 1.2 Approx. Length (m) 1.8 0.9 0.5 0.2
11
3.3
Existing Designs
12
This students project is the basis for this final year project. A brief analysis of the previous students project was important to ensure as much background information as possible was gathered. The analysis was broken down into positives and negatives and follows on below. Positives 1 - The design concept for this underground duct bend detector is excellent because it solved the problem that the ESB have. It is capable of gathering all of the duct information that they require. 2 - Evidence that the design concept works was established by the student through successfully testing of the prototype from the project, thus proving the claims made about the underground duct bend detector. 3 - The information that the previous project contains is obviously of direct relevance to this project, so it has provided a kick start to the research for this project. Negatives: 1 - The prototype that the student produced required a wire connection to a computer running a software program called LabView, which was used to store and view the information that that the underground bend detector collected. This obviously restricted the use of the students design to lab testing, as it would not be suitable or practical for the ESB to use on site. 2- The prototype was only designed for the conditions found in a lab environment. It was not designed for dust/dirt, rain or any kind of rough treatment during use, like the general wear and tear that other equipment used on site by the ESB would have to contend with. 3 - The student appeared to focus on the proof of the design concept, as opposed to creating an in depth design, taking into account cost, durability, reliability, safety and other important factors.
13
3.3.2 Patents
To ensure the finished design is as effective as possible, a further investigation into existing designs was undertaken. This allows the designer to gain a greater depth into what advances have already been made and an opportunity to scrutinize other designs with regard to their improvement. Four Patents were found relating to this project ranging from 1986 to 1993. They are briefly explained below. Patent 1: BEND DETECTOR FOR A PIPELINE PIG (1986)
This design, shown in figure 6 below, consists of a front pig element and a rear pig element connected with a universal joint. It uses a stylus linked into one side of a universal joint, which displaces when the device encounters a bend. The stylus is connected to two odometer wheels which cause the stylus to displace linearly with distance. The stylus records the severity and location of the bends on a short but highly incremented piece of graph paper, shown in figure 7 below, situated inside the device. This can then be removed and read afterwards. The device is transported along the pipeline under the drive of a fluid flow through the pipe, hence the cup shapes incorporated into the design (help propel the device under the drive of the fluid flow). [3]
Figure 7: Incremented graph paper for Bend Detector for a Pipeline Pig [3]
14
Patent 2:
This design consists of a longitudinal housing having adjacent at each end a centralizing packer or seal which will allow pipeline fluid to propel the device. The device uses a number of outwardly extending feeler arms which ride against the pipes interior wall. These feeler arms detect bends, miters or other deviations from straight and transfer this information mechanically to a mechanical recording system (stylus and graph). The location of any deviations is detected by accompanying twin odometer wheels which are also mechanically connected to the recording system. A side view and side section view from the patent are shown in figure 8, followed by a graphic indication of the feeler arm deflection in figure 9 below. [4]
Figure 8: Side view and side section view of Pipeline Verification Pig [4]
15
Patent 3:
This design, shown in figure 9 below, is very similar to the first design patent discussed in this section. However it uses a shorter rear section and the mechanical system used to detect and record the deviations in the pipe varies. This design uses feeler arms, illustrated in figure 11 below; much like the previous design discussed but houses them differently. It uses permanent magnets thereon, which activate a read switch for the odometers situated on either side of the housing. This is similar to the mechanism used to detect and record bends in this projects design, only a rotary encoder is used instead. It is also propelled by a fluid flow through a pipe and also utilizes cup shaped front end and middle sections to aid this propulsion. [5]
16
Patent 4:
This final design, shown in figure 12 below, is the only one to utilize electronic components in its design. The design incorporates potentiometers much the same as this project intends to incorporate them. The mechanism also uses solid state memory for recording purposes in a similar manner to this project, however on a much more basic level when compared with this project. This design incorporates a battery as a power source which is what this project will most likely use as its power source. This device is mainly made of urethane. It uses an azimuth signal generator to indicate the orientation of the device in relation to vertical. A split side section view of the patent design is shown below in figure 13. [6]
Figure 13: Split side section view of Pipeline Bend Detector Pig [6]
17
Reduct is a company that produces pipeline mapping solutions which also include electromechanical devices which are very similar to the device for this project. The ESB looked into using this company to solve their duct & cable pulling problem and found it unfeasible. Hence the device in this project will be a simpler and cheaper solution for the same problem. For this reason, this companys designs are very influential. However, they use a significant amount of customised components in their designs and the device in this project will be required to have as much standardisation as possible with regard to the parts used. The time and money is not available for the design in this project as it would be for designs produced by Reduct. The most influential designs from Reduct are shown below.
18
3.4
The only information relating to the needs or requirements of the client (ESB Networks) for this project was some second hand information from Graham Gavin (Project Tutor) and whatever could be taken from the previous students final project report. This was not enough information to ensure the success of the project. A meeting with a cable and duct expert in ESB Networks was organized to obtain more information. A questionnaire was prepared before the interview took place. It contains various questions regarding the attributes and characteristics that the ESB Networks wanted the device to satisfy. The questionnaire is shown below in (figure 16) and the ratings themselves are shown in red. Clients Requirements: Rating Questionnaire
The information received through the completion of this from will help the designer create a device which can satisfy as many of the clients design requirements as possible. The task is explained below: 1. Rate each of the following attributes and characteristics with a number between 0 and 9 (9 being the most important, 1 the least important and 0 being totally unimportant and unnecessary). If any attributes or characteristics absolutely must be satisfied in the design, mark them with an * and do not rate them between 0 and 9.
Easy to attach (to cord for pulling through duct on either side of device) Out of 10 [6]
19
Easy to detach (from cord on either side of device) Out of 10 [6] Easy to handle (ergonomics etc.) Out of 10 [3] Easy access to info. stored in Device Out of 10 [*] Safe (USB key)
(device will not have any risk of injury to user) Out of 10 [*]
Easily stored when not in use Out of 10 [7] Easy to reproduce Out of 10 Low cost to produce Out of 10 [*] [*]
The project itself was discussed in detail and specific design constraints not mentioned in the questionnaire were noted. Some very influential constraints were discovered through a general discussion around the use of the device, some of which contradicted work carried out by the previous student. It was discovered that the device was not intended to be pulled through the ducting on its own. The process of pulling items through the ducting prior to pulling through the cables was already in use. The ESB intended to pull the UDBD through the ducting connected in series to a number of other items. These items are a sponge, for cleaning out most of the pipe of grit & water etc., a mandrel, which acts as a go or no-go gauge i.e. a fixed diameter (of 105mm) which will not pass through the duct if its path is blocked for any reason, and a songe, which is a device that allows the series of items pulled through the device to be tracked above ground so that if any of the items become stuck they can be located, dug up from the ground and retrieved. Also these items are attached to a winch that pulls them through the ducting on one side and a winch that feeds them rope on the other side, to allow the group to be pulled back the way they entered if they encounter a blockage and the mandrel does not become lodged in the ducting to strongly. These items are pulled through the ducting at a speed of 3.33m/s (or 12 km/hr). The ESB intended to connect the UDBD to the tail end of these items and pull it through the ducting under the same conditions as the
20
other items. They intend to do this because they do not want the introduction of the UDBD to increase the time or complexity of the existing process. It was also discovered that there may still be water reaming in the pipe which the sponge may not have removed and so the UDBD could encounter water as deep as 2 to 3 feet deep.
21
3.5
Standards
LEVEL 0 1 2 3 4 5 6
Effective against No protection against contact and ingress of objects Any large surface of the body, such as the back of a hand, but no protection against deliberate contact with a body part Fingers or similar objects Tools, thick wires, etc. Most wires, screws, etc. Ingress of dust is not entirely prevented, but it must not enter in sufficient quantity to interfere with the satisfactory operation of the equipment, complete protection against contact No ingress of dust, complete protection against contact
The second digit indicates the level of protection for the equipment inside the enclosure against the ingress of water. The legend for the second digit in the code is shown in Figure 18 on the following page.
22
LEVEL 0 1 2 3 4 5 6 7
Protected against Not protected Dripping water Dripping water when tilted up to 15 Spraying water Splashing water Water jets Powerful water jets Immersion up to 1m -
Details Dripping water (vertically falling drops) shall have no harmful effect Vertically dripping water shall have no harmful effect when the enclosure is tilted at an angle up to 15 from its normal position Water falling as spray at an angle up to 60 from the vertical shall have no harmful effect Water splashing against the enclosure from any direction shall have no harmful effects Water projected by a nozzle against the enclosure from any direction shall have no harmful effects Water projected in powerful jets against the enclosure from any direction shall have no harmful effects Ingress of water in harmful quantity shall not be possible when enclosure is immersed in water under defined conditions of pressure and time (up to 1 m of submersion)
Immersion beyond 1m
The equipment is suitable for continuous immersion in water conditions which shall be specified by the manufacturer. NOTE: Normally, this will mean that the equipment is hermetically sealed. However, with certain types of equipment, it can mean that water can enter but only in such a manner that produces no harmful effects
23
3.6
Software
24
3.7
Electronic Components
This section of the project takes a brief look into the components which could be used in the Device. Some of the components explained in this section were used in the previous devices design; hence some of the components make up the actual design concept like the bend sensors in the detection of bends and their severity. The various components are briefly explained below.
The use of bend sensors is a major improvement on previous patent designs. Unlike regular pots, bend sensors are self-contained and require no mechanical components. This makes them more reliable as there are no mechanical moving parts. It also
25
eliminates the noise normally associated with regular rotary and linear pots caused by mechanical swiping and rubbing, therefore allowing for better accuracy. Since the bend sensor is not prone to degradation through mechanical contact it also has a longer usage life than regular pots. This then leads to less maintenance and is cheaper than sensors with shorter life spans because it does not have to be replaced as regularly. The end design for this project has to be waterproof as the working conditions dictate, and the bend sensors are easily made watertight. The size of the bend sensor is also very suitable for this project, as it is smaller and significantly thinner than regular pots and so helps keep the design as small as possible, so as it can stay within the dimensional constrains dictated by the size of ESB ducts. [11] Specifications: Cost Life cycle Operating Temp. Base Resistance Voltage approx. 5.50 2,000,000 -40C to +90C 100 to 500 5V to 12V DC
26
The rotary encoder will allow the device to be low maintenance because of its long life cycle. It is also a cheap component and this will keep the device cost effective. Its small size is also of great benefit to the device because of the dimensional constraints referred to previously. [12] Specifications: Cost Life cycle Operating Temp. Contact resistance Number of positions Voltage approx. 8 1,000,000 (minimum) -40C to +85C 100 9 pulse/18dent 5V to 12V DC
3.7.3 Microprocessor
A microprocessor will be used to allow the device to become fully autonomous. This will ensure that the UDBD can operate without a wire connection to a laptop during the bend detection process. This means that it can be put inside the duct and pulled through without any more interaction with the device, until it comes out the other end of the duct. Then an onboard memory storage device (such as a Universal Serial Bus or USB key) can be removed from it and used to view the information recorded on its memory on a computer screen through the use of Microsoft Excel. The BS2 (BASIC Stamp 2) microprocessor made by parallax electronics has been chosen to serve as the brain for this device. It is able to control and monitor sensors, switches, relays and other electronic components. Therefore it is more than capable of handling all the inputs (from the sensors) and outputs (to a data logger) that this
27
device requires. It is widely used in educational, hobby, and industrial applications and is suitable for first-time BASIC Stamp users because of the large quantity of resources (documentation, source code, and customer projects) available online and in print on the parallax website. The programming for the BASIC Stamp is performed in an easy-to-learn language called PBASIC, which is designed for hobbyists and technical users alike. This makes it one of the easiest and fastest to program microprocessors available. All the vital components like processor, clock source, memory, power regulator are provided on the BS2's tiny PCB (Printed Circuit Board). Another benefit of the BS2 is that it can be bought with a carrier/development board with permanent soldering area for circuitry and also a 9V battery clip built in. An image of the Basic Stamp 2 Module is shown in figure 22 below. [13]
Specifications: Cost Processor Speed Program Execution Speed RAM Size Number of I/O Pins Current Draw @ 5 VDC PBASIC Commands Operating Temperature Power Requirements approx. 33 20 MHz 4,000 PBASIC instructions/sec 32 Bytes (6 I/0, 26 Variable) 16 + 2 dedicated serial 3mA Run, 50 A Sleep 42 -40C to +85C 5.5V to 15V DC (Vin), or 5V DC (Vdd) 28
3.7.4 Accelerometers
This is a component which was looked into as a possible component for the new design. An accelerometer measures the acceleration it experiences relative to freefall. It is able to detect magnitude and direction of the acceleration as a vector quantity, and can be used to sense orientation, vibration and shock. Accelerometers are increasingly being incorporated into personal electronic devices. Some smart-phones, Digital audio players and personal digital assistants contain accelerometers for user interface control. [14] Thermal accelerometers, like the one shown in figure 23, are low cost, dual axis, linear motion sensors with integrated mixed signal conditioning. A linear accelerometer can be used to measure varying and constant accelerations. It could be used in the device to measure the acceleration of the device through the duct and also to pick up any sudden changes in this acceleration due to blockages or abnormalities in the duct. It could also be used as a standalone bend detector sensor as it can measure the distance traveled through the duct and also detect changes in direction i.e. detect bends. However it would increase the complexity of the device, the programming of the BS2 and the software necessary to interpret the information gathered during use. It is an option which may just be used to detect whether the device is moving up or down, as opposed to just left or right. This could be important because gravity would have a greater effect on the cable tension calculations if the device was moving up or down (in the y-plane). Its use in the project will be decided during the design development stage. A thermal accelerometer which could be used in this project is shown in figure 23 below. [15]
29
Specifications: Cost Range Power requirements Operating temp range 20.50 3 g on each axis +3.3V to +5V DC 0C to +70C
3.7.5 Data-Logger
The memory-stick Data-logger, as seen in figure 24 below, is a USB host bridge which allows information to be transferred through to a USB mass storage device such as a USB flash drive. This allows the information that the basic stamp records when the UDBD is in use, to be transferred to a USB key which can then be used to transfer the files to a PC using simple serial commands. The Data logger is the ideal device for remote logging of data which is exactly what is needed for this project. [17]
Specifications: Cost Communication Power requirements Operating temp range 24 Serial / SPI interface to microcontroller 5V supply with 3.3V / 5V Safe I/O 0C to +70C
30
METHODOLOGY
The purpose of this section of the report is to explain how the aims and objectives of this project were met. This includes the methods, procedures, and techniques used to collect and analyze the information relevant to this project. Once again the aim of this project is, To develop the current design concept for UDBD, both electronically and mechanically, which can then be manufactured, tested and handed over to ESB Networks. This aim will be achieved through the completion of the following objectives.
Objectives
1. Research into any topics/subjects & designs relevant to this project 2. Develop a foundation design based on research carried out 3. Design, Build & Test the Mechanical Device 4. Design, Build & Test the Electronic Circuit 5. Test the completed Device These objectives are broken down into sub-objectives which must be completed in order to achieve the main objective. 1. Research into any topics/subjects relevant to this project (a) Carry out general research for the project using the internet, books and journals & find out about any existing designs (b) Arrange an interview with an ESB Networks Cable & Duct Expert & find out about any important design constraints & requirements (c) Analyze the previous design based on the information gathered at the meeting with the ESB Networks cable & duct expert (d) Find out about any specific standards relevant to the project (e) Find out about any specific software relevant to the project 2. Develop a foundation design based on research carried out (a) Critically analyze the previous students design in light of new information (b) Clarify the objectives & functions for the new design & compare the new designs characteristics & engineering requirements based on new information (c) Decide upon the general shape & structure of the new device 31
(d) Construct a flow diagram depicting the electronic components selected for the device & how they interact 3. Design, Build & Test the Mechanical Device (a) Investigation into different design possibilities & pre-made parts (b) Generate 3D Solid Model parts & working drawings so design can be built (c) Assess Solid Model Parts & redesign where necessary (d) Build Physical Structure for Device (e) Assemble & Test Physical Structure in duct to assess functional performance 4 Design, Build & Test the Electronic Circuit (a) Learn to use the Microprocessor for the development of the Electronic Circuit (b) Develop the design using sketches & any necessary prototyping equipment (c) Built & test individual Circuits in relation to the main functions of the Device (d) Built & test the final circuit now including all the electronics & assess its performance before integration into the Physical Structure of the Device 6. Test the completed Device (a) Integrate Electronic Circuit into Physical Structure (b) Test finished device in duct to assess functional performance
32
A basic foundation design for the device must be established before the design of the physical structure or the electronic circuit can commence. This is of the utmost importance. The physical structure must facilitate and incorporate the electronic circuit and the electronic circuit must interact with the dynamics of the physical structure. It is because of these co-dependencies that a basic foundation design must be established to allow the design of the physical structure and the design of the electronic circuit to integrate effectively when each is built and combined in the finished Device. the device. This proposed foundation design is described in terms of the Physical Structure and the Electronic Circuit as separate parts of the overall design of
5.1
This part of the report analyses all of the information gathered in the first chapter, which relates to the design of the new UDBD. This is carried out to ensure a clear idea of what will be required of the Device. This involves the analysis of any design parameters or constraints, any design objectives that the Device must achieve or functions it will undergo in operation.
33
testing of the previous students device was carried out at a speed of 0.75m/s. However it is now understood that the ESB will be pulling the device through the ducting at a speed of 3.33 m/s (or 12km/hr). This is considerably faster that what was designed for in the previous students work. The new design will have to be able to operate at a speed of 3.33 m/s through the ducting. 3. The inclusion of a mandrel in the group of items which will also be pulled through the ducting with the UDBD has a big impact on the dimensional constraints of the new design. The mandrel used is 105mm in diameter and so the maximum diameter of the device cannot exceed 105mm. If the diameter of the device exceeds that of the mandrel then the device could fail or become stuck before the mandrel does. The new design of the device cannot exceed 105mm in diameter, but since it must keep in contact with at least two parallel points on the inside surface of the duct at any one time to ensure functionality it will have to have a suspension system which must be able to compress to allow the device to achieve a diameter no greater than 105mm diameter. 4. Although there is a sponge included in the group of items which will be pulled through in front of the UDBD which will try and force the majority of water and grit out of the duct a significant volume of water may still be left behind. This means that the device must be fully submergible and totally waterproof so as to protect the electronics housed inside the device. The previous students device was not capable of withstanding full submersion in water. The new design must be able to withstand full submersion in 2 to 3 feet of water.
34
35
36
37
38
39
40
5.2
The Foundation design for the Physical Structure of the UDBD will be based on the concept developed by the previous student as seen in figure 28 below. However many existing aspects will be changed and improved and additions and omissions in the design made where necessary, as are discussed in the sections following this.
5.3
The foundation design for the electronic circuit for this design is shown in figure 29 above. Part A in figure 29 above shows a flow diagram illustrating the cycle that the electronic circuit goes through, starting with the microprocessor. Part B shows a more detailed logical flow diagram for the process or cycle. The microprocessor checks to see if the rotary encoder is rotating by checking for a change in the high low signals it gives off during rotation. For every one rotation this encoder gives off 18 dents (changes in signal from high to low). For every high signal the microprocessor receives from the rotary encoder it samples the bend sensor. For every 1/18 of a rotation of the encoder either a one or a zero will be written to memory by a USB (Universal Serial Bus) Data-logger. This information will be recorded on the memory inside a USB flash memory drive which will be inserted into the data-logger previous to the operation of the device. This information will be written to the USB flash memory drive as a text file. The text file contains two columns. The first column contains the number of samples taken or the number of high signals emitted from the rotary encoder and the second column contains the readings or samples from the bend sensors (which correspond with the high signals from the rotary encoder). 42
MECHANICAL DEVELOPMENT
This section looks into the mechanical development of the UDBD. It goes through the design, manufacturing and testing of this aspect of the device in detail.
6.1
The requirements and specifications for the design have been established in the previous sections of the report. Now the job is to start to develop a design which can physically satisfy these requirements and meet the prescribed specifications. Samples of the sketches made during the development of the design are shown following this. Not all the sketches have been included but enough examples are there to show the different ideas and concepts which were investigated. The focus on the design was split into four main sections to allow the designer to concentrate on each aspect individually to ensure that no part of the design was overlooked.
43
the device and also provide protection for the bend sensors and electronics on the middle section.
44
45
The design of a wheels and suspension system for the device was also an extremely challenging part of the mechanical development of the UDBD. This was because of the dimensional constraints of the device. Not only had the device had to be able to be compressed into a diameter of 105mm but it also had to house the electronics. Figure 34 below shows a sketch of an end section view of the front section of the
46
device. It investigates into possible wheel and suspension systems but this time keeps the dimensional constraints close at hand. The Large pair of circles drawn in the middle of the sketch represents (to scale) the duct inside and outside diameters. The smaller pair of circles inside the other circles represents the possible inside and outside diameter of the devices main cylinders. As can be seen from the sketch the dimensional constraints really limited the different design options for the device.
The method of fastening and securing a suspension system to the device whilst also keeping in mind that each entry point into the device would have to be sealed is shown in figure 35 below. This figure shows a sketch of the investigation into the possible methods which could be used to fasten the system to the device and also seal it.
47
Since the device had to be sealed to prevent water entering and damaging the electronics inside and it also had to move quite quickly (3.3 m/s) through the ducting waterproof bearings were investigated. They would assist in sealing the rotary encoders shaft where it meets the axis of the odometer wheel. The waterproof bearing proposed for use is shown in figure 37 on the following page. 48
At either end of the device there will be an attachment point allowing the device to be connected to a rope for operation in the ducting. As mentioned previously these attachment points will be made up of a lifting eye bolt as shown in figure 38 below.
Integrated into the wheel and suspension system will be compression springs. These will use kinetic energy to generate a force to ensure that the device will move inline with the central axis of the ducting when they are compressed. The stainless steel compression spring suggested for this is shown in figure 39 below.
After investigation into the different solutions to the Wheels and Suspension section of the design it was decided that the castor wheels used in the previous students design would be the best for the task. It would be too time-consuming and expensive 49
to fully design and manufacture a homemade wheel and suspension system so the premade castor was the best solution. The castor wheel used in the design is shown in figure 40 below.
Again since sealing was a big factor in the design of the device the used of flexible conduit to seal and protect the middle section was investigated. A flexible conduit and related adapters found and integrated into the design can be seen in the previous section that dealt with the design of the middle section. The conduit and adapters used are shown in figure 41 below.
50
6.2
The next step, after the investigation into the different possible design solutions, was to decide on the best options to take regarding the design and generate 3D models of the parts which needed to be manufactured for the device. The generation of the proposed design in a CAD package also helped to visualize the design and allowed a better assessment of the design afterwards. Solid Edge was used to generate the solid models for the parts for manufacture. Once the solid models were generated working dimensioned drawings for each part and any other required drawings were produced. For the sake of clarity the design will be explained starting from the front and ending at the rear.
51
52
wheel. Following this the remaining spacer and Bearing are slid on in that order. F in Figure 44 shows this completed sub assembly.
The sub assembly in part F in Figure 44 is housed in the Rear Wheel Support which is shown in figure 45 below. This was one of the more detailed and complex parts which had to be designed and manufactured for the device. Figure 45 shows two views of the Rear Wheel Support. This part is basically a 3D Solid Model of the part sketched in Figure 32, shown previously in the report. The holes, visible in the top of the part (in the view shown in A), allow the part to be fastened into the Rear Cylinder. The parts in the Rear section would be assembled as follows. One of the Bearings would be slotted into the back of the part and once the wheel and spacer are aligned the rest of the assembly could be slotted in through the hollow square section which housed the Rotary Encoder. This hollow section then has a plate (not shown) inserted into the recessed rectangular space and this is fastened in place and sealed with some kind of metal sealing solution to ensure the rotary encoder is protected from water intrusion.
53
An illustration of the full Rear Section Assembly (plus Wheel and Suspension System) is shown in Figure 46, C, following this.
54
6.2.5 Assembly
The full assembly of the parts for manufacture (including the Rotary Encoder and Wheel and Suspension System) is shown in Figure 47, A and B, following this.
55
6.3
This part of the report deals with the assessment of the current design and the necessary alterations or redesign required. The basis for the assessment of the design was based on four main factors.
56
charged by the hour. The simpler and less complex the design the less time it would take to machine. The cost of the materials used would also contribute to the overall cost to manufacture the parts. This coincides with the previous decision to select Mild Steel as the material for the parts for manufacture as Mild Steel is significantly cheaper than Stainless Steel. 4 Assembly of the Device The fourth factor taken into account, when assessing the design, was the actual assembly of the device after manufacture, i.e. reviewing the functionality of the device in terms of its ability to be assembled after it has been manufactured. This included the assembly of the mechanical parts and components (with fasteners etc.) and also included the integration of the electronics and wiring in the device. This factor was very important because if it were overlooked it would increase the chances of the device not being able to be assembled, which would be a waste of time and money.
6.3.2 Redesign
The assessment led to some alterations in the design and also the complete redesign of certain parts. Some of the changes were made to simplify the device and others to help it better fulfil its tasks. These changes to the design are listed below. Front End Cap When this part was assessed it was decided that it did not provide a satisfactory seal with the front cylinder when fastened in place. It also was seen to have unsafe sharp edges which were also lending no benefit to the device only adding extra material which adds to the weight of the device and also could pose a danger to users. The redesigned part is shown in various views in Figure 48 below. It can also be seen in the figure that a gap, between where the threads meet the surface on this part and where that meets the end of the front cylinder face, has been incorporated into the design. This gap facilitates the insertion of an O-Ring (specified to standard size, check appendices) to increase the sealing properties of this area of the device.
57
Assembly of (F & R) Cylinders, Weld Caps and (F & R) Tubes It was intended in the design that the Front and Rear Tubes would be welded to the Weld Caps (as per assembly) and that the Weld Cap and Tube assemblies would then be welded to the Front and Rear Cylinders (as per assembly). However, it was discovered, after consulting with a welding specialist that the parts in the design which were to be welded would need alterations to their design to allow this process to be completed effectively. The corners of the exposed surfaces which would be receiving welding would have to be chamfered to facilitate the weld metal runs. This was also necessary to ensure the correct amount of the surface area of the material would be exposed to the weld metal, resulting in good mechanical strength properties at the welded joint. These altered parts can be seen in Figure 49 below. Figure 49: A shows the redesigned Front Cylinder, B, the redesigned Weld Cap and C the Redesigned Front Tube (same alterations in corresponding Rear parts). Three weld runs were specified for the welds mentioned.
Figure 49: Redesigned Assembly of (F & R) Cylinders, Weld Caps and (F & R) Tubes
However after again assessing this finished design it became apparent, when reviewing its ability to be assembled, that there would be a problem with the assembly with regard to the flexible conduit. If the Tubes were welded to the Weld Caps then
58
either the universal joint or the flexible conduit would not be able to be included in the assembly of the device. If the universal joint was fastened in place first there would be no way to then slot on the conduit and if the conduit was fastened in place first there would be no way to access the screws used to fasten it in place. This meant that this part of the design had to be changed. Instead of welding the Tube to the Weld Cap it was chosen to fasten the parts using a nut. To allow for this method of fastening the parts, the tubes were replaced by solid bars. The solid bars could then have a reduced diameter length at the end which could be threaded and slotted into the altered weld cap and the shoulder on the bar could be fastened against the nut. The alterations made are illustrated in Figure 50, shown on the following page. Figure 50: A show the redesigned Weld Cap with the chamfer on the inside diameter removed. Figure 50: B shows the redesigned Tube (they will be continued to be called Tubes for the sake of cohesion in the report) with the chamfer replaced by a threaded shoulder for insertion into the Weld Caps inner diameter. Shown in figure 50: B is a hole which allows the wires to pass into the Front Cylinder. This was neglected on the previous design. Another hole (not shown in Figure) is drilled, perpendicular to the hole, down the through the center of the threaded end of the bar to link up with the hole shown. This is to allow the wires for the sensors to be threaded out from the Rear Cylinder and in through to the Front Cylinder. The use of solid bars instead of hollow tubes has other benefits aside from ensure the assembly of the device. The bars lend the middle section of the device more strength and are hence less likely to bend or fail than the tubes. Their use also reduces the number of points where water could enter the system. The universal joint is now slotted into a hole drilled into the bar as opposed to previously being slid inside the hollow inner diameter of a tube which meant if water penetrated the gap between the universal joint and the tube it could reach the front cylinder. Now it cannot reach the front cylinder through the area around the universal joint. The use of the new fastening method also eliminates the possible problem of ensuring the concentricity of the front cylinder and the tubes through the use of difficult precision welding and the possible construction of jigs to secure the parts during welding, hence saving time and money.
59
Rear Tube and Inclusion of Bend Sensor Support This part was so far overlooked in the design process and so was designed at this point. The need a Bend Sensor Support, as shown in Figure 51: A below, was realized when thinking about what would ensure that the free ends of the bend sensors would follow the movement of the universal joint when encountering a bend. The part used for this purpose allows the bend sensors to flex with the universal joint without creasing or creating kinks along their lengths. The part acts a bit like a collar around the tube with a smaller diameter inside to facilitate the bend sensors. The Bend Sensor Support is fastened in place with a set screw (shown in specifications in appendices) and a hole had to be drilled in the Rear Tube which would be facilitating it. This is shown in figure 51: B below.
Figure 51: Redesigned Rear Tube and Inclusion of Bend Sensor Support
60
Odometer Wheel Support System By far the most complex part in the device was the Odometer Wheel Support Part. This housed the parts and components shown in figure 44, shown previously. The problem with the design was that it was too complex and because of its complexity it required far too much machining and hence increased the time to manufacture the part and also the cost to manufacture the part. A significant amount of material would also be wasted during the machining of the part. Figure 52: A, below, shows an assembled view of the rear section containing the Odometer Wheel Support Part. The design process, shown previously, was repeated and an investigation into different possible design solutions was undertaken. The final resulting design from this investigation including all the necessary alterations to the Rear Cylinder itself is shown in figure 52: B below. Figure 52: C shows the three main parts which replaced the previous part. Wheel support 1 and 2, the two rectangular blocks, are slotted into the rounded part and this is then fastened with bolts into the inside of the Rear Cylinder Diameter. The new design requires less machining and less material than the previous design. This leads to quicker and cheaper manufacture. The Encoder can still be sealed inside the Wheel support within which it is stored.
Figure 53 on the following page shows images of the some of these parts semi assembled. Figure 53: A shows an image of the wheel support systems main components omitting the Rear Cylinder. Figure 53: B shows the two wheels support parts with bearings inserted and C shows the rotary encoder fastened to the shaft suing grub screw.
61
Wheel and Shaft When the Odometer Wheel and Shaft (including key) were assessed, it became apparent that the design needed to be altered. Figure 54: A and B show the old Odometer Wheel and Shaft designs. A square keyway was proposed in the previous design, however a round keyway would be much easier to machine. The parts for this section of the device were redesigned with this in mind. Figure 54: C and D show the new design using a small round bar for a key which is just slotted through the shaft before slotting the wheel in and fastening it in place with spacers and the rest of the assembly. To reduce the machining required for the Odometer wheel the previously proposed rebated section was removed. This can be seen clearly when comparing Figure 54: A with C below.
Rear End Cap During the assessment of the entire design it was discovered that it was required to design a more basic Rear End Cap because the Rear Section did not need to be sealed. Only the entrance into the Rear Tube from the Rear Cylinder and the individual Part housing the Rotary Encoder needs to be sealed. Hence there was no point in using a more complex design if it is not required. The Rear End Cap only had to provide a
62
foundation for the Lifting Eye Bolt it did not have to have any sealing properties. The design for the Rear End Cap is shown below in Figure 55. It is held in place with four bolts, screwed into the threaded holes, and the alterations to the Rear Cylinder to facilitate this part can be seen in Figure 52: B previously.
63
5.4
The manufacture of the parts for the device was outsourced to Hederman Engineering Ltd. They were sent a full collection of dimensioned drawings for all of the parts including an assembly view and exploded view along with a parts list. The full drawings for the project are listed in the appendices; however a preview of some of these drawings is shown in Figure 56 below.
Brief breakdown of the cost to manufacture: Cost of Material = 72 Time taken to Manufacture = Approx. 23.5 Hours Net Cost to Manufacture = 1,440
64
5.5
Figure 58 below shows the front section of the fully assembled mechanical structure of the device. Slight changes were made during manufacture to speed up the manufacturing process. This is why thumb screws hold the Front End Cap in place as opposed to the threads suggested in the design drawings. It is assembled similar to the Rear End Cap.
Figure 59, on the following page, shows the rear section of the fully assembled mechanical structure of the device. At the time when the photograph was taken only one lifting eye bolt was available for the assembly. This is explains why the Rear End Cap does not have a lifting eye bolt screwed into it in the images.
65
66
The second test was carried out with the flexible conduit in place. It can be seen being carried out from various different views in figure 61 below.This test was repeated the same as the first only this time the clearance measurement was taken from the outside corner of the conduit at the point of bending in the device had in relation to its distance from the outside of the internal diameter of the curve. The measurement was recorded as 21mm. The angle of the band was recorded as again approximately 25 degrees.
67
7
7.1
ELECTRONIC DEVELOPMENT
De-Bouncing Rotary Encoder
The problem with this sort of configuration is that because of the behavior explained previously, there will not be a clean transition from one logic state to another, i.e. transition from Logic 1 to Logic 0. There will be spikes in the transition period between each state. This is illustrated in Figure 63 on the following page.
68
As can be seen in figure 63 on the digital output line the source of error can be seen as more than one logic 1 signals, in this case five, can be sent to the Digital receiver. This means that the digital receiver will act as if it has the button has been pressed and released five times. In relation to this project this would make it impossible to accurately measure where the bends occur in the ducts and so debounce must be eliminated in the circuit for the UDBD. The switch could be debounced using one of two solutions. Theses possible solutions consisted of an analog solution or a digital solution. The digital solution involved using code written to the microcontroller to eliminate the debounce. However a dec. counter had to be incorporated into the circuit (will be discussed in detail later in report). This had to be used because the sampling rate would be far too great if the microcontroller was to sample the bend sensors every 1/9th of a full rotation of the Rotary Encoder, which is what it would do if the circuit was left unchanged. This was unacceptable because of the speed that the microcontroller could operate at, i.e. at that sample rate it would cause a back log in the system which was undesirable. So it was because of the nature of the electronics to come later in the development that the analog solution was selected. The analog solution mainly relies on a capacitor to resist the changes of voltage on the output. This slows down the change in output so that the unwanted high and low pulses in the output are not recognized by the digital receiver. Figure 64, on the following page, shows a circuit diagram for a switch configuration with a debounce circuit.
69
The values of the resistor (R1) and the capacitor (C1) determine the response time of the switch. The greater the value of the resistor or capacitor the better the circuit debounces the switch. However the more the values are increased the longer it takes for the circuit to react and generate an output. Figure 65 below shows the behavior of a switch with a debounce circuit.
It can be seen clearly in figure 65 that although the clean transition from high to low when the button is pressed there is still some error generated when the button is released. This error can be eliminated through the introduction of a Schmitt Trigger into the circuit. A Schmitt Trigger will maintain its output during the passage of the voltage through the unknown area in figure 65, the middle ground between High
70
and Low, until the input has reached either a High or Low voltage level. Figure 66 below shows a debounced switch circuit now including a Schmitt trigger. Following this is figure 67, which show the behavior of the updated circuit. [24]
Figure 66: Switch configuration with debounce circuit and Schmitt Trigger [24]
Figure 67: Switch configuration with debounce circuit and Schmitt Trigger
71
constructed it was then tested using an oscilloscope. The testing of the circuit and the results and shown in Figure 68 below.
A 5 volt supply was hooked up to the circuit and the output from the circuit was displayed on an oscilloscope. The test was also carried out with the debounce circuit removed so as to compare the resulting waves shown on the oscilloscope. Figure 68: A shows the testing of the debounce circuit with the Rotary Encoder and the resulting wave is displayed in figure 68: B. There was no bounce viewed on the oscilloscope what so ever. However, figure 68: C shows the wave of the Rotary Encoder with the debounce circuit removed. There is little to no difference between the waves. This is because the Rotary Encoder is designed to generate as little bounce as possible, far less than the spring based pushbutton discussed earlier. The speed at which the microprocessor will be sampling the bend sensors during operation warrants the use of the debounce circuit and so it is included in all circuits regarding the Rotary Encoder from this point on. Figure 69 below shows an example of a particularly bad spring based push button switch which was used to illustrate the effect of bounce and shows the output of the switch through the use of an oscilloscope.
72
7.2
If the current circuit for the Rotary Encoder was used with the microprocessor in the current foundation design for the electronic circuit the microprocessor would be sampling the Bends sensors every 7.32 millisecond. (2..radius / 9) = distance between each sample (2)()(0.035) / 9 = 0.0244m Distance / Velocity = Time (0.0244m) / (3.333 m/s) = 0.00732 seconds This would create a far larger amount of information to be written and stored which would decrease battery life and increase the complexity of processing the information at the end of operation. This was a problem that needed a solution. The solution was to introduce a 4-Bit Dec. Counter into the circuit to reduce the resolution to an acceptable level. Figure 70 below illustrates how the 4-Bit Dec. Counter reduces the sampling resolution.
The 4-Bit Dec. Counter counts in binary up to 4, i.e. 0000, 0001, 0011, 0111 and 1111. For this circuit it will take in an input from the debounced Rotary Encoder and give one high output for every 4 high signals it receives which is 8 clicks of the rotary
73
encoder (click off click on is one high signal). There are four outputs shown on the Dec. Counter in figure 70 but only the output on the fourth pin is wired hence an output is only sent when this pin receives an input. The next step was to develop a circuit which incorporated the debounced Rotary Encoder and the Dec. Counter. Figure 71 below shows the circuit diagram developed to incorporate all of the development on the electronic circuit so far. It shows the debounced output from the Rotary Encoder leaving the Schmitt Trigger and Entering the Dec. Counter.
Figure 72 below shows the circuit constructed on a bread board and set up for testing. The circuit was hooked up to a five volt supply and the output was measured on an oscilloscope. The oscilloscope showed the output changing state from either high (five volts) to low (zero volts) or low to high every eight clicks (four high signals) from the Rotary Encoder.
74
Now that the circuit had been constructed on breadboard and tested it could now be build on strip-board (circuit board). Figure 73 below show the development of the construction of the circuit on strip-board. First the design for the layout was produced and following this the strip-board was cut down to size and any necessary breaks in the conductive copper strips were made. The breaks in the strips were carried out using a Stanley knife. The resulting strip-board base is shown in Figure 73: A. The next step was to solder the components and wires onto the strip-board. Solder and a Soldering Iron were used to perform this task. The finished circuit on the circuit board is shown in figure 73: B and C, from underneath and above respectively.
The last step in this process was to test the circuit to make sure all of the connections were made (soldered) correctly and to ensure that the circuit function correctly. Figure 74 below shows the testing carried out on the circuit. A five volt battery supply was run through the basic stamp development board to allow the power to be wired into the breadboard. The output from the circuit went through an LED (light emitting diode) to show visually the working function of the circuit. The LED emitted light after eight clicks from the Rotary Encoder and continued to emit light until another eight clicks from the Rotary Encoder which then turned it off. This proved that the circuit was functioning correctly. The overall electronic development of the circuit for the UDBD could now continue.
Figure 74: Testing the debounced circuit including the Dec. Counter
75
7.3
From the moment that it was decided that the Basic Stamp Microprocessor would be used in the device, exercise and project based learning has been ongoing in relation to learning how to use the component and design and write code for it to use. Various relevant exercises have been carried out throughout the projects life with the intent of implementing them in the final electronic circuit. The code was developed based on the Foundation Design discussed previously in the report. Pseudo Code is listed below. This explains the code in simple terms so it can be understood by anyone particularly people who are not familiar with programming codes. The code used for this program was designed and written to the Microprocessor using Parallax Basic Stamp Editor. The actual code is listed in the appendices at the end of the report. Pseudo Code Switch A, refers to the switch which turns on and off the five volt supply. Switch B, refers to the switch which makes or breaks a wire linking Pin 5 to Pin 7, this must always be making the connection instead of breaking it before switch A is turned on (makes its connection completing the circuit). The Pseudo code can be understood more clearly when compared to the information in the next part of the report.
Ensure switch B makes circuit Power is turned on (by making circuit using switch A) Check for Drive, i.e. USB Key (keeps looping until one is found) Pin 5 Set High (Logic 1) If Pin 7 receives High (from Pin 5, by making circuit using switch B). Then Start Sampling If Pin 4 receives High (from Dec. Counter output). Check Bend Sensor Value & write info to Data-logger & Loop Else Loop End If Pin 7 receives 0 (by breaking circuit using switch B) Turn off power (by breaking circuit using switch A)
76
7.4
The next step in developing the overall electronic circuit was to design a circuit which would combine all of the electronics remaining with the Rotary Encoder (Debounce + Dec. Counter) circuit. This circuit had to also be designed to allow the code to be applied to the circuits inputs and outputs. Figure 75 below shows a wiring plan on a strip-board template of the proposed design of the layout and connections for the circuit containing the data-logger, microprocessor and bend sensors and also facilitates the connection of the rotary encoder input into the system. The view shown in figure 75 is the underside of the strip board and the horizontal strips represent the copper strips found on actual strip board. The green dots represent soldered connections to the board and the hatched sections represent breaks in the copper contact strips which will be broken again with a Stanley knife. The red lines represent live five volt supply lines and the black lines represent wires going to ground.
Figure 75: Wiring plan of proposed design for circuit containing remaining electronics
After the wiring plan was completed the circuit could now be built on a section of strip-board. All the components were connected and fastened in place using solder and a soldering iron. Once the circuit was constructed the microprocessor then had the
77
program downloaded onto its memory which it could then run independently. Four jumper wires which were connected to the serial inputs for the microprocessor were included in the wiring layout. This meant that the microprocessor could be programmed without having to remove it from its socket on the circuit board and plugging it back into the development board, shown in green in figure 76 below (connected to the USB to Serial Out Cable). Taking the microprocessor in and out of sockets could lead to the structural failure of the pins which it plugs into the socket when in use and so regularly plugging it in and out of these sockets is not desirable. Figure 76 below shows the circuit being tested using the serial interface with a laptop computer running Basic Stamp Editor Software. The switches mentioned in the section on the code previously are not yet built into the circuit but they are temporarily represented. The Power switch, switch A, is represented by making and breaking the circuit by attaching and detaching the battery clip on the five volt battery. The switch for making or breaking the connection between Pin 7 and Pin 5 is represented by a male to female jumper wire connection. This starts and initiates the program when connected and ends and closes the program when disconnected.
78
The testing of the circuit involved downloading the program code onto the microprocessor and then running the program while in the debug terminal on the laptop. This is shown in figure 77 below. The debug terminal allows the user to view what is actually taking place in real time in relation to the microprocessor. The blue window on the laptop screen in figure 77 shows the debug terminal. The first paragraph of text indicates that the microprocessor checked for a drive in the datalogger, found one and is now initializing the drive. The initialization of the drive involves the program automatically overwriting a new data-file which will store the information gathered during the operation of the UDBD circuit. The dotted line which starts running across the screen represents the microprocessor continuously checking for high (logic 1) signals from the Dec. Counter output. Once the Rotary Encoder has been rotated to produce sixteen clicks (eight clicks to go to low logic state and eight clicks to return to a high logic state) the microprocessor checks the bend sensor value. This is represented on the debug terminal as the sections of text. The first bit of text represents the microprocessor sampling. The second bit of text is a number this is the sample number, i.e. 1 = first sample, 2 = second sample etc. and each sample is initiated by a high signal from the Dec. Counter output. There is then an arrow in the line of text followed by another number which represents the value from the bend sensor. This is the end of the section of text. This section of text is repeated again after another sixteen clicks from the Rotary Encoder but this time one of the bend sensors was bent. This caused a change in value to the bend sensor value and hence confirmed that the circuit was functioning correctly. The connection between Pin 5 and Pin 7 was then disconnected and the program closed and saved to the USB key before the power was then switched off by disconnecting the battery.
79
7.5
Just as the Mechanical Structure in the Mechanical Development chapter previously was assessed, so to must the current design of the electronic circuit. It was assessed to ensure that it would function correctly and integrate effectively into the Mechanical Structure. Since the electronic development coincided with the mechanical development, fixed dimensional constraints were not clearly set out; only an approximation at the beginning was established. At this stage a definite dimensional volume is available from the finished working drawings for the mechanical structure for the UDBD and so the electronics were assessed against this to see if they would fit inside the Front Cylinder. It was discovered that the layout of the components would have to be redesigned to ensure that the electronics could be integrated into the mechanical structure effectively because the current design would not fit inside the UDBD. Also the redesigned layout of the circuit would include two switches to replace the previous representative switch methods and an LED for each to visually indicate the switches status. Figure 78 below shows the redesigned layout of the electronic circuit. The color code explained previously applies once more with the addition of blue wires for logic in/out wires and resistors and capacitors in black. The switches and LED are not included in this schematic as they will be in-line wired.
80
Figure 79 below shows the strip-board prepared for soldering. All the necessary breaks in the copper contact strips have been made with a Stanley knife.
Figure 80 below shows the completed electronic circuit with the Rotary Encoder and Bend Sensors outside of the image. This was then tested on a computer using the previous method, before moving on to the next stage of the project.
81
8
8.1
The device had to be disassembled in parts to allow the integration of the Electronic circuit. The wiring was fed through the device and soldered in place where necessary. Electrical tape was also used to fasten the wires to the device in places and also to insulate any exposed electrical contact points. Figure 81 below shows the integration of the rotary encoder into the UDBD.
After the installation of the rotary encoder the bend sensors were next to be integrated into the UDBD. Figure 82, shown on the following page, shows how the bend sensors were fixed in place. Only two were used compared to the previous students design, in which four were used, because only two bend sensors fastened perpendicularly as shown on the following page (there is one out of sight directly underneath the universal joint) are needed to capture all possible directions of rotation.
82
Finally, Figure 83 below shows, the installation of the Electronic Circuit based on the strip-board into the Front Cylinder. Access to the two switches and visibility of the two LEDs was ensured during installation. The electronics inside the front cylinder were insulated by an antistatic plastic covering to protect the electronics inside from damage from static or shorting out off the conductive metal front cylinder itself.
Figure 83: Integration of the Electronic Circuit based on Strip-board into UDBD
83
The completed UDBD device is shown with the flexible conduit removed for illustration and demonstration purposes in figure 84 below.
84
8.2
Testing
The UDBD was tested to assess its functional performance during operation. It was carried using a simulated operational environment. The UDBD was turned on and the program initiated. The Odometer wheel was rotated manually for 3 full revolutions four times with each time changing the direction of the bend at the universal joint. The UDBD was first held straight then bent 25 degrees to the left, then straight, then bent 25 degrees to the right and then straight one again. This produced a data-file with two columns separated by commas. This can be seen in figure 85 below. The first column displays the sample number count and the second column displays the bend sensor value for that sample.
Once the collection of the data is completed the USB can be removed and the data-file shown in figure 85 above can be converted into an excel file format. The conversion
85
of the file is shown step by step below. Figure 86, below, shows the steps for conversion, shows the data-file converted into Excel format. 1. Open Microsoft Excel 2. Select file 3. In the drop down menu following this select OPEN 4. Browse My Computer to open the USB Drive 5. Ensure that files of all types are visible 6. Open the data-file in the USB Drive 7. Select NEXT in the Text Import Wizard 8. Select Comma in the Delimiter options column 9. Select NEXT
The next part of the process was to copy the Excel cells into the Information Processing File which was programmed to process the information from the data-file. 86
The Information Processing file would be saved on the computer which would be used to process the information on the data-file inside the USB Drive. The Information processing file was made up of two cells witch were programmed with a function. And a graph witch would display the results of the test once the data-file information was imported into the file. The file, shown when just opened, is shown in figure 87 below.
The first preprogrammed cell is C2. It was programmed to multiply the number in cell A1 by the distance between each sample location (or 0.0977). How this was found is shown below. For the first calculation nine is divided by four because of the 4-Bit Dec Counter now in the circuit. (2..radius / (9/4) = distance between each sample (2)()(0.035) / (2.25) = 0.0977m Figure 88 below shows the first programmed cell C2 and the function it contains.
The second cell which was programmed was D2. This contains a function which will interact with the Bend sensor value column and tell the user whether a bend has 87
occurred or not. It uses two IF functions added together to calculate whether it should display a one (for a bend) or a zero (for no bend, hence straight). If the value in B2 is greater than 1475 or less than 1325 then the cell will display a bend or a one in its cell. Cell D2 is shown in figure 89 below, this also displays the functions used in the cell.
The next step in the testing process is to copy the information which was converted previously from a data-file to excel format into this file. The information is copied into the sections shown in Figure 90 below.
Once the information is copied into the prescribed location the cells C2 and D2 are selected simultaneously and the cells functions are copied down the length of the columns containing information from the data-file. This is achieved by clicking on the bottom right hand corner of the two selected cells and dragging the mouse vertically down the length of the data-file information. Once this has been completed the graph, which was created at the beginning to plot the C column against the D column displays the information. This graph displays the distance through the ducting on the x-axis and the bends occurred on the y-axis. The test results shown on the graph, shown in figure 91, shown on the following page, tell us that two bend were
88
encounter and their location on the bend can be established by moving down vertically on the graph and reading off the distance on the x-axis. As explained previously in the report the length or distance through which the bend was encountered will tell the user the severity of the bend encountered.
Figure 91: Information Processing File after Graph has been plotted
This testing proves that the linear movement through the duct and angular displacements that the UDBD experiences during operation can be recorded and displayed in a graphical format which allows the user to establish the information required, i.e. the quantity, location and severity of bends in an underground duct.
89
COSTING
A costing was carried out through out the time of the projects life. It has culminated to this final costing which is shown below and is the approximate costing of the UDBD device.
Full Project Cost Inventory (in ) Rotary Encoder (x3) Resistors & Jumper cables BASIC Stamp 2 Module BASIC Stamp 2 Carrier Board Memory Stick Data-logger Bend Sensors (x4) 9V Battery Universal joint Flexible conduit Conduit adapter (x2) Waterproof bearing (x2) Eye bolts (x2) Compression Springs (x28) Caster wheels (x14) Material and Machining = = = = = = = = = = = = = = = 34 15 40 12 33 22 2 24 58 (per 10m) 22 (pack of 5) 50 6 35 14 1,440
1,807
90
10
PROJECT TIMELINE
Since time management was a very important part of this project a chart displaying how the time allowed for the project was distributed among the objectives is shown below in figure 92.
91
11
CONCLUSION
The project was a success. The aim of the project was to d evelop the current design concept for UDBD, both electronically and mechanically, which can then be manufactured, tested and handed over to the ESB. The aim has been completed in regard to the UDBD being developed, manufactured and tested but it does need some minor additions before handing it over to the ESB. Sealant needs to be applied to the device to ensure that it is fully waterproof during operation. A simple waterproof enclosure needs to be made for the electronics housed in the front cylinder. Some parts, for example some fasteners and springs, need to be replaced as these parts were used only for demonstration and testing purposes because of delivery issues with the parts intended for the permanent device. Some brief additional testing, for example tensile testing of weakest point in the design, would be of use in reducing any possible problems that the ESB Networks may have with the device in the future. Also some form of surface coating needs to be applied to the device - either powder coated, galvanized or painted. None of these minor additions mentioned above will take very long to complete. Taking these additions into account the aim is seen to be ninety five percent complete which is considered a success given the time frame allocated for such a significant undertaking as this project.
92
12
FUTURE WORK
The UDBD was a very complex device, considering the range of design considerations taken into account. The UDBD design could be improved in certain areas. In the area of mechanical design the UDBD could be improved if more time and money was committed to certain aspects of the design. The wheel and suspension system could be improved by redesigning the system with the intention of using custom made (machined) components. Due to the time allocated to the overall design of the device and the cost associated this avenue could not be explored in more depth in this project. The investigation into a UDBD design which does not require wheels or a suspension system could be quite advantageous in regard to improving the overall design without incurring increased costs. This sort of design could also still utilize the existing design for the electronics circuit in the present UDBD which would hence leave more time for developing the new mechanical design. Further investigation could also go into some other aspects of the design. More investigation could go into the materials for use in the design. The method used to actually detect the bends, i.e. potentiometers/bend sensors etc., could be looked into in more depth. Other methods of recording and processing the information gathered, i.e. the use of a microprocessor and USB data-logger could also be investigated. An SD card could replace the memory storage function that the USB Drive currently occupies and this could lead to a smaller volume required to store the electronic circuit. A macro program could also be produced for the Excel file which could automatically calculate, indicate and display the tension on the cables which will be run through the duct and the end from which it would be. However the ESB Networks did make it clear during the life of this project that only the information which was gathered in the brief at the beginning needed to be established because they had no need for complex information in a site environment.
93
13
REFERENCES
[1] Power, J (2009) The Design of an Underground Duct Bend Detector, B.E. (Manufacturing Engineering) unpublished dissertation, Department of Manufacturing Engineering, Dublin Institute of Technology, Dublin. [2] Dynalab Corp, Plastic Properties of High Density Polyethylene (HDPE), [Online]. Available http://www.dynalabcorp.com/technical_info_hd_polyethylene.asp [3] Laymon et. al, Bend Detector for A Pipeline Pig, (1986). [Online] Available http://www.freepatentsonline.com/4628613.pdf [4] Smith, Pipeline Bend Verification Pig, (1988). [Online] Available http://www.freepatentsonline.com/4780962.pdf [5] Smith, Bend Detector Pig, (1990). [Online] Available http://www.freepatentsonline.com/4930223.pdf [6] Toomey et al., Pipeline Bend Detector Pig, (1993). [Online] Available http://www.freepatentsonline.com/5205048.pdf [7] Envirosight, Specialists in Pipe Inspection and Rehab, [Online] Available http://www.envirosight.com/index.php [8] Reduct, Pipeline Mapping Systems, [Online] Available http://www.reduct.net [9] Wikipedia, Ingress Protection, [Online] Available http://en.wikipedia.org/wiki/IP_Code [10] Wikipedia, Nominal Pipe Size, [Online] Available http://en.wWikipikipedia.org/wiki/Nominal_Pipe_Size
94
[11] Flexpoint Sensor Systems, Inc., About the Bend Sensor, (2005). [Online] Available http://www.flexpoint.com/companyInfo/bendSensor.htm [12] ALPS, 11mm Size Metal Shaft Encoder (surface mount type), (2007). [Online] Available http://docs-europe.electrocomponents.com/webdocs/0beb/0900766b80beb23e.pdf [13] Parallax Inc., Basic Stamp 2 Module, (2008). [Online] Availablefhttp://www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/
CategoryID/9/List/0/SortField/0/Level/a/ProductID/1/Default.aspx
[15] Memsic, Inclination Sensing with Thermal Accelerometers. [Online] Available http://www.memsic.com/data/pdfs/an-00mx-007.pdf [16] Parallax Inc., Memsic 2125 Dual-axis Accelerometer, (2008). [Online] Availablekhttp://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/accelerometer/L
ist/0/SortField/4/ProductID/93/Default.aspx
[19] Misumi, SUS304 Ball Bearings, (2010). [Online] Available https://www.misumi-ec.com/euro/egrmen/ItemDetail/10300108530.html [20] Misumi, Lifting Eye Bolts, (2010). [Online] Available https://www.misumi-ec.com/euro/egrmen/ItemDetail/10300242140.html
95
[21] Misumi, Compression Springs, (2010). [Online] Available https://www.misumi-ec.com/euro/egrmen/ItemDetail/10300268740.html [22] Tente, Caster Wheels, (2010). [Online] Available http://www.tente.ie/EN/cat0/am11_furniture_castors.html [23] Radionics, Flexible conduit, (2010). [Online] Availablethttp://radionics.rsonline.com/web/search/searchBrowseAction.html?method=getProduct&R=0599825#header
[24] Ika Logic, Tutorial - Debouncing Circuits, (2008). [Online] Available http://www.ikalogic.com/debouncing.php
96
14
BIBLIOGRAPHY
1. Cross, N.C (2008) Engineering Design Methods: Strategies for Product Design, 4th Edition, WileyBlackwell, Oxford 2. Lindsay, A.L (2005) Whats a Microcontroller?, Version 2.2, Parallax Press, Rocklin 3. Yan, S-C.Y (1994) Creative Design of Mechanical Devices, 1st Edition, Springer-Verlag Singapore Pte., Singapore
97
15
APPENDICES
98
99
Rotary Encoder
100
Microprocessor
101
102
Bend Sensors
103
Schmitt Trigger
104
Dec. Counter
105
106
Universal Joint
107
108
Waterproof Bearings
109
110
111
Lifting Bolts for pulling the device In and out of the ducting
(M8)
https://www.misumi-ec.com/euro/egrmen/ItemDetail/10300242140.html
112
Compression Springs
113
114
Caster wheels
115
Caster Wheels:
(14mm Diameter)
http://www.tente.ie/EN/cat0/am11_furniture_castors.html
116
II - DRAWINGS
117
REVISION HISTORY
REV
DESERIPTION DATE
APPROVED
T1
11
irT-f 1 U4 =t
-i-lJI
Jjs^ \
NAME DATE [05509734 04/22/10 DRAWN CHECKED ENG APPR MGR APPR
TITLE
SOLID EDGE
UGS - The PLM Company
M) ^Lx
SIZE A3
DWG NO
REV
Quantity
NAME DATE E05509734 04/22/10 DRAWN CHECKED ENG APPR MGR APPR
TITLE
SOLID EDGE
UGS - The PLM Company
SIZE A3
OWE NO REV
UNLESS OTHERWISE SPECIFIED DIMENSIONS ARE IN MILLIMETERS ANGLES X.X 2 PL X.XX 3 PL X.XXX
Drawing Number
Title
1
2 3 4 5 6 7 8 9 10 11 12 13 14
L
Sti Sti
Rear Cylinder
Shaft Spacer
Key
Wheel Wheel Mount Part 1 Wheel Mount Part 2 Wheel Mount Connector Side Plate
si st st st
Sti
15
16
st st st
REVISION HISTORY
REV
DESCRIPTION
DATE
APPROVED
223
020
0 17
85
i.
11 5
15
010
' Hole is 10mm deep from surface M16 [2.0 Coarse (Pitch)]
DATE
SOLID EDGE
UGS - The PLM Company
FRONT TUBE
SIZE
DWG NO
REV
A4
FILE NAME: Front Tube.dft
SEALE:
1:1
WEIGHT:
SHEET 1 OF
REVISION HISTORY
REV
DESCRIPTION
DATE
APPROVED
24
22
7
4.5
x- S
:
h
=
M32 (19mm DEEP)
= =
=!
X
c\i 2.5
NAME
SOLID EDGE
UGS - The PLM Company
WELD CAP
SIZE A4
DWG NO
REV
SCALE: 1:1
WEIGHT:
SHEET 1 OF 1
REVISION HISTORY
REV
[As per DN 50mm Schedule 120]
DESCRIPTION
DATE
APPROVED
103.5
054
84
64
40 20
2.5
t:
J= =
1-
o I
o I
r ^^o I
i i I
I I
^f\
"pT g
-All holes drilled perpendicular to central axis of cylinder are M4
H-
NAME
SOLID EDGE
UGS - The PLM Company
FRONT CYLINDER
SIZE A4
DWG NO
3
WEIGHT: SHEET 1 OF 1
REV
SEALE:
1:2
REVISION HISTORY
REV
DESCRIPTION
DATE
APPROVED
054
21
12.5
9
r _ J 1 1 1
M48 (X4)
^\
8
X
'SURFACE TO BE KNURLED
NAME
SOLID EDGE
, H-
SCALE: 1:1
WEIGHT:
SHEET 1 OF 1
REVISION HISTORY
REV
DESCRIPTION
DATE
APPROVED
020
M8 [1.25 Coarse (Pitch)] (All the way th -ough tube)
017
M16 [2.0 Coarse (Pitch)] M8 [1.25 Coarse (Pitch)] (All the way through tube)
DATE
SOLID EDGE
UGS - The PLM Company
REAR TUBE
SIZE A4
DWG
5
WEIGHT: SHEET 1 OF
REV
SCALE: 1:1
REVISION HISTORY
REV
DESCRIPTION
DATE
APPROVED
115
94.5
050
16.5
.U--12.5
34.5 66.5
2.5
>
L
r ,* I U^
. -threaded)
J
<ffl
<9>
3.5
1f- -i
fTi
r 4
cn
u
1
. _
en
NAME
SOLID EDGE
REAR CYLINDER
SIZE A4
DWG NO
6
WEIGHT; SHEET 1 OF
REV
SEALE: 1:1
REVISION HISTORY
REV
DESCRIPTION
DATE
APPROVED
g) 12
25.5
12
.0 3.5.
M3 (Coarse Thread)
16.25
DATE
SOLID EDGE
/
SHAFT
SIZE A4 DWG NO
REV
SEALE; 2:1
WEIGHT;
SHEET 1 OF 1
REVISION HISTORY
REV
DESERIPTION
DATE
APPROVED
2.5
NAME
SOLID EDGE
UGS - The PLM Company
SHAFT SPACER
SIZE DWG NO
A4
First Angle Projection SEALE: 5:1 WEIGHT:
8
SHEET 1 OF 1
REVISION HISTORY
REV
DESERIPT10N
DATE
APPROVED
03.5
22
R1.75
NAME
SOLID EDGE
UGS - The PLM Company
KEY
SIZE DWG A4
REV
SEALE; 5:1
WEIGHT;
SHEET 1 OF
REVISION HISTORY
REV
DESCRIPTION
DATE
APPROVED
070
NAME
SOLID EDGE
UGS - The PLM Company
WHEEL
SIZE A4 DWG NO
Ar. 10
REV
SEALE: 1:1
WEIGHT:
SHEET 1 OF 1
REVISION HISTORY
REV
DESCRIPTION
DATE
APPROVED
32
30.75
26
24.5
12.25
8.25
'M2.5
1.5 4.5
16
21
NAME
SOLID EDGE
UGS - The PLM Company
DWG
11
WEIGHT: SHEET 1 OF 1
REV
SEALE: 1:1
REVISION HISTORY
REV
DESCRIPTION
DATE
APPROVED
20.75
026
024.5
12.25 8.25
>
16
12
NAME
SOLID EDGE
UGS - The PLM Company
12
WEIGHT: SHEET 1 OF 1
REV
SCALE: 1:1
REVISION HISTORY
REV
M4 (Depth 9mm from surface of part)
DESCRIPTION
DATE
APPROVED
15
I I I I
NAME
SOLID EDGE
UGS - The PLM Company
13
WEIGHT: SHEET 1 OF 1
REV
SCALE: 1:1
REVISION HISTORY
REV
DESERIPTIDN
DATE
APPROVED
05
02.5
{
V
--
*^
ij
co
CN
"I
I >Hi-? *2
26
--&
s^ 3
~T
1.5
DATE
SOLID EDGE
14
WEIGHT:
SIDE PLATE
SIZE A4
DWG NO REV
SEALE: 2:1
SHEET 1 OF 1
REVISION HISTORY
REV
DESCRIPTION
DATE
APPROVED
050
13
M4 {Gam Deep)
m i
7.5
NAME
SOLID EDGE
UGS - The PLM Company
15
WEIGHT: SHEET 1 OF 1
REV
SCALE: 1:1
REVISION HISTORY
REV
DESERIPTION
DATE
APPROVED
024
NAME
SOLID EDGE
UGS - The PLM Company
16
WEIGHT: SHEET 1 OF
REV
SEALE; 1:1
118
============================================================= ' ' File...... DataloggerDemoV1.0.bs2 ' Purpose... UDBD ' Author.... Robin Maguire ' E-mail.... ' Started... ' Updated... 01/04/2010 ' ' {$STAMP BS2} ' {$PBASIC 2.5} ' ' ============================================================= ' -----[ Program Description ]---------------------------------------------
' -----[ I/O Definitions ]------------------------------------------------Sensor TX RTS RX CTS PIN 1 PIN 11 PIN 13 PIN 12 PIN 9 ' Light Sensor Or Thermistor ' Transmit Data --> 27937.4 (RXD) ' Request To Send --> 27937.6 (CTS) ' Receive Data <-- 27937.5 (TXD) ' Clear To Send <-- 27937.2 (RTS)
' -----[ Constants ]------------------------------------------------------Baud CON 84 NumSamples CON 10 ' Serial Baud Rate 9600 bps (BS2) ' Number Of Samples To Log
' -----[ Variables ]------------------------------------------------------buffer index ioByte counter result work flag flag2 VAR VAR VAR VAR VAR VAR VAR VAR Byte(15) ' Input Buffer Byte ' Index Variable Byte ' Input/Output Storage Word ' counter Word ' Sensor RCTIME Result Word ' Work Variable Bit ' Event Status Flag Bit ' Event Status Flag 2
119
DEBUG CLS, "Memory Stick Datalogger Demo V1.0", CR, CR, "Initializing..." PAUSE 200 ' Allow Time To Settle HIGH TX LOW RTS ' Initialize Transmit Line ' Take Vinculum Out Of Reset
PAUSE 600 ' Allow Time To Settle DEBUG "Done!", CR, "Synchronizing..." DO SEROUT TX\CTS, Baud, ["E", CR] ' Sync Command Character GOSUB Get_Data ' Get Response PAUSE 250 LOOP UNTIL ioByte = $0D ' Wait For Carriage Return DO SEROUT TX\CTS, Baud, ["e", CR] ' Sync Command Character GOSUB Get_Data ' Get Response PAUSE 250 LOOP UNTIL ioByte = $0D ' Wait For Carriage Return ' -----[ Program Code ]---------------------------------------------------Main: DEBUG "Done", CR, "Switching to Short Command Mode..." SEROUT TX\CTS, Baud, ["SCS", CR] ' Switch To Short Command Mode GOSUB Get_Data ' Purge Receive Buffer DEBUG "Done!", CR, "Waiting for Memory Stick..." Check_Drive: DO SEROUT TX\CTS, Baud, [CR] ' Prompt Device For Status GOSUB Get_Data ' Purge Receive Buffer IF buffer(0) = ">" THEN ' Check For Ready Prompt EXIT ' If Ready Then Exit Loop ELSEIF buffer(0) = "N" AND buffer(1) = "D" THEN DEBUG "." ' Device Ready But No Memory Stick ELSEIF buffer(0) = "D" AND buffer(1) = "D" AND flag = 0 THEN DEBUG "Connected!", CR, "Accessing..." flag = 1 ' Memory Stick Ready ELSE DEBUG "." ENDIF PAUSE 250 ' Command Retry Delay LOOP DEBUG "Ready!", CR Open_File:
120
DEBUG "Opening Data File..." ' First Delete File SEROUT TX\CTS, Baud, [$07, $20, "datafile.txt", CR] GOSUB Get_Data ' Purge Receive Buffer ' Then Create File SEROUT TX\CTS, Baud, [$09, $20, "datafile.txt", CR] GOSUB Get_Data ' Purge Receive Buffer counter = 0 DEBUG "Open!", CR, CR, "Ready to Write Data...", CR flag2 = 1 HIGH 6 Write_Data: PAUSE 30
flag2 = 0 counter = counter + 1 HIGH Sensor PAUSE 10 ' Wait 1 ms RCTIME Sensor, 1, result ' Measure Discharge Time DEBUG DEC5 counter, " unit ", " --> ", DEC5 result, CR ' Display Results SEROUT TX\CTS, Baud, [$08, $20, $00, $00, $00, $0D, CR, DEC5 counter, ",", DEC5 result, CR, LF, CR] LOW Sensor PAUSE 5 ' Write Results/Delay GOSUB Get_Data GOTO Write_Data ELSE DEBUG "." PAUSE 5 GOTO Write_Data ENDIF ' Purge Receive Buffer
121
ELSEIF IN2 = 0 THEN flag2 = 1 DEBUG "." PAUSE 5 GOTO Write_Data ELSE PAUSE 5 GOTO Write_Data ENDIF ELSE PAUSE 100 GOTO Close_File ENDIF Close_File: DEBUG "Closing Data File...Program Complete!" SEROUT TX\CTS, Baud, [$0A, $20, "datafile.txt", CR] GOSUB Get_Data ' Purge Receive Buffer STOP ' -----[ Subroutines ]----------------------------------------------------Get_Data: index = 0 ' Reset Index Pointer DO ' Receive Data SERIN RX\RTS, Baud, 100, Timeout, [ioByte] buffer(index) = ioByte ' Add Received Byte To Buffer index = index + 1 ' Increment Index Pointer IF index > 14 THEN Timeout ' Check For Overflow LOOP Timeout: RETURN
122
123
124
https://www.misumi-ec.com/euro/egrmen/ItemDetail/10300244760.html
125
126
127
128
129
130
https://www.misumi-ec.com/euro/egrmen/ItemDetail/10300248260.html
131
https://www.misumi-ec.com/euro/egrmen/ItemDetail/10300251150.html
132
Bolts for Fastening Caster Wheels to the outside surface of the device
(M4, Length = 20) (QUANTITY = 12)
https://www.misumi-ec.com/euro/egrmen/ItemDetail/10300244850.html
133
134