Difference between revisions of "HANcoder/Training Material/Highwaysurfer"
Line 196: | Line 196: | ||
=====''Ultrasonic sensor setup''===== | =====''Ultrasonic sensor setup''===== | ||
− | A piece of sheet metal (500x50 [mm]) is needed to create the bracket for the ultrasonic sensors. This bracket will be clammed on between the bottom panel and the 20x20 [mm] profile. The ultrasonic sensors are screwed on the bracket and the wiring goes thru the slot that is created by the piano hinges up top.AND PICTURE FINISHED WITH SENSORS) | + | A piece of sheet metal (500x50 [mm]) is needed to create the bracket for the ultrasonic sensors. This bracket will be clammed on between the bottom panel and the 20x20 [mm] profile.<br> |
+ | The ultrasonic sensors are screwed on the bracket and the wiring goes thru the slot that is created by the piano hinges up top.AND PICTURE FINISHED WITH SENSORS) | ||
+ | <table border="1"> | ||
+ | <table align="right"> | ||
+ | <tr> | ||
+ | <th>Bracket</th> | ||
+ | <th>Bracket with sensors</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>[[file:Ultrasonic_sensor_bracket.jpg|250x200px|Figure 11]]</td> | ||
+ | <td>[[file:Ultrasonic sensor bracket complete.jpg|750px|Figure 12]]</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
− | |||
=====''Lane change mechanism''===== | =====''Lane change mechanism''===== | ||
Within the bridge the lane change mechanism located. To create this, you need the following items: | Within the bridge the lane change mechanism located. To create this, you need the following items: | ||
Line 216: | Line 237: | ||
====Assembling==== | ====Assembling==== | ||
− | + | <table border="1"> | |
+ | <table align="right"> | ||
+ | <tr> | ||
+ | <th>Bracket</th> | ||
+ | <th>Bracket with sensors</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>[[file:20x20 profile.jpg|250x200px|Figure 11]]</td> | ||
+ | <td>[[file:Bridge_cover_assembly.png|250x140px|Figure 12]]</td> | ||
+ | </tr> | ||
+ | </table> | ||
− | + | Use the same aluminum profiles as the conveyor belt box to attach all the panels to each other. <br> | |
+ | On top of the front panel the piano hinges are mounted to create the cover. (ADD 2 PICTURES: HINGES AND PROFILES) | ||
− | For the lane change mechanism, the 2 tooth wheels are fitted, one on the potentiometer that reads the position of the car and the other one on the step motor that creates the linear movement. The custom bushings are needed to get the tooth wheels fitted on the step motor and potentiometer. | + | To mount the lane change mechanism a bracket is needed. The dimensions of the bracket are located on the drawings.<br> |
− | On the bottom of the bridge a switch is mounted to turn on the demo. | + | The bracket is laser cut. The slots are used to tension the belt.<br> |
+ | On the other side, there is a hole for the potentiometer. | ||
+ | For the lane change mechanism, the 2 tooth wheels are fitted, one on the potentiometer that reads the position of the car and the other one on the step motor that creates the linear movement.<br> | ||
+ | The custom bushings are needed to get the tooth wheels fitted on the step motor and potentiometer. <br> | ||
+ | On the bottom of the bridge a switch is mounted to turn on the demo. | ||
+ | <table border="1"> | ||
+ | <table align="right"> | ||
+ | <tr> | ||
+ | <th>Bracket</th> | ||
+ | <th>Potentiometer</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>[[file:Lane_change_mechanism_bracket.jpg|250x200px|Figure 11]]</td> | ||
+ | <td>[[file:Top_view_potentiometer.jpg|250x120px|Figure 12]]</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | The custom bushings are needed to get the tooth wheels fitted on the step motor and potentiometer. <br> | ||
+ | On the bottom of the bridge a switch is mounted to turn on the demo. | ||
− | The clamp that is used to hold the car is made from sheet metal and a threaded bushing. The pieces of sheet metal are cut and clammed together with the chain links around the belt with the m4 screws and nuts. | + | The clamp that is used to hold the car is made from sheet metal and a threaded bushing. <br> |
+ | The pieces of sheet metal are cut and clammed together with the chain links around the belt with the m4 screws and nuts. | ||
Drill a hole in the roof of the model car and place the threaded bushing. Then a piece of wire rod is used to connect the car to the clamp on the belt. | Drill a hole in the roof of the model car and place the threaded bushing. Then a piece of wire rod is used to connect the car to the clamp on the belt. | ||
− | + | ||
+ | |||
+ | |||
+ | <table align="right"> | ||
+ | <tr> | ||
+ | <th>Exploded view lane change mechanism</th> | ||
+ | <th>Bushing</th> | ||
+ | <th>Clamps</th> | ||
+ | <th>Belt clamp</th> | ||
+ | <th>Car</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>[[file:Exploded_view_lane_change_mechanism.jpg|600x150px|Figure 11]]</td> | ||
+ | <td>[[file:Treaded bushing.jpg|600x150px|Figure 11]]</td> | ||
+ | <td>[[file:Chain_link_clamps.jpg|600x150px|Figure 12]]</td> | ||
+ | <td>[[file:Assembelt_belt-clamp.jpg|600x150px|Figure 12]]</td> | ||
+ | <td>[[file:Car construction.jpg|600x150px|Figure 12]]</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
==Electronical== | ==Electronical== |
Revision as of 10:52, 7 June 2017
Introduction
The HAN-AR have two model based development tools, HANcoder and HANtune, that they would like to promote. In order to do this a new demonstration model was required. This is what the project team Highway Surfer has created. The model will showcase the abilities of the tools and will act as an eye catcher at tech fairs and conferences that the HAN-AR attends. With the help of this document people who are interested in recreating this project or start their own projects will be able to see what the steps involved are, the materials required and the capabilities of the tools, HANcoder and HANtune.
This project was started with the help a template. This template can be downloaded from the following link:
On this wikipage, you can find the building process for the mechanical parts, the wiring and other processes for the electronics, and the logic for building the software algorithm. To make it easy for the consumer, we have an easy to understand order list with relevant links.
Materials Required
In the Appendix, a detailed order list has been attached. However, a simple list is added in each subchapter to tender to specific parts.
Hardware parts
Local hardware store:
- 5.5 [mm] multiplex
- Aluminum L-profile 20X20 [mm]
- Bolts, nuts
- PVC tube (80mm diameter x 1m length)
- Grip material for the PVC tubes
- Conveyor belt
- Axes
- End pieces’ roll (wood)
Online webshop:
- Bearings
- Gears/pullies and belts, for the drivetrain and lane change mechanism:
Electrical
Online webshop:
- Olimexino STM-32 board
- Stepper motor-driver
- Ardumoto - Motor Driver Shield
- Transformer
- Transistor 7805
- Female power connector for Olimexino
- 6x Screw terminal block 1.50 [mm²]
- Mini fuse 2 [A]
- Mini fuse 5 [A]
- Resistor 10 [KO]
- Resistor 1 [KO]
- Capacitor 0.33 [µF]
- Capacitor 4,7 [µF]
- Capacitor 22 [µF]
- Zener diode 18 [V]
- Wall socket (220 ~ 230 [V])
Sensors
Actuators
Software
- MatLab-Simulink
- HANcoder
- HANtune
HANcoder and HANtune are available at OpenMBD. (On the website is a download manual for all the software.)
Mechanical
For the mechanical design the dimensions can be found in the CAD 2D drawings, which can be downloaded from the website [link here]. When all the parts are cut, they can be assembled. In the exploded views in this document the exact order of assembly is explained.
Conveyor belt base
Housing
To build the housing of the conveyor belt you need following items:
- 3x multiplex plates of 1220x610mm with a thickness of 5,5 [mm].
- Blueprints of the individual panels for the dimensions.
- Saw or something to cut the wood.
- Bolts(m5)
- L-profile(3000x20x20 [mm])
- Measuring tape
- Wood drill
Cutting
To get the right dimensions for this DEMO a LaserPro X500 was used which can be seen in figure 1.
The Solid Works drawings of all the wooden parts are send to a device that runs 'Corel Draw X8' which can be seen in figure 2.
The process can be seen in Figure 3. We chose this option to get a cleaner finish. Of course, there are other ways to get the panels to the right dimensions.
L-profile’s and drilling
The following L-profiles need to be cut- 2x540mm 5 holes per plane
- 4x100mm 2 holes per plane
- 2x460mm 3 holes per plane
- 10x50mm 2 holes per plane
Some holes need to be drilled in the L-profiles to match the bolts, for this DEMO 5mm. Be aware that the holes in the two planes are not on top of each other, see figure 4.
Assembling
Place the plates with the L-profile against each other and mark the holes.
Do not forget witch L-profile you use, every profile is slightly different even with the best measurements.
Continue by drilling the marked holes in the wood and assemble the parts with bolts and nuts. Start from the bottom and work all the way up.