Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In digital
communications, differential coding is a technique used to provide
unambiguous signal reception when using some types of modulation. It
makes data to be transmitted to depend not only on the current bit (or
symbol), but also on the previous one. The common types of modulation
that require differential coding include phase shift keying and
quadrature amplitude modulation. To demodulate BPSK one needs to make a
local oscillator synchronous with the remote one. This is accomplished
by a carrier recovery circuit. However, a carrier can be recovered in
different ways, depending upon a valid phases count (2 for BPSK).