Today, emerging industries of air and ground unmanned vehicles require reliable, high-precision positioning. Applications on mobile devices also require higher positioning accuracy. These funds should be small-sized, low-consuming and cheap. Until now, there was a gap between these new requirements and product characteristics and prices. The giants of the navigation industry did not want or could not offer products with the required properties.
Now the situation is beginning to change rapidly.
Roughly speaking, positioning is accurate to centimeters. This problem can be solved in the local zone, that is, with the support of some base stations, or without support, that is, on a global scale. Each of these tasks can be solved in real time or by recording, that is, in pending mode. The main problem that is overcome on the path to accuracy, physical - the instability of the electromagnetic wave delay in the
ionosphere . To compensate for the ionospheric error, which reaches two meters, they use either simultaneous reception of a satellite signal at
different frequencies , or corrections from base stations when receiving at the
same frequency . The main advantage of a dual-frequency receiver in the absence of the need for a network of base stations. Naturally, it is possible to mix technologies, that is, for example, a two-frequency system using corrections from a base station, where two frequencies are used to accelerate the convergence of the navigation solution and to increase its reliability as satellite signals become available.
')
The hardware of high-precision receivers, including multi-frequency and multi-system receivers, has been tested for decades and its cost is low. Big kilobaksy, which today are dual-frequency receivers from market leaders, are mainly obtained for the developed software.
Despite the fact that the main complexity of high-precision equipment lies in the software plane, it all started with hardware simplification. The Minsk company NTLab has developed and launched into serial production the NT1065 microcircuit - a multi-system multi-frequency radio receiver. Roughly speaking, this thing turns signals from one or several antennas, up to four, into digital samples. It covers all existing and planned frequency ranges of satellite navigation systems. These systems and frequencies are listed in detail
here .

Option frequency plan
NT1065After the introductory part of the examples of new high-precision positioning tools, I will tell you about the experience of designing a device on the NT1065.
This part about different firms may seem boring. Carefully, there are no pictures there.As usual, first start-up companies climbed into this adventure. I do not know who exactly was the first of these two, I will name in the order in which I noticed their announcements. The first one is Swift Navigation, a start-up company, but already fairly generous. She is involved in RTK solutions (RTK is a high-precision real-time positioning system using base stations), started on Kickstarter with an open-source single-frequency RTK device. Today they offer the Piksi Multi device, which works in the L1 and L2 ranges and provides centimeter accuracy for only $ 595. For an amount of less than $ 2,000, you can take two sets with RTK antennas and a communication system for transmitting amendments. I think this is a big concern for market giants.
The second company is Tersus GNSS. The receiver boards do not look different from the Swift Navigation boards, the same FPGA Zync is viewed. There are also sets with antennas and a communication system. Here are more colorful descriptions of new features that equipment provides for unmanned tractors and copters. They have a receiver version with two antennas for building goniometric high-precision receivers. Such receivers accurately calculate the true course of the vehicle, which is not always necessary, but it is very difficult to calculate it by other means.
Thus, these two companies are slowly eating off a piece of the pie of the giants of the industry, while they rest on their laurels. Both firms did not disclose the radio microchip used in the technology and made such a rapid entry into the giants' markets, but in terms of the dimensions of the devices it can be understood that this is the NT1065.
A few months later, the industry giants realized that if they were already developing something revolutionary, then it was time to announce it all, otherwise everyone would simply assume that they had left in an unknown direction and would stop looking at their website.
Trimble has announced the Catalyst product. They immediately grasped the essence of the revolutionary process - there will be less and less opportunities to receive profits on iron. Therefore, they made the positioning accuracy of the service, service. It will be enough for the user to buy a piece of iron for $ 350 and pay a monthly fee for accuracy when it is needed. From meter accuracy for 40 bucks from a month to a centimeter for 350. At the same time, their piece of iron already contains an antenna and is connected directly to a mobile device via USB. Supposedly the piece of iron only transmits the digitized signal, and the smartphone or tablet is executed by a software receiver (SDR - software defined receiver). It is not clear how they do it, a large computer shuts up from the navigation SDR. They write about some special mobile devices on which their software should work. One expert on GPU computing said that it could be OpenCL on mobile devices (I didn’t find much information, if someone knows, please share). But this is a real revolution! Though they are not the first, they have much more chances to get primacy with such a thing than the first two.
Trimble surely has its own solutions for a radio receiving chip, but it is quite possible that it was more profitable for them to install the NT1065 too. Although there is money to count, it turns out that it would be cheaper to make such a RPU on a payload. But laziness is the engine of progress. Everything stood still, until the chip appeared, which is very easy to put in the cart.
We proceed to the manufacture of the main weapon of the revolution. The main ingredients are two -
alcohol and water NT1065 and USB3 controller CYUSB3014. With the latter, many encountered on all sorts of SDR-cards, and if they did any high-speed input into the computer. The piece is not very simple for a beginner, but if you look into it, then you can connect any sources of speed stream to the computer. About her, if necessary, the reader can search the net. The main thing for this venture is the GPIFII interface of this controller, which allows connecting high-speed stream sources without additional components.
Consider what kind of beast is NT1065? What horizons does the developer discover for himself, having such a thing? How easy is it to learn?
In general, this is such a thing:

Four channels of reception with separate inputs and two local oscillator, which can flexibly record channel mixers. You can output signals in digital and analog form. Thus, it is possible to implement both the tuning of each channel to its own signal (with some restrictions) and the synchronous reception of one signal to spaced antennas or an antenna array.
Now go through the details. At first glance, the power supply is strangely made - only one leg of the chip. But with the layout, this oddity turned into a pumpkin advantage. Although these guys recommend four layers in datashit, I easily folded in two! With any more or less leggy bourgeois microcircuit is so I could not.

Further, they in the datasheet recommend dividing the lands of each channel so that the transient attenuation is greater. I was almost killed and made such an option, but I did not see a significant increase in the junction of the channels. Either measured wrong, or did wrong. In general, the best is the enemy of the good.
So, the power is from 2.8 to 3.3 Volts, the current is only 100 mA maximum. The truth is to choose a power source with low noise. DCDC is not suitable here. The reference generator also needs a low-noise, with good frequency stability and temperature-compensated. Standard settings support 10 MHz and 24.84 MHz. To use a different nominal frequency opornika, you need to contact the developers.
The output interface is also very simple - clocks and data. There are only two ADC digits in each channel, a sign and a magnitude that put me into a state of swagger for a short time (at the last job I got used to 16 digits), but this turned out to be quite enough. But the sampling rate is up to 100 MHz. We get clocks on the clock input of the GPIFII interface of the CYUSB3014 controller, and data on the data input. It is also necessary to get SPI to control and carefully, under the guidance of the datasheet, do the wiring and impedance matching at the input of the RPU and the revolver is ready.

NTLab has a complete scheme for this board.
With software it is even easier, to take a stream from Cypress FX3 on any OS is very simple: you can use libusb for Windows and Linux. You can also use Cypress native driver for Windows - no difference.
At the moment I have a set of software (laid out on GitHub, look for the word NT1065).
The main tool is a pair of programs. One of them is able to reliably register a continuous signal from a chip to a disk, and the second one is suitable for diagnostics and demonstrations.
It is possible to see the spectrum of the input signal (you can give a signal from the generator, who has).

After connecting the antenna using simple methods, you can detect satellite signals.

And not only GPS, but also GLONASS at L1 frequency. And even GLONASS at L2 frequency! Unlike the Americans, ours transmit open source standard precision on L2 too.
So that you can choose GPS / GLONASS L1 / L2 directly from the program and see the correlation - this is what I’m going to integrate the other day, there’s half an hour to do (now I correct the code for each case with handles).
Now we are working on the Android version.
Now your possibilities to conquer the world are limited only by your ability to invent and realize a revolutionary satellite navigation device!
PS
This article is a continuation of the
previous one in the sense that here the means that will be used to combat the interference with navigation receivers are considered, which I hope to write about soon on Habré.
What remains unclear to me personally: how does Trimble do this navigation SDR on a mobile phone? At first I thought it was incredible, but then they sent me a
sign indicating the performance of modern mobile computing devices. Therefore, I want to ask people about OpenCL-like technologies for mobile devices. Is there someone who used them? I found theoretical performance in parrots, but are there any tests of mobile GPUs in such tasks as, for example, FFT?
I apologize, the previous paragraph about Trimble and OpenCL may be incomprehensible, because the text about Trimble is higher under the spoiler, as boring as possible. If anyone was interested, read at the top.
Well, the poster is quite aggressive and does not exactly correspond to the period in the history of Russia indicated in the title. What can't you do for blunt words?