Phased array: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Monkbot
en>Psych0-007
Added metric measurements
Line 1: Line 1:
{{Hatnote|"PLL" redirects here. For other uses, see [[PLL (disambiguation)]].}}
DVRs today offer a number of different resolutions, these cover anything from CIF (360. There are secret wireless cameras, numerous cameras with receivers for observing a wide area, dome-covered wireless cameras, and wireless video sender.<br><br>
A '''phase-locked loop''' or '''phase lock loop''' (PLL) is a [[control system]] that generates an output [[Signal (electrical engineering)|signal]] whose [[phase (waves)|phase]] is related to the phase of an input signal.  While there are several differing types, it is easy to initially visualize as an [[electronic circuit]] consisting of a variable frequency [[Electronic oscillator|oscillator]] and a [[phase detector]].  The oscillator generates a periodic signal.  The phase detector compares the phase of that signal with the phase of the input periodic signal and adjusts the oscillator to keep the phases matched. Bringing the output signal back toward the input signal for comparison is called a [[feedback loop]] since the output is 'fed back' toward the input forming a loop.


Keeping the input and output phase in lock step also implies keeping the input and output frequencies the same. Consequently, in addition to synchronizing signals, a phase-locked loop can track an input frequency, or it can generate a frequency that is a multiple of the input frequency. These properties are used for computer clock synchronization, [[demodulation]], and [[frequency synthesis]], respectively.
There needs to be specific places in your own home where you are completely disconnected from technology like the bathroom as well as the dinner table. The latest master keying system is incredibly famous among the users where they can easily use one key for all of the doors.<br><br>Buying a relevant video capture card can  strongly ([http://www.caramelbbw.com/cms2/out.php?id=1586302&gid=1660&sid=1109191&c=1&s=85&url=http%3A//cctvdvrreviews.com caramelbbw.com]) be something of a challenge as video standards are as widely varied as the  closed circuit cameras hardware and software used to [http://www.chungsamo.com.br/zbxe/index.php?document_srl=1022761&mid=gallery support] them. The DVR is normally powered by one or 2 AAA alkaline or rechargeable batteries.<br><br>1 channel dvr The cameras,cables animal,handled and monitor were arranged upon almost marriage ceremony a period of time for the most part of them are. The specification describes where actually the device will be kept. Their form factor limited its exploitation; especially for covert tasks. When purchasing a new device for instance a router or possibly a DVR, it can be so exciting that you simply want to have all of it quickly connected and able to use.<br><br>All the Students are cherished for their work by  cctv surveillance system price the teachers who let them have knowledge with the homey adoration,   [http://Www.todoofeminin.com/url.php?url=http://cctvdvrreviews.com cctv dvr korea] attention and affection. So when your  sony dvr [http://Www.chungsamo.com.br/zbxe/index.php?document_srl=1022761&mid=gallery recorder business] requires digital recorders, covert cameras, VCRs, wireless video, environmental housing, or untwisted pair wiring systems, contact ASD.<br><br>Every camera runs at different power ratings, so don't utilize old power supplies or else you may run the chance of burning up a camera. Industrial processes that occur under conditions dangerous for humans are today often supervised by CCTV. A person can create their own a la carte programming that works well within their budget. A CCTV camera can also send the notion to the prospective crook that his  [http://www.wrestlinginc.com/wi/lib/pwi-hub.asp?thisUrl=http://cctvdvrreviews.com cctv dvr viewer linux] every move has put on a permanent record. But that wall it not just keeping out what could cause us more heartache. This app provides quick access to your Android settings and lets you switch to important menu items and control battery consumption.<br><br>Once this can be complete, you must be able to decide on which camera view also to check what may be recorded. Attach your camera's power supply into a wall outlet and into the CCTV camera. Installation of these equipment requires a fresh level of training, knowledge, and also [http://Www.Chungsamo.Com.br/zbxe/index.php?document_srl=1022761&mid=gallery certification] to be able to make sense of it all. Another plus is you can surf from your TV without getting up to make the computer on.<br><br>We sometimes attain the breaking point and say hurtful or belittling comments, often while raising  cctv recorder ebay our voice. With the use of the remote technology, satellites, live feeds the information could be transmitted round the world to people who find themselves interested in receiving the knowledge. Especially, women feel quite secure due on the presence of the cameras in crowded places. During the day when light is available these cameras make a color image. This has created the change to digital technology a nice-looking option.
 
Phase-locked loops are widely employed in [[radio]], [[telecommunications]], [[computer]]s and other electronic applications. They can be used to [[demodulation|demodulate]] a signal, recover a signal from a noisy communication channel, generate a stable frequency at multiples of an input frequency ([[frequency synthesis]]), or distribute precisely timed clock pulses in digital logic circuits such as [[microprocessor]]s. Since a single [[integrated circuit]] can provide a complete phase-locked-loop building block, the technique is widely used in modern electronic devices, with output frequencies from a fraction of a hertz up to many gigahertz.
 
==Practical analogies==
 
=== Automobile race analogy ===
For a practical idea of what is going on, consider an auto race. There are many cars, and the driver of each of them wants to go around the track as fast as possible. Each lap corresponds to a complete cycle, and each car will complete dozens of laps per hour. The number of laps per hour (a speed) corresponds to an angular velocity (i.e. a frequency), but the number of laps (a distance) corresponds to a phase (and the conversion factor is the distance around the track loop).
 
During most of the race, each car is on its own and the driver of the car is trying to beat the driver of every other car on the course, and the phase of each car varies freely.
 
However, if there is an accident, a [[Safety car|pace car]] comes out to set a safe speed. None of the race cars are permitted to pass the pace car (or the race cars in front of them), but each of the race cars wants to stay as close to the pace car as it can. While it is on the track, the pace car is a reference, and the race cars become phase-locked loops. Each driver will measure the phase difference (a distance in laps) between him and the pace car. If the driver is far away, he will increase his engine speed to close the gap. If he's too close to the pace car, he will slow down. The result is all the race cars lock on to the phase of the pace car. The cars travel around the track in a tight group that is a small fraction of a lap.
 
===Clock analogy===
Phase can be proportional to time,<ref>If the frequency is constant and the initial phase is zero, then the phase of a sinusoid is proportional to time.</ref> so a phase difference can be a time difference. Clocks are, with varying degrees of accuracy, phase-locked (time-locked) to a master clock.
 
Left on its own, each clock will mark time at slightly different rates. A wall clock, for example, might be fast by a few seconds per hour compared to the reference clock at [[National Institute of Standards and Technology|NIST]]. Over time, that time difference would become substantial.
 
To keep his clock in sync, each week the owner compares the time on his wall clock to a more accurate clock (a phase comparison), and he resets his clock. Left alone, the wall clock will continue to diverge from the reference clock at the same few seconds per hour rate.
 
Some clocks have a timing adjustment (a fast-slow control). When the owner compared his wall clock's time to the reference time, he noticed that his clock was too fast. Consequently, he could turn the timing adjust a small amount to make the clock run a little slower. If things work out right, his clock will be more accurate. Over a series of weekly adjustments, the wall clock's notion of a second would agree with the reference time (within the wall clock's stability).
 
An early mechanical version of a phase-locked loop was used in 1921 in the [[Shortt-Synchronome clock]].
 
==History==
Automatic synchronization of electronic oscillators was described in 1923.<ref>E. V. Appleton, ''Automatic synchronization of triode oscillators'', Proc. Cambridge Phil. Soc., 21(Part III):231 (1922-1923)</ref> Earliest research towards what became known as the phase-locked loop goes back to 1932, when British researchers developed an alternative to [[Edwin Armstrong]]'s [[superheterodyne receiver]], the [[Homodyne detection|Homodyne]] or [[direct-conversion receiver]]. In the homodyne or synchrodyne system, a [[local oscillator]] was tuned to the desired input frequency and multiplied with the input signal. The resulting output signal included the original modulation information.  The intent was to develop an alternative receiver circuit that required fewer tuned circuits than the superheterodyne receiver.  Since the local oscillator would rapidly drift in frequency, an automatic correction signal was applied to the oscillator, maintaining it in the same phase and frequency as the desired signal. The technique was described in 1932, in a paper by Henri de Bellescize, in the French journal ''L'Onde Électrique''.<ref>Henri de Bellescize, "La réception synchrone," ''L'Onde Électrique'' (later: ''Revue de l'Electricité et de l'Electronique''), vol. 11, pages 230-240 (June 1932).</ref><ref>See also:  French patent no. 635,451 (filed: 6 October 1931; issued: 29 September 1932); and U.S. patent [http://patimg1.uspto.gov/.piw?Docid=01990428&homeurl=http%3A%2F%2Fpatft.uspto.gov%2Fnetacgi%2Fnph-Parser%3FSect1%3DPTO2%2526Sect2%3DHITOFF%2526p%3D1%2526u%3D%25252Fnetahtml%25252FPTO%25252Fsearch-bool.html%2526r%3D1%2526f%3DG%2526l%3D50%2526co1%3DAND%2526d%3DPALL%2526s1%3D1,990,428.PN.%2526OS%3DPN%2F1,990,428%2526RS%3DPN%2F1,990,428&PageNum=&Rtype=&SectionNum=&idkey=NONE&Input=View+first+page "Synchronizing system,"] no. 1,990,428 (filed: 29 September 1932; issued: 5 February 1935).</ref><ref>[http://www.uoguelph.ca/~antoon/gadgets/pll/pll.html Notes for a University of Guelph course describing the PLL and early history, including an IC PLL tutorial]</ref>
 
In analog television receivers since at least the late 1930s, phase-locked-loop horizontal and vertical sweep circuits are locked to synchronization pulses in the broadcast signal.<ref>{{cite web|url=http://www.sxlist.com/techref/io/video/ntsc.htm |title=National Television Systems Committee Video Display Signal IO |publisher=Sxlist.com |accessdate=2010-10-14}}</ref>
 
When [[Signetics]] introduced a line of monolithic [[integrated circuits]] such as the NE565 that were complete phase-locked loop systems on a chip in 1969,<ref>A. B. Grebene, H. R. Camenzind, “Phase Locking As A New Approach For Tuned Integrated Circuits”, ISSCC Digest of Technical Papers, pp. 100-101, Feb. 1969.</ref> applications for the technique multiplied. A few years later RCA introduced the "[[List of 4000 series integrated circuits|CD4046]]" [[CMOS]] Micropower Phase-Locked Loop, which became a popular integrated circuit.
 
==Structure and function==
Phase-locked loop mechanisms may be implemented as either analog or digital circuits. Both implementations use the same basic structure.
<!--Incomplete block diagram is misleading. Removing until it can be fixed. See [[Talk:Phase-locked loop#Figure_needs_work.2C_I_think]]. [[File:SimplePLL.svg|right|thumb|Block diagram of a PLL (without filter or phase detector, both essential to the operation)]]-->
Both analog and digital PLL circuits include four basic elements:
* [[Phase detector]],
* [[Low-pass filter]],
* [[Variable-frequency oscillator]], and
* [[feedback]] path (which may include a [[frequency divider]]).
 
===Variations===
There are several variations of PLLs.  Some terms that are used are analog phase-locked loop (APLL) also referred to as a linear phase-locked loop (LPLL), digital phase-locked loop (DPLL), all digital phase-locked loop (ADPLL), and software phase-locked loop (SPLL).<ref name="Best 2007">{{cite book |author=Roland E. Best |title=Phase-Locked Loops: Design, Simulation and Applications |edition=6th |publisher=McGraw Hill |year=2007 |isbn=978-0-07-149375-8}}</ref>
 
;Analog or linear PLL (APLL): Phase detector is an analog multiplier. Loop filter is active or passive. Uses a [[Voltage-controlled oscillator]] (VCO).
;Digital PLL (DPLL): An analog PLL with a digital phase detector (such as XOR, edge-trigger JK, phase frequency detector). May have digital divider in the loop.
;All digital PLL (ADPLL): Phase detector, filter and oscillator are digital. Uses a [[numerically controlled oscillator]] (NCO).
;Software PLL (SPLL): Functional blocks are implemented by software rather than specialized hardware.
;Neuronal PLL (NPLL): Phase detector, filter and oscillator are neurons or small neuronal pools. Uses a [[rate controlled oscillator]] (RCO). Used for tracking and decoding low frequency modulations (< 1&nbsp;kHz), such as those occurring during mammalian-like active sensing.
 
===Performance parameters===
*Type and order
*Lock range: The frequency range the PLL is able to stay locked. Mainly defined by the VCO range.
*Capture range: The frequency range the PLL is able to lock-in, starting from unlocked condition. This range is usually smaller than the lock range and will depend, for example, on phase detector.
*Loop bandwidth: Defining the speed of the control loop.
*Transient response: Like overshoot and settling time to a certain accuracy (like 50ppm).
*Steady-state errors: Like remaining phase or timing error
*Output spectrum purity: Like sidebands generated from a certain VCO tuning voltage ripple.
*Phase-noise: Defined by noise energy in a certain frequency band (like 10&nbsp;kHz offset from carrier). Highly dependent on VCO phase-noise, PLL bandwidth, etc.
*General parameters: Such as power consumption, supply voltage range, output amplitude, etc.
 
==Applications==
Phase-locked loops are widely used for [[synchronization]] purposes; in space [[telecommunication|communications]] for [[coherent demodulation]] and [[Noise gate#Audio noise reduction|threshold extension]], [[bit synchronization]], and symbol synchronization. Phase-locked loops can also be used to [[demodulate]] [[frequency modulation|frequency-modulated]] signals.  In radio transmitters, a PLL is used to synthesize new frequencies which are a multiple of a reference frequency, with the same stability as the reference frequency.
 
Other applications include:
* [[Demodulation]] of both [[Frequency modulation|FM]] and [[Amplitude modulation|AM]] signals
* Recovery of small signals that otherwise would be lost in noise ([[lock-in amplifier]])
* Recovery of clock timing information from a data stream such as from a [[disk drive]]
* [[CPU multiplier|Clock multipliers]] in [[microprocessors]] that allow internal processor elements to run faster than external connections, while maintaining precise timing relationships
* [[DTMF]] decoders, [[modem]]s, and other tone decoders, for [[remote control]] and [[telecommunications]]
* [[Digital signal processing|DSP]] of [[video]] signals; Phase-locked loops are also used to synchronize phase and frequency to the input [[analog video]] signal so it can be [[sample (signal)|sampled]] and digitally processed
 
===Clock recovery===
Some data streams, especially high-speed serial data streams (such as the raw stream of data from the magnetic head of a disk drive), are sent without an accompanying clock.  The receiver generates a clock from an approximate frequency reference, and then phase-aligns to the transitions in the data stream with a PLL. This process is referred to as [[clock recovery]]. In order for this scheme to work, the data stream must have a transition frequently enough to correct any drift in the PLL's oscillator. Typically, some sort of redundant encoding is used, such as [[8b/10b encoding]].
 
===Deskewing===
If a clock is sent in parallel with data, that clock can be used to sample the data.  Because the clock must be received and amplified before it can drive the flip-flops which sample the data, there will be a finite, and process-, temperature-, and voltage-dependent delay between the detected clock edge and the received data window.  This delay limits the frequency at which data can be sent.  One way of eliminating this delay is to include a deskew PLL on the receive side, so that the clock at each data flip-flop is phase-matched to the received clock. In that type of application, a special form of a PLL called a [[delay-locked loop]] (DLL) is frequently used.<ref>{{cite web
|url=http://www-vlsi.stanford.edu/papers/mh_micro_98.pdf
|author=M Horowitz, C. Yang, S. Sidiropoulos
|title=High-speed electrical signaling: overview and limitations
|publisher=IEEE Micro
|date=1998-01-01
}}</ref>
 
===Clock generation===
Many electronic systems include processors of various sorts that operate at hundreds of megahertz.  Typically, the clocks supplied to these processors come from clock generator PLLs, which multiply a lower-frequency reference clock (usually 50 or 100&nbsp;MHz) up to the operating frequency of the processor.  The multiplication factor can be quite large in cases where the operating frequency is multiple gigahertz and the reference crystal is just tens or hundreds of megahertz.
 
===Spread spectrum===
All electronic systems emit some unwanted radio frequency energy.  Various regulatory agencies (such as the [[Federal Communications Commission|FCC]] in the United States) put limits on the emitted energy and any interference caused by it.  The emitted noise generally appears at sharp spectral peaks (usually at the operating frequency of the device, and a few harmonics).  A system designer can use a spread-spectrum PLL to reduce interference with high-Q receivers by spreading the energy over a larger portion of the spectrum.  For example, by changing the operating frequency up and down by a small amount (about 1%), a device running at hundreds of megahertz can spread its interference evenly over a few megahertz of spectrum, which drastically reduces the amount of noise seen on broadcast [[FM broadcasting|FM radio]] channels, which have a bandwidth of several tens of kilohertz.
 
===Clock distribution===
[[Image:PLL,usage.png|600px]]
 
Typically, the reference clock enters the chip and drives a phase locked loop ('''PLL'''), which then drives the system's clock distribution. The clock distribution is usually balanced so that the clock arrives at every endpoint simultaneously. One of those endpoints is the PLL's feedback input.  The function of the PLL is to compare the distributed clock to the incoming reference clock, and vary the phase and frequency of its output until the reference and feedback clocks are phase and frequency matched.
 
PLLs are ubiquitous—they tune clocks in systems several feet across, as well as clocks in small portions of individual chips. Sometimes the reference clock may not actually be a pure clock at all, but rather a data stream with enough transitions that the PLL is able to recover a regular clock from that stream. Sometimes the reference clock is the same frequency as the clock driven through the clock distribution, other times the distributed clock may be some rational multiple of the reference.
 
===Jitter and noise reduction===
One desirable property of all PLLs is that the reference and feedback clock edges be brought into very close alignment. The average difference in time between the phases of the two signals when the PLL has achieved lock is called the '''static phase offset''' (also called the '''steady-state phase error'''). The variance between these phases is called '''tracking [[jitter]]'''. Ideally, the static phase offset should be zero, and the tracking jitter should be as low as possible.{{Dubious|date=September 2010}}<!-- If phase variance between input and output is 0, no jitter attenuation is possible. -->
 
[[Phase noise]] is another type of jitter observed in PLLs, and is caused by the oscillator itself and by elements used in the oscillator's frequency control circuit.  Some technologies are known to perform better than others in this regard.  The best digital PLLs are constructed with emitter-coupled logic ([[Emitter coupled logic|ECL]]) elements, at the expense of high power consumption. To keep phase noise low in PLL circuits, it is best to avoid saturating logic families such as transistor-transistor logic ([[transistor-transistor logic|TTL]]) or [[CMOS]].{{Citation needed|date=September 2010}}
 
Another desirable property of all PLLs is that the phase and frequency of the generated clock be unaffected by rapid changes in the voltages of the power and ground supply lines, as well as the voltage of the substrate on which the PLL circuits are fabricated. This is called substrate and [[Power supply rejection ratio|supply noise rejection]]. The higher the noise rejection, the better.
 
To further improve the phase noise of the output, an [[injection locked oscillator]] can be employed following the VCO in the PLL.
 
===Frequency synthesis===
In digital wireless communication systems (GSM, CDMA etc.), PLLs are used to provide the local oscillator up-conversion during transmission and [[Digital down converter|down-conversion]] during reception. In most cellular handsets this function has been largely integrated into a single integrated circuit to reduce the cost and size of the handset. However, due to the high performance required of base station terminals, the transmission and reception circuits are built with discrete components to achieve the levels of performance required. GSM local oscillator modules are typically built with a [[frequency synthesizer]] integrated circuit and discrete resonator VCOs.{{Citation needed|date=May 2010}}
 
==Block diagram==
[[Image:PLL generic inline.svg|thumb|center|750px|[[Block diagram]] of a digital phase-locked loop]]
 
A phase detector compares two input signals and produces an error signal which is proportional to their phase difference. The error signal is then low-pass filtered and used to drive a VCO which creates an output phase. The output is fed through an optional divider back to the input of the system, producing a [[negative feedback loop]]. If the output phase drifts, the error signal will increase, driving the VCO phase in the opposite direction so as to reduce the error. Thus the output phase is locked to the phase at the other input. This input is called the reference.
 
Analog phase locked loops are generally built with an analog phase detector, low pass filter and VCO placed in a [[negative feedback]] configuration. A digital phase locked loop uses a digital phase detector; it may also have a divider in the feedback path or in the reference path, or both, in order to make the PLL's output signal frequency a [[Rational number|rational]] multiple of the reference frequency.  A non-integer multiple of the reference frequency can also be created by replacing the simple divide-by-N counter in the feedback path with a programmable [[pulse swallowing counter]].  This technique is usually referred to as a [[fractional-N synthesizer]] or fractional-N PLL.{{dubious|date=December 2010}}<!-- doesn't fractional-N also adjust the phase at the phase detector. otherwise there's a error signal. -->
 
The oscillator generates a periodic output signal. Assume that initially the oscillator is at nearly the same frequency as the reference signal. If the phase from the oscillator falls behind that of the reference, the phase detector changes the control voltage of the oscillator so that it speeds up.  Likewise, if the phase creeps ahead of the reference, the phase detector changes the control voltage to slow down the oscillator.  Since initially the oscillator may be far from the reference frequency, practical phase detectors may also respond to frequency differences, so as to increase the lock-in range of allowable inputs.
 
Depending on the application, either the output of the controlled oscillator, or the control signal to the oscillator, provides the useful output of the PLL system.
 
==Elements==
 
===Phase detector===
{{Main|phase detector}}
The two inputs of the phase detector  are the reference input and the feedback from the VCO.  The PD output controls the VCO such that the phase difference between the two inputs is held constant, making it a negative feedback system. There are several types of phase detectors in the two main categories of analog and digital.
 
Different types of phase detectors have different performance characteristics.
 
For instance, the [[frequency mixer]] produces harmonics that adds complexity in applications where spectral purity of the VCO signal is important.  The resulting unwanted (spurious) sidebands, also called "[[reference spurs]]" can dominate the filter requirements and reduce the capture range and lock time well below the requirements.  In these applications the more complex digital phase detectors are used which do not have as severe a reference spur component on their output. Also, when in lock, the steady-state phase difference at the inputs using this type of phase detector is near 90 degrees. The actual difference is determined by the DC loop gain.
 
A '''bang-bang''' charge pump phase detector must always have a '''dead band''' where the phases of inputs are close enough that the detector detects no phase error. For this reason, bang-bang phase detectors  are associated with significant minimum peak-to-peak [[jitter]], because of drift within the dead band.{{Citation needed|date=September 2010}} However these types, having outputs consisting of very narrow pulses at lock, are very useful for applications requiring very low VCO spurious outputs.  The narrow pulses contain very little energy and are easy to filter out of the VCO control voltage.  This results in low VCO control line ripple and therefore low FM sidebands on the VCO.{{Citation needed|date=September 2010}}
 
In PLL applications it is frequently required to know when the loop is out of lock.  The more complex digital phase-frequency detectors usually have an output that allows a reliable indication of an out of lock condition.
 
===Filter===
The block commonly called the PLL loop filter (usually a low pass filter) generally has two distinct functions.
 
The primary function is to determine loop dynamics, also called [[Nyquist stability criterion|stability]].  This is how the loop responds to disturbances, such as changes in the reference frequency, changes of the feedback divider, or at startup.  Common considerations are the range over which the loop can achieve lock (pull-in range, lock range or capture range), how fast the loop achieves lock (lock time, lock-up time or [[settling time]]) and [[damping]] behavior.  Depending on the application, this may require one or more of the following: a simple proportion (gain or attenuation), an [[integral]] (low pass filter) and/or [[derivative]] ([[high pass filter]]).  Loop parameters commonly examined for this are the loop's [[gain margin]] and [[phase margin]].  Common concepts in [[control theory]] including the [[PID controller]] are used to design this function.
 
The second common consideration is limiting the amount of reference frequency energy (ripple) appearing at the phase detector output that is then applied to the VCO control input.  This frequency modulates the VCO and produces FM sidebands commonly called "reference spurs".  The low pass characteristic of this block can be used to attenuate this energy, but at times a band reject "notch" may also be useful.{{Citation needed|date=September 2010}}
 
The design of this block can be dominated by either of these considerations, or can be a complex process juggling the interactions of the two. Typical trade-offs are: increasing the bandwidth usually degrades the stability or too much damping for better stability will reduce the speed and increase settling time. Often also the phase-noise is affected.
 
===Oscillator===
{{Main|Electronic oscillator}}
All phase-locked loops employ an oscillator element with variable frequency capability. This can be an analog VCO either driven by analog circuitry in the case of an APLL or driven digitally through the use of a [[digital-to-analog converter]] as is the case for some DPLL designs. Pure digital oscillators such as a numerically controlled oscillator are used in ADPLLs.
 
===Feedback path and optional divider===
[[Image:Divide 4.png|thumb|right|300px|An Example Digital Divider (by 4) for use in the Feedback Path of a Multiplying PLL]]
 
PLLs may include a divider between the oscillator and the feedback input to the phase detector to produce a [[frequency synthesizer]].  A programmable divider is particularly useful in radio transmitter applications, since a large number of transmit frequencies can be produced from a single stable, accurate, but expensive, quartz crystal–controlled reference oscillator.
 
Some PLLs also include a divider between the reference clock and the reference input to the phase detector.  If the divider in the feedback path divides by <math>N</math> and the reference input divider divides by <math>M</math>, it allows the PLL to multiply the reference frequency by <math>N/M</math>.  It might seem simpler to just feed the PLL a lower frequency, but in some cases the reference frequency may be constrained by other issues, and then the reference divider is useful.
 
Frequency multiplication can also be attained by locking the VCO output to the ''N''th harmonic of the reference signal. Instead of a simple phase detector, the design uses a harmonic mixer (sampling mixer). The harmonic mixer turns the reference signal into an impulse train that is rich in harmonics.<ref>Typically, the reference sinewave drives a [[step recovery diode]] circuit to make this impulse train. The resulting impulse train drives a sample gate.</ref> The VCO output is coarse tuned to be close to one of those harmonics. Consequently, the desired harmonic mixer output (representing the difference between the ''N'' harmonic and the VCO output) falls within the loop filter passband.<!-- HP had a harmonic mixer and synchronizer that turned its microwave sweep generators into PLLs. -->
 
It should also be noted that the feedback is not limited to a frequency divider. This element can be other elements such as a frequency multiplier, or a mixer. The multiplier will make the VCO output a sub-multiple (rather than a multiple) of the reference frequency. A mixer can translate the VCO frequency by a fixed offset. It may also be a combination of these. An example being a divider following a mixer; this allows the divider to operate at a much lower frequency than the VCO without a loss in loop gain.
 
==Modeling==
 
===Time domain model===
The equations governing a phase-locked loop with an analog multiplier
as the phase detector and linear filter may be derived as follows.
Let the input to the phase
detector be <math>x_r(\theta_r(t))</math> and the output of the VCO is
<math>x_c(\theta_c(t))</math> with phases <math>\theta_r(t)</math> and
<math>\theta_c(t)</math>. Functions <math>x_c(\theta)</math> and
<math>x_r(\theta)</math> describe [[waveforms]] of signals. Then the
output of the phase detector <math>x_m(t)</math> is given by
 
:<math>x_m(t) = x_r(\theta_r(t)) x_c(\theta_c(t))</math>
 
the VCO frequency is usually taken as a function of the VCO input
<math>g(t)</math> as
:<math>\dot\theta_c(t) = \omega_c(t) =
\omega_c + g_v g(t)\,</math>
where <math>g_v</math> is the ''sensitivity'' of the VCO and is
expressed in Hz / V;
<math>\omega_c</math> is a free-running frequency of VCO.
 
The Loop Filter can be described by system of linear differential equations
:<math>\begin{array}{rcl}
\dot x &= &Ax + b x_m(t), \\
x_f(t) &= &c^{*}x,
\end{array}
\quad
x(0) = x_0,
</math>
 
where <math>x_m(t)</math> is an input of the filter,
<math>x_f(t)</math> is an output of the filter, <math>A</math> is
<math>n</math>-by-<math>n</math> matrix,
<math>x \in \mathbb{R}^n,\quad b \in \mathbb{R}^n, \quad c \in
\mathbb{R}^n, \quad</math>. <math>x_0 \in \mathbb{R}^n</math> represents an initial state of
the filter. The star symbol is a [[conjugate transpose]].
 
Hence the following system describes PLL
:<math>\begin{array}{rcl}
\dot x &= &Ax + b x_r(\theta_r(t)) x_c(\theta_c(t)),\\
\dot \theta_c &= & \omega_c + g_v (c^{*}x) \\
\end{array}
\quad
x(0) = x_0, \quad \theta_c(0) = \varphi_0.
</math>
where <math>\varphi_0</math> is an initial phase shift.
 
===Phase domain model===
Consider the input of pll <math>x_r(\theta_r(t))</math> and VCO output
<math>x_c(\theta_c(t))</math> are high frequency signals.
Then for any
piecewise differentiable <math>2\pi</math>-periodic functions
<math>x_r(\theta)</math> and <math>x_c(\theta)</math> there is a function
<math>\varphi(\theta)</math> such that the output <math>G(t)</math> of Filter
:<math>\begin{array}{rcl}
\dot x &= &Ax + b \varphi(\theta_r(t) -
\theta_c(t)), \\
G(t) &= &c^{*}x,
\end{array}
\quad
x(0) = x_0,
</math>
in phase domain is asymptotically equal ( the difference <math>G(t)- x_f(t)</math> is small with respect to the frequencies) to the output of the Filter in time domain model.
<ref>{{cite journal
| author = G. A. Leonov, N. V. Kuznetsov, M. V. Yuldashev, R. V. Yuldashev
| year = 2011
| title = Computation of Phase Detector Characteristics in Synchronization Systems
| journal = Doklady Mathematics
| volume = 84
| issue = 1
| pages = 586&ndash;590
| doi = 10.1134/S1064562411040223
|url=http://www.math.spbu.ru/user/nk/PDF/2011-DAN-Phase-detector-characteristic-Nonlinear-analysis-PLL.pdf
}}</ref>
<ref>{{cite journal
| author = N.V. Kuznetsov, G.A. Leonov, M.V. Yuldashev, R.V. Yuldashev
| year = 2011
| title = Analytical methods for computation of phase-detector characteristics and PLL design
| journal = ISSCS 2011 - International Symposium on Signals, Circuits and Systems, Proceedings
| pages = 7&ndash;10
| doi = 10.1109/ISSCS.2011.5978639}}</ref>
Here function <math>\varphi(\theta)</math> is a [[phase detector characteristic]].
 
Denote by <math>\theta_e(t)</math> the phase difference
:<math>\theta_e = \theta_r(t) - \theta_c(t).</math>
Then the following [[dynamical system]] describes PLL behavior
:<math>\begin{array}{rcl}
\dot x &= &Ax + b \varphi(\theta_e),\\
\dot \theta_e &= & \omega_e + g_v (c^{*}x). \\
\end{array}
\quad
x(0) = x_0, \quad \theta_e(0) = \varphi_0.
</math>
Here <math>\omega_e = \omega_r - \omega_c</math>;
<math>\omega_r</math> is a frequency of reference oscillator( we assume that <math>\omega_r</math> is constant).
 
====Example====
Consider sinusoidal signals
:<math>x_c(\theta(t)) = A_c \sin(\theta_c(t)), \quad x_r(\theta_r(t))
= A_r\cos(\theta_r(t))</math>
and simple one-pole [[RC circuit]] as a filter.
Time domain model takes form
:<math>\begin{array}{rcl}
\dot x &= &-\frac{1}{RC}x + \frac{1}{RC}
A_cA_r\sin(\theta_r(t)) \cos(\theta_c(t)),\\
\dot \theta_c &= & \omega_c + g_v (c^{*}x) \\
\end{array}
</math>
PD characteristics for this signals is equal<ref>A. J. Viterbi,
Principles of Coherent Communication, McGraw-Hill, New York,
1966</ref> to
:<math>
\varphi(\theta_r - \theta_c) = \frac{A_c A_r}{2}\sin(\theta_r - \theta_c)
</math>
Hence the phase domain model takes form
:<math>\begin{array}{rcl}
\dot x &= &-\frac{1}{RC}x +
\frac{1}{RC}\frac{A_c A_r}{2}\sin(\theta_r - \theta_c),\\
\dot \theta_c &= & \omega_c + g_v (c^{*}x). \\
\end{array}
</math>
This system of equations is equivalent to the equation of mathematical pendulum
:<math>
\begin{array}{l}
x = \frac{\dot\theta_c - \omega_c}{g_v c^*} = \frac{\omega_r - \dot\theta_e - \omega_c}{g_v c^*},\\
\dot x = \frac{\ddot\theta_c}{g_v c^*},\\
\theta_r = \omega_r t + \Psi,\\
\theta_e = \theta_r -\theta_c,\\
\dot\theta_e = \dot\theta_r - \dot\theta_c = \omega_r - \dot\theta_c,\\
\frac{1}{g_v c^*}\ddot\theta_e - \frac{1}{g_v c^* RC}\dot\theta_e - \frac{A_cA_r}{2RC}\sin\theta_e = \frac{\omega_c - \omega_r}{g_v c^* RC}.
\end{array}
</math>
 
===Linearized phase domain model===
Phase locked loops can also be analyzed as control systems by applying the [[Laplace transform]]. The loop response can be written as:
 
:<math>\frac{\theta_o}{\theta_i} = \frac{K_p K_v F(s)} {s + K_p K_v F(s)}</math>
 
Where
* <math>\theta_o</math> is the output phase in [[radian]]s
* <math>\theta_i</math> is the input phase in radians
* <math>K_p</math> is the phase detector gain in [[volt]]s per radian
* <math>K_v</math> is the VCO gain in radians per volt-[[second]]
* <math>F(s)</math> is the loop filter transfer function (dimensionless)
 
The loop characteristics can be controlled by inserting different types of loop filters. The simplest filter is a one-pole [[RC circuit]]. The loop transfer function in this case is:
 
:<math>F(s) = \frac{1}{1 + s R C}</math>
 
The loop response becomes:
 
:<math>\frac{\theta_o}{\theta_i} = \frac{\frac{K_p K_v}{R C}}{s^2 + \frac{s}{R C} + \frac{K_p K_v}{R C}}</math>
 
This is the form of a classic [[harmonic oscillator]]. The denominator can be related to that of a second order system:
 
:<math>s^2 + 2 s \zeta \omega_n + \omega_n^2</math>
 
Where
 
* <math>\zeta</math> is the damping factor
* <math>\omega_n</math> is the natural frequency of the loop
 
For the one-pole RC filter,
 
:<math>\omega_n = \sqrt{\frac{K_p K_v}{R C}}</math>
:<math>\zeta = \frac{1}{2 \sqrt{K_p K_v R C}}</math>
 
The loop natural frequency is a measure of the response time of the loop, and the damping factor is a measure of the overshoot and ringing. Ideally, the natural frequency should be high and the damping factor should be near 0.707 (critical damping). With a single pole filter, it is not possible to control the loop frequency and damping factor independently. For the case of critical damping,
 
:<math>R C = \frac{1}{2 K_p K_v}</math>
:<math>\omega_c = K_p K_v \sqrt{2}</math>
 
A slightly more effective filter, the lag-lead filter includes one pole and one zero. This can be realized with two resistors and one capacitor. The transfer function for this filter is
 
:<math>F(s) = \frac{1+s C R_2}{1+s C (R_1+R_2)}</math>
 
This filter has two time constants
 
:<math>\tau_1 = C (R_1 + R_2)</math>
:<math>\tau_2 = C R_2</math>
 
Substituting above yields the following natural frequency and damping factor
 
:<math>\omega_n = \sqrt{\frac{K_p K_v}{\tau_1}}</math>
:<math>\zeta = \frac{1}{2 \omega_n \tau_1} + \frac{\omega_n \tau_2}{2}</math>
 
The loop filter components can be calculated independently for a given natural frequency and damping factor
 
:<math>\tau_1 = \frac{K_p K_v}{\omega_n^2}</math>
:<math>\tau_2 = \frac{2 \zeta}{\omega_n} - \frac{1}{K_p K_v}</math>
 
Real world loop filter design can be much more complex e.g. using higher order filters to reduce various types or source of phase noise. (See the D Banerjee ref below)
 
===Implementing a digital phase-locked loop in software===
Digital phase locked loops can be implemented in hardware, using integrated circuits such as a CMOS 4046.  However, with microcontrollers becoming faster, it may make sense to implement a phase locked loop in software for applications that do not require locking onto signals in the MHz range or faster, such as precisely controlling motor speeds.  Software implementation has several advantages including easy customization of the feedback loop including changing the multiplication or division ratio between the signal being tracked and the output oscillator.  Furthermore, a software implementation is useful to understand and experiment with.  As an example of a phase-locked loop implemented using a [[phase frequency detector]] is presented in MATLAB, as this type of phase detector is robust and easy to implement.  This example uses integer arithmetic rather than floating point, as such an example is likely more useful in practice.
 
<source lang="matlab">
% Initialize variables
vcofreq = zeros(1, numiterations);
ervec = zeros(1, numiterations);
% keep track of last states of reference, signal, and error signal
qsig = 0; qref = 0; lref = 0; lsig = 0; lersig = 0;
phs = 0;
freq = 0;
 
% Loop filter constants (proportional and derivative)
% Currently powers of two to facilitate multiplication by shifts
prop = 1/128;
deriv = 64;
 
for it=1:numiterations
    % Simulate a local oscillator using a 16-bit counter
    phs = mod(phs + floor(freq/2^16), 2^16);
    ref = phs < 32768;
    % Get the next digital value (0 or 1) of the signal to track
    sig = tracksig(it);
    % Implement the phase-frequency detector
    rst = ~(qsig & qref);  % Reset the "flip-flop" of the phase-frequency
                    % detector when both signal and reference are high
    qsig = (qsig | (sig & ~lsig)) & rst;  % Trigger signal flip-flop and leading edge of signal
    qref = (qref | (ref & ~lref)) & rst;  % Trigger reference flip-flop on leading edge of reference
    lref = ref; lsig = sig; % Store these values for next iteration (for edge detection)
    ersig = qref - qsig;    % Compute the error signal (whether frequency should increase or decrease)
                            % Error signal is given by one or the other flip flop signal
    % Implement a pole-zero filter by proportional and derivative input to frequency
    filtered_ersig = ersig + (ersig - lersig) * deriv;
    % Keep error signal for proportional output
    lersig = ersig;
    % Integrate VCO frequency using the error signal
    freq = freq - 2^16 * filtered_ersig * prop;
    % Frequency is tracked as a fixed-point binary fraction
    % Store the current VCO frequency
    vcofreq(1, it) = freq / 2^16;
    % Store the error signal to show whether signal or reference is higher frequency
    ervec(1, it) = ersig;
end
</source>
 
In this example, an array <tt>tracksig</tt> is assumed to contain a reference signal to be tracked.  The oscillator is implemented by a counter, with the most significant bit of the counter indicating the on/off status of the oscillator.  This code simulates the two D-type [[Flip-flop (electronics)|flip-flops]] that comprise a phase-frequency comparator.  When either the reference or signal has a positive edge, the corresponding flip-flop switches high.  Once both reference and signal is high, both flip-flops are reset.  Which flip-flop is high determines at that instant whether the reference or signal leads the other.  The error signal is the difference between these two flip-flop values.  The pole-zero filter is implemented by adding the error signal and its derivative to the filtered error signal.  This in turn is integrated to find the oscillator frequency. 
 
In practice, one would likely insert other operations into the feedback of this phase-locked loop.  For example, if the phase locked loop were to implement a frequency multiplier, the oscillator signal could be divided in frequency before it is compared to the reference signal.
 
==See also==
* [[Control theory]]
* [[Direct digital synthesizer|Direct-digital synthesis]]
* [[Costas loop]]
* [[Kalman filter]]
* [[Direct conversion receiver]]
* [[Circle map]] - a simple mathematical model of the phase-locked loop showing both mode-locking and chaotic behavior.
* [[Carrier recovery]]
* [[Delay-locked loop]] (DLL)
* [[PLL multibit]]
* [[Shortt-Synchronome clock]] - slave pendulum phase-locked to master (ca 1921).
 
==References==
{{Reflist|30em}}
 
==Further reading==
{{Commons category|Phase-locked loops}}
*{{Citation
|first= Dean
|last= Banerjee
|url= http://www.ti.com/tool/pll_book
|title= PLL Performance, Simulation and Design Handbook
|edition= 4th
|year= 2006
|publisher= [[National Semiconductor]]
|doi= }}.
*{{Citation
|first= R. E.
|last= Best
|title= Phase-locked Loops: Design, Simulation and Applications
|publisher= McGraw-Hill
|year= 2003
|isbn= 0-07-141201-8}}
*{{Citation
|first= Henri
|last= de Bellescize
|title= La réception Synchrone
|journal= L'Onde Electrique
|volume= 11
|pages=230&ndash;240
|date= June 1932
|doi=}}
*{{Citation
|first= Richard C.
|last= Dorf
|title= The Electrical Engineering Handbook
|publisher= CRC Press
|location= Boca Raton
|year= 1993
|isbn= 0-8493-0185-8}}
*{{Citation
|first= William F.
|last=Egan
|title= Phase-Lock Basics
|publisher= John Wiley & Sons
|year= 1998
|isbn= }}. (provides useful Matlab scripts for simulation)
*{{Citation
|first= William F.
|last= Egan
|title= Frequency Synthesis by Phase Lock
|edition= 2nd
|publisher= John Wiley and Sons
|year= 2000
|isbn= }}. (provides useful Matlab scripts for simulation)
*{{Citation
|first= Floyd M.
|last= Gardner
|authorlink= Floyd M. Gardner
|title= Phaselock Techniques
|edition= 3rd
|publisher= Wiley-Interscience
|year= 2005
|isbn= 978-0-471-43063-6 }}
*{{Citation
|first= J.
|last= Klapper
|first2= J. T.
|last2= Frankle
|title= Phase-Locked and Frequency-Feedback Systems
|publisher= Academic Press
|year= 1972
|isbn= }}. (FM Demodulation)
*{{Citation
|title= Predicting the Phase Noise and Jitter of PLL-Based Frequency Synthesizers
|edition= 4g
|first= Ken
|last= Kundert
|date= August 2006
|publisher= Designer's Guide Consulting, Inc.
|accessdate=
|url= http://www.designers-guide.org/Analysis/PLLnoise+jitter.pdf
|doi=}}
*{{Citation
|first= Mingliang
|last= Liu
|title= Build a 1.5-V 2.4-GHz CMOS PLL
|date= February 21, 2006
|publisher= Wireless Net Design Line
|accessdate=
|url= http://www.wirelessnetdesignline.com/howto/180205535
|doi= }}. An article on designing a standard PLL IC for Bluetooth applications.
*{{Citation
|first= Dan H.
|last= Wolaver
|title= Phase-Locked Loop Circuit Design
|publisher= Prentice Hall
|year= 1991
|isbn= 0-13-662743-9}}
*{{Citation
|url= http://userver.ftw.at/~vogel/ADPLL.html
|title= Signal processing and system aspects of all-digital phase-locked loops (ADPLLs)
|first=
|last=
|year=
|doi= }}
*{{Citation
|url= http://www.sentex.ca/~mec1995/gadgets/pll/pll.html
|title= Phase-Locked Loop Tutorial, PLL
|first=
|last=
|year=
|doi= }}
*{{Citation
|url= http://www.ncbi.nlm.nih.gov/pubmed/9527836
|title= Temporal-code to rate-code conversion by neuronal phase-locked loops. Neural Comput 10:597-650.
|first=E. Ahissar
|last=
|year= 1998
|doi= }}
 
{{DEFAULTSORT:Phase-Locked Loop}}
[[Category:Oscillators]]
[[Category:Communication circuits]]
[[Category:Electronic design]]
[[Category:Radio electronics]]
 
{{Link FA|it}}

Revision as of 23:09, 28 February 2014

DVRs today offer a number of different resolutions, these cover anything from CIF (360. There are secret wireless cameras, numerous cameras with receivers for observing a wide area, dome-covered wireless cameras, and wireless video sender.

There needs to be specific places in your own home where you are completely disconnected from technology like the bathroom as well as the dinner table. The latest master keying system is incredibly famous among the users where they can easily use one key for all of the doors.

Buying a relevant video capture card can strongly (caramelbbw.com) be something of a challenge as video standards are as widely varied as the closed circuit cameras hardware and software used to support them. The DVR is normally powered by one or 2 AAA alkaline or rechargeable batteries.

1 channel dvr The cameras,cables animal,handled and monitor were arranged upon almost marriage ceremony a period of time for the most part of them are. The specification describes where actually the device will be kept. Their form factor limited its exploitation; especially for covert tasks. When purchasing a new device for instance a router or possibly a DVR, it can be so exciting that you simply want to have all of it quickly connected and able to use.

All the Students are cherished for their work by cctv surveillance system price the teachers who let them have knowledge with the homey adoration, cctv dvr korea attention and affection. So when your sony dvr recorder business requires digital recorders, covert cameras, VCRs, wireless video, environmental housing, or untwisted pair wiring systems, contact ASD.

Every camera runs at different power ratings, so don't utilize old power supplies or else you may run the chance of burning up a camera. Industrial processes that occur under conditions dangerous for humans are today often supervised by CCTV. A person can create their own a la carte programming that works well within their budget. A CCTV camera can also send the notion to the prospective crook that his cctv dvr viewer linux every move has put on a permanent record. But that wall it not just keeping out what could cause us more heartache. This app provides quick access to your Android settings and lets you switch to important menu items and control battery consumption.

Once this can be complete, you must be able to decide on which camera view also to check what may be recorded. Attach your camera's power supply into a wall outlet and into the CCTV camera. Installation of these equipment requires a fresh level of training, knowledge, and also certification to be able to make sense of it all. Another plus is you can surf from your TV without getting up to make the computer on.

We sometimes attain the breaking point and say hurtful or belittling comments, often while raising cctv recorder ebay our voice. With the use of the remote technology, satellites, live feeds the information could be transmitted round the world to people who find themselves interested in receiving the knowledge. Especially, women feel quite secure due on the presence of the cameras in crowded places. During the day when light is available these cameras make a color image. This has created the change to digital technology a nice-looking option.