-
Drive and angle measurement considerations
03/31/2017 at 20:11 • 1 commentThe SRLS determine the position only based on an angle measurement. As further the robot is away as more demanding such a angle becomes. E.g. the robot is 5 meters apart from the SRLS one degree of error result in a 9cm positioning error. This isn’t a problem in respect of the theory as the angle under which reflection appears smaller gets as further the robot is away from the SRLS. But on the other hand it requires a high accurate measurement of the turning angle of the SRLS itself. The measurement of that angle is matter of the following considerations.
In the basic sketch the drive for the SRLS is thought to be internal, in order to keep the entire device compact. The necessary gears are difficult to get but easy to print with a 3D printer (gears with m = 1 are very simple to print). But a printed gear leads of a fairly big clearance. That’s so far no problem but leads to an arrangement in which the angle is measured direct on the body which have a fix connection to the laser. The following principles could be applied:
There are generally 3 principles come straight to my mind:
High accuracy rotary encoder, forked light barrier and hall element
For the magnetic and light measurement either magnets or slots can be made into the body of the SRLS. Let’s imagine a slot would be visible to detect with a width of 1mm and need to have a distance of 2mm to the next for appropriate 3D printing (the same would works with the Hall effect element if we can get 1mm magnets).
In this case the SRLS diameter would become 34cm (!).
To void such a big diameter three rows with 1mm displaced slots could be made. This would lead to a diameter of about 11cm. This is visible but still too big for my propose.
A high accuracy 2 phase rotary encoder reaches easily a resolution of 1° Deg. but is also pretty expensive. The only way to make a fix connection to the body is to place it in the axis. According my the primary sketch is there the slip ring and to put it from the top is no alternative as a potential holder would block the laser beam at a certain place. Therefore this arrangement leaves only two alternatives: Either using a slip ring with a hole in the middle – An option which increase the costs enormous – or make the body not fully turn able and let it only swipe left and right.
The pretty precise solution is to take a timing belt and move an external wheel. The arrangement works pretty much without clearance but makes the SRLS more bulky.
When we assume the body diameter of about 76 mm would it be possible to make 120 teeth with a 2mm pitch into the drum. For the other side a 12 teeth pulley is easy to get for a GT-2 belt. But however for a proper operation a minimum of 60 mm distance between the center of the body and wheel should be made and a pulley with minimum 20 teeth should be used (otherwise not enough teeth are in mesh).
Considering all this a slotted disc (slots for the light barrier) would require having a diameter of 57,3mm for a resolution of 1° Deg. This is quite bulky and lead even to a > 65mm distance pulley body. But here as well three discs with 1mm displaced slots can be used. Using this we can realize the measurement with 20mm discs at this place or the use of 40mm discs which leads to a resolution of 0.5° Deg and a all in all visible arrangement.
Of course if this is the best solution, to put the drive external as well could be considered.
-
Bandwidth visibility considerations
03/30/2017 at 19:54 • 1 commentIn Log(1) I checked the impact of using retroreflectors. As the plots of the DSO were not really as expected I got some doubts about the possible signal quality can be achieved.
The response of the receiver shows rather an “edge-something” than a proper signal which leads to questions about the potential bandwidth. I used for this test a Cds photoresistor these photoresistors have a good sensitivity but the datasheet says that they have with 20ms-30ms terrible rise and fall times. This explains the measurement pretty well but also proofs the impossibility to use them for such an application.
I assume a photodiode would work much better for this purpose. As I hadn’t any I’d remembered that a LED in reverse operation should do the same function as the theory says. But that’s theory and I couldn’t make it happen, so back to the visibility proof on paper.
Reaching high bandwidth with optical receivers is general no question as fiber optic receivers can operate with some GB/s. The question is whether and how this is reachable for a maker at low cost. An optical receiver in the communication uses often a TIA (transimpedance amplifier) to amplify the signal coming from a photodiode (PIN-Diode).
Such a combination of TIA and PIN-Diode is available with the OPT 101 (a transparent integrated circuit) – which would be the easiest way. In such a configuration the “gain” is defined with the Rf as Vout = Rf * Iin. Therefore the OPT 101 has an integrated 1M resistor which can be connected in the feedback loop. With this default wiring, the arrangement would achieve a bandwidth of 14MHz which isn’t sufficient as the LRLS require a bandwidth of about 100-200MHz for a 5m distance (without retroreflectors). The Op-Amp theory allow to achieve a 10 time higher bandwidth, if the gain is reduced by the same factor (as long the Op-Amp can do it) - which means in this case to use RF=100k instead.
This isn’t confirmed by the OPT101 datasheet. It predicts only a bandwidth of 44kHz in this case. But the limiting factor isn’t the Op-Amp, it’s the PIN-Diode as it has a high capacity of 1200pF.
Back to square one we need a PIN-Diode with a fairly low capacity and a reasonable fast Op-Amp. To calculate the bandwidth in a close formula isn’t that simple but I found an estimation in one of TI’s application note. (GBWP = gain bandwidth product)
If a fast Op-Amp is used (like e.g. the OP 37) the major impact comes from the PIN-Diode capacity and the gain bandwidth product of the OP-Amp. An example of an easy to get and cheap PIN-Diode is the BPW34 with a capacity of about 40pF. A TIA arrangement consisting of a BPW34, an OP 37 and an Rf = 1MΩ should provide a bandwidth of about 800kHz. This makes it visible to build an working receiver stage for about a dollar.
-
Investigation with retroreflector
03/28/2017 at 19:50 • 0 commentsRadomir came up with the great idea to use a retroreflector instead of the chrome cylinder I had in my basic concept. As Radomir mentioned you can get then as such a reflective stick e.g. for bicycles. Although I'm just in the concept phase and have whether the electronics nor the mechanics ready here is a very basic investigation:
The setup is a line laser which rotates, a LDR and a DSO.
Of course doesn't the setup works for high frequencies. In front the cylinder on one side with the sticker (which are fairly expensive!) and on the other side bare.
The response with sticker:
and the response without sticker:
resp. the response without sticker with a lower time base:
My setup isn't usable for high frequencies and my workbench scatter a lot of light back. That's why anything else than a proper pulse is shown on the DSO. But however it shows clearly that the pulse with the sticker becomes wider and it looks that the sticker reflects even a little bit more light. So great idea that really works. It adds a lot of visibility to the concept as reflectors with a far bigger radius can be used which lowers the frequency resp. increase the potential rotation speed .