📜 ⬆️ ⬇️

Developer Diaries: collect professional underwater robot



On May 15, at the Robostation , a selection stage was held for the World Robotics Olympiad for schoolchildren. In addition, there are a number of similar competitions in the world for various robots. About one of them will be discussed.

MATE ROV is probably one of the most difficult global robotics competitions - it is sponsored by NASA and is dedicated to underwater robots, which are incredibly difficult to create. For example, now the movie “ Robot Life ” is being released in cinemas - it is dedicated to the history of the winners of this 2004 championship.
')
Preparing for such a championship and creating your own robot takes months and is sometimes more interesting than the championship itself, but often remains behind the scenes. We decided to lift the veil over this area of ​​robotics and now we will regularly keep diaries of developers of one team, determined to take the gold in the next championship.

Their robot will be presented at the robotic station, and the design team will hold a master class on underwater robots at the Rooshkol . In the meantime, you can spy on the process of his birth in the laboratory.



Our team bears the proud name of Bauman Gidronav. Last year we had a great trip to the MATE ROV Championship (later we will post a report). This year we had a hitch and the organizers decided not to meet us, having postponed our participation to June 2016. Thus, having signed a death sentence for ourselves, because if we took second place in a couple of months, then in a year we finish the military-level robot. Here is our handsome:


Pay attention to unusual screws.

That's for him, we decided to start the weekly developer diaries on Habré - so that under the public eye there would be no temptation to abandon everything and do it lightly. Plus, we plan to bring our robot to a robot station and give a lecture about it to everyone. We hope our experience and advice will help DIY fans across the country. Today we will talk about screws and electronics.

So let's start with the theory. Everyone has seen the submarine's screws being hidden. What do they hide?


Screw submarine Ash is still secret.

In general, all submarine screws are secret, because one or two photos can reconstruct the sound track of a submarine and easily find it in the ocean of noises. All photos of the submarine propellers on the Internet is someone's gross violation of the regime of secrecy. Maybe they can not be published on the Internet, but we risk.

Screw - the main node in marine engineering. His study and design is such a time-consuming task that we have a separate “Research Institute of Rowing Screws” - the Krylov Research Institute. But at the same time, all our knowledge of screws is purely empirical. There is no mathematical theory describing the ideal screw - there are only aerodynamic formulas and a good old experiment.

In fact, here the naval engineer acts as an artilleryman with ballistic tables — simply by selecting the appropriate model of the ready-made propeller. The main thing in the screws is efficiency and noise level. Civilian is important traction, the military - silence, and all - maneuverability. That is why modern submarines have such thin curved screws - this is a mathematically calculated form for reducing the effects of the so-called. cavitation .


Screw submarine "St. Petersburg" project 677 "LADA"

But you can go the other way - if you add a cover to the screw, then a kind of turbine will come out and you can choose to increase the thrust or greatly reduce the noise level.


Los Angeles-class submarine with screw rim.

But if you really need a turbo screw, pay attention to the brainchild of Soviet engineering genius.


Submarine "Alrosa" with an experimental jet propulsion. Because of the record silence of the move to NATO, the submarine received the name "Black Hole".


Inside the water cannon is essentially the same turbine.

The same is true for hydronautics as a whole - at sound speeds we have the same formulas with conventional aeronautics. Both sciences originate in the old " ballistics " - the name of the science from which physics originated, chemistry and it turns out that hydronautics too. And this science loves to throw away all unnecessary, so the third type of screw was born.



In 2010, the Germans presented Rim-driven thruster - a completely new generation of valve / brushless motors devoid of all the disadvantages of the axial devices we are used to. Their idea is not new to theorists, but the practical implementation has always rested on the absence of sufficiently powerful electronics.

The advantage of such devices is obvious:
  1. The motor and screw represent a single device, which saves space and simplifies construction. It has nothing to break.
  2. Equal thrust in both directions.
  3. Super maneuverability.
  4. Complete silence.
  5. And most importantly - it is impossible to jam. Algae in screws - the main problem of underwater robots is now in the past.



But the disadvantages are not so obvious:
  1. Complex construction. Really difficult to collect it in the garage.
  2. Requires highly reliable high-voltage transistors.
  3. So far, only for small depths, for real submarines you cannot reach reliable transistors.
  4. Rim resistance to water flow reduces power by one and a half.

It's not hard to see that such screws are ideal for underwater robots, especially if you have access to decent electronics. But we decided not to risk with a complex structure and simply screwed the cable from the usual external motor to the screws. I had to go for it just after the last championship. Too tight layout of the robot lowered maneuverability - jet engine overlapped and stuck into the body. From this suffered both speed and accuracy and controllability.


The motors are structurally separated with screws, which made it possible to radically simplify the design.

The new device itself has two front cameras, four horizontal rotor motors, four vertical ones. In the photo, the layout as it was shown in Skolkovo , but since then much has changed. After that exhibition, we have already begun a normal assembly apparatus. The first thing of course was testing the tightness of individual parts of the apparatus. So, for example, passed the test of tightness durable electronics housing.


Formally, this is the body of our robot.

This time we decided to do everything right and switched to technologies that we like. The first thing set normal digital stereoscopic cameras. The last time the cameras were analog and transmitted a signal for one differential pair in an incomprehensible Chinese format through two Chinese non-NIM converters PAL to differential form. In short, crutches that I really wanted to give up.

And once the camera, it means a computer to them and a normal Gigabit channel to it. And if we do the electronics as it should, then the rest will not cut corners, but immediately do as it should. Hence the spacious design and screws with external engagement of the blades. By the way, in Russian there are no names for these screws yet and it seems we are the first to use them on civil projects. We call them hablos because google calls such screws hables propeller, but the nickname “leaky” screw was already firmly established in the laboratory behind it.

Electronics became less and the body of the robot was able to do less. New engines - smaller and more powerful. By the way, the engines were not without cheats.


Our one and a half kilowatt.

Power for all engines - I had to take the military IP for all the rest do not stand up and burn. But it’s impossible to burn Iribis, this is IMHO the most reliable blocks in the world, well, of those that can be bought legally. If you decide to collect the robot - take only them.


And this is what the electronics assembly looks like, well, almost assembly.

The main innovation is the emergence of a central computer. The full-fledged axis and percents pull everything, and the last generation atom was pleasantly surprised - it works faster than my laptop. Able to compile, dare directly to yourself and at the same time capture five cameras, process them and transfer to the shore. And all this time, and fully control the robot.

It is at times easier to write programs, especially in the field of artificial intelligence. Multi-core again help. The computer takes on such programs as getting to the point of work, returning to the ship, following the ship or following the target. These programs are also very important, because in real life, a robot at sea sinks to the working depth of two hours - it would be a shame to pay pilots for this time.

But the main feature of the appearance of the computer is the ability to reflash the main controller in hot mode. This is very important, since the main programs of the robot control system live in it, that is, all those that require a very hard real time. The software is engaged in communicating with the coast and working with cameras, mainly through the measurement module using the optical rangefinder method - since this is the only way to measure something under water. Lasers are not effective, and you won’t get a tape measure at the bottom. Everything is measured through stereoscopic vision.



Logically, the unit is divided into two parts: the video processing unit and the unit control unit. The video processing unit is a single-board computer based on the four-core Intel Atom, which captures video from cameras and transmits it via Ethernet to the shore. The control unit of the device is a stm32 microcontroller in the FreeRTOS operating system, which already controls the entire device and is responsible for stabilization systems.


STM32 is the heart of our robot.

It receives data from the coast from a single-board computer via USART. The connection to the coast is gigabit Ethernet, but in reality the maximum is only about 750 Mbit / s, but this is enough. In addition to the front cameras, the device has 3 more inspection: left, right and rear. Also, the electronics unit can control up to six different devices through PWM. This is the light, the control of the tilt of the front cameras, two grippers and two accessories. It should be noted that all onboard electronics are galvanically fully untied from the coastal part.

However, it was not so easy. For example, our single-board computer made in Taiwan did not always successfully initialize the Ethernet physics controller, from which it had to be replaced with a paired USB 3.0 hub with a Gigabit Ethernet converter. Of course, it was saved that USB 3.0 has a very good data transfer rate, which allows you to capture video simultaneously from two high-quality cameras and transfer it to the shore. I do not want to say anything bad about the Taiwanese manufacturers, but they themselves were surprised by this fault when they found out about it.


And here is the build process. In the photo there are four driver modules, which are connected via RS485 between themselves and with the main controller.

Also, the remote control device has been redone. An additional touch monitor with a larger diagonal and a computer are more powerful for processing video coming from the device.



After a rather interesting and lengthy build process, accompanied by a lot of bugs, we finally swam.



At this stage, we still have a fairly long list of works. For example, it is necessary to finish the planned rotor motors, debug the stabilization system, connect both front cameras, as now only one is used.

That's all for now, stay tuned. Manipulators and control system - in the next post.

PS
If you are fond of or just interested in DIY engineering, be sure to come to the Roosh School , this is now the only place in Moscow where so many enthusiasts assemble their robots and share their experience under the supervision of robotics engineers.

Source: https://habr.com/ru/post/258541/


All Articles