📜 ⬆️ ⬇️

The Ruby project is a new LTE router: what's inside and how we designed it



Hello!
My job is product development at Yota Devices. We have released a new LTE router, which polished everything to the smallest detail. The development of iron was carried out in Russia, our low-level software (on top of the Qualcomm SDK), the board together with the manufacturer in Taiwan, the antennas are our Finnish department (our engineers made the antennas of most Nokia tubes).


')
I think you will be interested to know how was the development. I'll start with a description of the device. First, it is a router that receives a 4G, 3G or 2G signal and distributes Wi-Fi. Secondly, Ruby (the so-called device) can be inserted into USB and work like a usual LTE-modem. Thirdly, the router can work without external power. Inside there is a battery that allows you to work in the car, in the park, in the country or just distribute the Internet from a backpack while walking.

Carefully, under the cut traffic - a lot of photos

Previously, it was the battery that was the most problematic module of the past generation LTE modems and routers. Usually, the charge lasted for 2-3 hours, which is absolutely unbearable: most modern laptops, all tablets and phones run on battery for much longer. Therefore, our main and most difficult task was to optimize the power supply of the new device.

But I'm running a little ahead. I’ll come back to the issue of nutrition a little later, but for now let's see what Ruby looks like.


In the picture a new device - Ruby - and another today's release.

The router is delivered in a strong rigid box with a cable and instructions. The order of installation corresponds to the order of use: first, the device itself, to take and connect. The rest is in most cases no longer needed. But if you suddenly want to read something, then the next layer is the instruction. Under it is a cable - in case you need to use micro-USB.



This is how the device looks stuck in USB. Now there are 0 network connections, and charging has just begun:



Our USB connector goes into the case:



This is how it looks on the assembled device:



And so (below) with an open case. We love to work through all the little things, so the connector has several features. First, it hides the SIM compartment. Secondly, the connector is made of durable metal, so breaking it with your bare hands will not work, you will need large pliers and five minutes of work. When we developed the design, we imagined that someone would like to play with the connector, opening and closing it twenty times a day for 3 years. Thirdly, the connector has small protrusions on the edges that will not allow the device to be inserted into the USB port upside down. And, fourthly, the plastic strap on top protects from accidental grounding on the case (a rare but real case).



If the connector is completely closed, the micro-USB input opens, where you can also connect the cable for charging or accessing the modem directly.



From the end of the display with indication (shows the charge, the number of connections and the type of network) plus a three-way switch.



In the middle position, the device in the hybrid sleep analog is “off” for the user. We shift to the left - we receive one Wi-Fi network with the password set earlier, all as on usual routers. At the same time, a blue dot is visible - it is not only a reminder of the mode, but also a reset.



We shift to the right - the device creates (or continues to maintain) a private network and opens another one without a password (with a different SSID) for your friends.

Now we will get inside.



The case, which we will now completely remove, from durable plastic, on top of which - UV-coating to protect against minor scratches. Here is a device without a case:



But a separate body and end plate. Over it, too, had to work. At first we wanted to use durable structural plastic for the strap. But on the prototype we were convinced that the device could not be assembled so that it immediately created a sense of integrity in the hands. It turned out, as with some phones from China - try to twist, but it squeaks. Therefore, we replaced the materials, and now the plank is made of polyamide with fiberglass. Fits into place like a glove.



The switch is also very cleverly arranged inside. We have long picked up a scheme that accurately withstands thousands of switching. Happened.



Now back to the disassembled device. Here is the SIM card compartment:



Side - antenna. By the way, the development of antennas is a separate story. In Ruby, we have thought them out on our own, drawing on the experience of the best domestic radio engineers and engineers of our Finnish office, who used to make radio electronics for phones all over the world. In general, the reception and transmission is now much more confident. Yes, the device works equally well with the signal at any position in space: the radiation pattern is almost even.



Antennas of different ranges in different parts of the body. Ruby selects the fastest channel available.

When switching between 4G and 3G / 2G, the indicator on the lid changes its color with a gradient, which looks very nice. The photo below shows the LEDs that illuminate the indicator on the cover and connect them on top of the battery. The black LEDs themselves:



Options


Dimensions 97 x 66 x 13 millimeters.
Chipset Qualcomm MDM 9215.
The display is a segmented E-Ink and lightguide on the front side of the device.
Communication : Wi-Fi - 802.11b / g / n, LTE: 800 (B20), 1800 (B3), 2100 (B1), 2600 FDD (B7 - in the Russian Federation only B7 / B20) and 2600 TDD (B38), UMTS : 900/2100 Mhz, GSM: QuadBand (800/900/1800 / 1900MHz).
Battery (2100 mAh) - 10 hours of streaming video, 20 hours of normal surfing, 60 hours of standby, or 39 days of analog hybrid sleep.

Battery tests


Often, manufacturers claim battery performance on synthetic tests in the laboratory, where everything is perfect. We were also interested in real life, so we conducted tests in a regular office in Moscow:

- First round.
We took the iPhone 5, set the screen brightness to 70%, turned off Bluetooth, but left 3G and Wi-Fi turned on. Ruby and iPhone both fully charged and stabilized, then simultaneously removed them from charging. We turned on Ruby, the iPhone connected to it via Wi-Fi, and then we launched an HD video from Youtube and waited. The first after 8 hours of the marathon, the smartphone surrendered, at Ruby at that time there was still 12% of the charge, which was enough for another 2 hours of work.

After looking at the logs, we realized that the download of the router was incomplete, because the video can be cached, which allows you to quickly download large fragments, and then for a few minutes not actually use the external channel. This is the standard video consumption profile, but we wanted to look at the behavior of the router with a high load. Therefore, we have started the second round.

- The second round.
We took a live broadcast in HD (it requires a permanent connection and loads the network heavily) and began to watch it on a MacBook Pro with a 13-inch screen. The laptop gave up after three and a half hours, while the router still had 53% of the charge. We connected the MacBook to the outlet and “finished off” the charge of the router - it lasted for 8 hours.

- The third round.
The next in the ring came Huawei E5776. To him and to Ruby, we connected two iPhones, which first called via Skype at each other, and then looked at the cards, Facebook, browsed, and so on. In general, they did what people usually do in a cafe or car. Huawei finished work in 10 hours and 30 minutes, using its 3,000 milliamperes. Ruby lasted 15 hours, using 2100 milliamperes - this very clearly shows the optimization result described below: we can say that Huawei consumed energy by 70% less rationally.

What have we done with nutrition?


Walked through all levels of architecture:


The speed of the charge is important. Sometimes I wake up and after 10-15 minutes I run out of the house, having only had time to brush my teeth. Therefore, I wanted very much that the router discharged in the evening would not become an unpleasant surprise in the morning (as is sometimes the case with a telephone). For this, in addition to a high-quality battery, we also installed a smart controller in Ruby, which is usually used only in expensive smartphones.

The fact is that usually the device takes 500 milliamperes when charging via USB, and even if the source is ready to give more, the controller does not increase the charge current. Our circuit is different: the charge starts at 450 mA and the voltage is measured. The controller then increases the charge current by 100 mA and measures the voltage again. At the moment when the voltage drops (for example, standard 1A charging, this happens when switching from 900 mA to 950 mA), the controller rolls back to the last step with a stable voltage and stops there. As a result, the Ruby laptop charges up to 70% in 1 hour. For me as a user, this means that in those 10-15 minutes after the climb, during which Ruby is connected to USB, I get more than an hour of battery life.

I also mentioned above that the device “falls asleep” when there is a connection to an external channel (for example, 4G), but there are no users on the Wi-Fi network. So, in this mode, Ruby calmly continues to send beacons, allows you to connect to the network - and at the same time it runs on a full battery for a couple of days. If the device is turned off, it will switch to the analog hibernate - all the radio will turn off, the processor will go to sleep, but the memory will continue to be powered. It is necessary for the device to turn on and load in 2-3 seconds, and not in a couple of minutes, as different LTE routers used to be. In this mode, the device works without recharging for up to 39 days. Then, with a low charge, the controller turns off the power and the router with the actual 2-3% (on the display - 0% charge) continues to lie for about a year or two without a deep discharge.

In general, we should stop here, but we wanted to make a really good device. And at this stage we were tormented by the following question: what if the user does achieve a deep discharge? It is clear that our smart controller is able to very accurately take readings from the battery (after all, we need a charge indicator in percent), can turn off the device if the battery is nearing deep discharge, is able to ensure that the next power-on happens only with external power. But even all this does not exclude the possibility that a deep discharge can happen anyway. You can forget the device anywhere on the shelf for a couple of months, take it with you on a polar expedition, or survive a nuclear war with it . And I would not want my device to let me down even in this situation. Therefore, the battery controller has another emergency mode: when it detects a deep discharge, the first time the power is connected, the trickle charge starts - the minimum charging current that allows the battery to be “pulled out” and reanimated. That is, the router can be used further.

Of course, it was important for us not only to make Ruby work for a long time, but also to make it easy and convenient to charge. To do this, we immediately got rid of all possible charges - the device simply plugs into a standard USB or, if it is suddenly busy, or you don’t want to keep the router on the table, it connects via micro USB.

When power is applied to the device, it switches to the “I am at home” mode and distributes Wi-Fi approximately 60 meters in a straight line. When the external power is turned off, the device distributes Wi-Fi about 5-10 meters in a straight line. This, by the way, is also part of power management.

Younger brother


Everything is simple, we also released a traditional modem + Wi-Fi, only in a new assembly and with a new antenna.





And here is the link to Ruby and the new modem on the Yota site. The commercial name of the router for this operator is Yota Many (note that this operator already has a SIM card sold, which means you will need a passport when you buy it).

I am pleased to answer your questions and, if interested, I will tell you later how we made antennas for new devices - this is a whole separate IT detective story.

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


All Articles