Numerically controlled oscillator

A numerically controlled oscillator (NCO) is a digital signal generator which creates a synchronous (i.e., clocked), discrete-time, discrete-valued representation of a waveform, usually sinusoidal.[1] NCOs are often used in conjunction with a digital-to-analog converter (DAC) at the output to create a direct digital synthesizer (DDS).[3]

Numerically controlled oscillators offer several advantages over other types of oscillators in terms of agility, accuracy, stability and reliability.[2] NCOs are used in many communications systems including digital up/down converters used in 3G wireless and software radio systems, digital phase-locked loops, radar systems, drivers for optical or acoustic transmissions, and multilevel FSK/PSK modulators/demodulators.[2]

Operation

An NCO generally consists of two parts:

  • A phase accumulator (PA), which adds to the value held at its output a frequency control value at each clock sample.
  • A phase-to-amplitude converter (PAC), which uses the phase accumulator output word (phase word) usually as an index into a waveform look-up table (LUT) to provide a corresponding amplitude sample. Sometimes interpolation is used with the look-up table to provide better accuracy and reduce phase error noise. Other methods of converting phase to amplitude, including mathematical algorithms such as power series can be used, particularly in a software NCO.
Figure 1: Numerically controlled oscillator with optional quadrature output

When clocked, the phase accumulator (PA) creates a modulo-2N sawtooth waveform which is then converted by the phase-to-amplitude converter (PAC) to a sampled sinusoid, where N is the number of bits carried in the phase accumulator. N sets the NCO frequency resolution and is normally much larger than the number of bits defining the memory space of the PAC look-up table. If the PAC capacity is 2M, the PA output word must be truncated to M bits as shown in Figure 1. However, the truncated bits can be used for interpolation. The truncation of the phase output word does not affect the frequency accuracy but produces a time-varying periodic phase error which is a primary source of spurious products. Another spurious product generation mechanism is finite word length effects of the PAC output (amplitude) word.[4]

The frequency accuracy relative to the clock frequency is limited only by the precision of the arithmetic used to compute the phase.[4] NCOs are phase- and frequency-agile, and can be trivially modified to produce a phase-modulated or frequency-modulated output by summation at the appropriate node, or provide quadrature outputs as shown in the figure.

Phase accumulator

A binary phase accumulator consists of an N-bit binary adder and a register configured as shown in Figure 1.[5] Each clock cycle produces a new N-bit output consisting of the previous output obtained from the register summed with the frequency control word (FCW) which is constant for a given output frequency. The resulting output waveform is a staircase with step size , the integer value of the FCW.[6] In some configurations, the phase output is taken from the output of the register which introduces a one clock cycle latency but allows the adder to operate at a higher clock rate.[2]

Figure 2: Normalized phase accumulator output

The adder is designed to overflow when the sum of the absolute value of its operands exceeds its capacity (2N−1). The overflow bit is discarded so the output word width is always equal to its input word width. The remainder , called the residual, is stored in the register and the cycle repeats, starting this time from (see figure 2).[5] Since a phase accumulator is a finite-state machine, eventually the residual at some sample K must return to the initial value . The interval K is referred to as the grand repetition rate (GRR) given by

where GCD is the greatest common divisor function. The GRR represents the true periodicity for a given which for a high resolution NCO can be very long.[5] Usually we are more interested in the operating frequency determined by the average overflow rate, given by[6]

     (1)

The frequency resolution, defined as the smallest possible incremental change in frequency, is given by[6]

     (2)

Equation (1) shows that the phase accumulator can be thought of as a programmable non-integer frequency divider of divide ratio .[4]

Phase-to-amplitude converter

The phase-amplitude converter creates the sample-domain waveform from the truncated phase output word received from the PA. The PAC can be a simple read only memory containing 2M contiguous samples of the desired output waveform which typically is a sinusoid. Often though, various tricks are employed to reduce the amount of memory required. This include various trigonometric expansions,[7] trigonometric approximations[5] and methods which take advantage of the quadrature symmetry exhibited by sinusoids.[8] Alternatively, the PAC may consist of random access memory which can be filled as desired to create an arbitrary waveform generator.

Spurious products

Spurious products are the result of harmonic or non-harmonic distortion in the creation of the output waveform due to non-linear numerical effects in the signal processing chain. Only numerical errors are covered here. For other distortion mechanisms created in the digital-to-analog converter see the corresponding section in the direct-digital synthesizer article.

Phase truncation spurs

The number of phase accumulator bits of an NCO (N) is usually between 16 and 64. If the PA output word were used directly to index the PAC look-up table an untenably high storage capacity in the ROM would be required. As such, the PA output word must be truncated to span a reasonable memory space. Truncation of the phase word causes phase modulation of the output sinusoid which introduces non-harmonic distortion in proportion to the number of bits truncated. The number of spurious products created by this distortion is given by:

           (3)

where W is the number of bits truncated.

In calculating the spurious-free dynamic range, we are interested in the spurious product with the largest amplitude relative to the carrier output level given by:

where P is the size of the phase-to-amplitude converter's lookup table in bits, i.e., M in Figure 1. For W >4,

Another related spurious generation method is the slight modulation due to the GRR outlined above. The amplitude of these spurs is low for large N and their frequency is generally too low to be detectable but they may cause issues for some applications.[5]

One way to reduce the truncation in the address lookup is to have several smaller lookup tables in parallel and use the upper bits to index into the tables and the lower bits to weigh them for linear or quadratic interpolation. Ie use a 24-bit phase accumulator to look up into two 16-bit LUTS. Address into the truncated 16 MSBs, and that plus 1. Linearly interpolate using the 8 LSBs as weights. (One could instead use 3 LUTs instead and quadratically interpolate). This can result in decreased distortion for the same amount of memory at the cost of some multipliers.

Amplitude truncation spurs

Another source of spurious products is the amplitude quantization of the sampled waveform contained in the PAC look up table(s). If the number of DAC bits is P, the AM spur level is approximately equal to −6.02 P − 1.76 dBc.[9]

Mitigation techniques

Phase truncation spurs can be reduced substantially by the introduction of white gaussian noise prior to truncation. The so-called dither noise is summed into the lower W+1 bits of the PA output word to linearize the truncation operation. Often the improvement can be achieved without penalty because the DAC noise floor tends to dominate system performance. Amplitude truncation spurs can not be mitigated in this fashion. Introduction of noise into the static values held in the PAC ROMs would not eliminate the cyclicality of the truncation error terms and thus would not achieve the desired effect.[4]

See also

References

  1. ^ a b Radatz, J. (1997). The IEEE Standard Dictionary of Electrical and Electronics Terms. New York, NY: IEEE Standards Office.
  2. ^ a b c d "Numerically Controlled Oscillator". Lattice Semiconductor Corporation. 2009.
  3. ^ While some authors use the terms DDS and NCO interchangeably,[2] by convention an NCO refers to the digital (i.e. the discrete-time, discrete amplitude) portion of a DDS[1]
  4. ^ a b c d Kroupa, V. F. (1999). Direct Digital Frequency Synthesizers. IEEE Press. ISBN 0-7803-3438-8.
  5. ^ a b c d e Popek, G.; Kampik, M. (October 2009). "Low-Spur Numerically Controlled Oscillator Using Taylor Series Approximation" (PDF). XI International PhD Workshop OWD 2009. Gliwice, Poland: Silesian University of Technology. Archived from the original (PDF) on 2011-08-20. Retrieved 2010-02-12.
  6. ^ a b c Murphy, Eva; Slattery, Colm (August 2004), "All About Direct Digital Synthesis", Analog Dialogue, 38, Analog Devices
  7. ^ US 7437391, Miller, B. M., "Numerically controlled oscillator and method of operation", issued October 14, 2008 
  8. ^ US 4486846, McCallister, R. D. & Shearer, D., "Numerically controlled oscillator using quadrant replication and function decomposition", published 12/04/1984 
  9. ^ "The NCO as a Stable, Accurate Synthesizer" (PDF). Intersil Corporation. 1998. TB318.1.

Read other articles:

Multi-purpose arena in Houston, Texas H&PE ArenaHealth and Physical Education ArenaThe front of the H&PE Arena, 2017LocationHouston, TexasCoordinates29°43′22″N 95°21′55″W / 29.72278°N 95.36528°W / 29.72278; -95.36528OperatorTexas Southern UniversityCapacity8,100Opened1989Tenants Texas Southern Tigers Houston Cougars (2017–18) Health and Physical Education Arena (H&PE Arena) is an 8,100-seat multi-purpose arena in Houston, Texas on the campus o...

 

 

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Pematang Kapau, Kulim, Pekanbaru – berita · surat kabar · buku · cendekiawan · JSTOR Pematang KapauKelurahanNegara IndonesiaProvinsiRiauKotaPekanbaruKecamatanKulimKode Kemendagri14.71.14.1005 Kode B...

 

 

Questa voce sugli argomenti cantanti statunitensi e attori statunitensi è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti dei progetti di riferimento 1, 2. Bonnie BiancoBonnie Bianco in un'immagine giovanile degli anni ottanta Nazionalità Stati Uniti GenerePop Periodo di attività musicale1982 – in attività Album pubblicati23 Modifica dati su Wikidata · Manuale Bonnie Bianco, pseudonimo di Lory Lynn...

The Turn of the ScrewSutradaraTim FywellProduserColin WrattenSkenarioSandy WelchBerdasarkanThe Turn of the Screwoleh Henry JamesPerusahaanproduksiBBCDistributorAcorn Media UKTanggal rilis 30 Desember 2009 (2009-12-30) Durasi89 menit[1]NegaraBritania RayaBahasaEnglish The Turn of the Screw (juga disebut sebagai Ghost Story: The Turn of the Screw) adalah film televisi berdasarkan cerita horor karangan Henry James tahun 1898 yang berjudul sama. Diproduksi oleh BBC, film ini tayang p...

 

 

قصص مخيفة تحكى في الظلام (بالإنجليزية: Scary Stories to Tell in the Dark)‏  الصنف فيلم رعب،  وفيلم أشباح  [لغات أخرى]‏،  وفيلم مبنى على كتب  [لغات أخرى]‏  تاريخ الصدور 20199 أغسطس 2019 (الولايات المتحدة)23 أغسطس 2019 (المملكة المتحدة)31 أكتوبر 2019 (ألمانيا)28 نوفمبر 2019 (المجر)&#...

 

 

1930s Romanian paramilitary death squads The Decemviri and Nicadori, along with Codreanu, were exhumed and given a lavish burial service in November 1940. During the 1930s, three notable death squads emerged from Romania's Iron Guard: the Nicadori, the Decemviri and the Răzbunători. Motivated by a combination of fascist political ideology and religious-nationalist mysticism, they carried out several high-level political assassinations in the inter-war period. Theoretical background Death wa...

Former action and development plan of the EU This article is part of a series onPolitics of the European Union Member states (27) Austria Belgium Bulgaria Croatia Cyprus Czech Republic Denmark Estonia Finland France Germany Greece Hungary Ireland Italy Latvia Lithuania Luxembourg Malta Netherlands Poland Portugal Romania Slovakia Slovenia Spain Sweden Candidat...

 

 

Pál Schmitt Presiden HungariaMasa jabatan5 Agustus 2010 – 2 April 2012Perdana MenteriViktor OrbánPendahuluLászló SólyomPenggantiLászló Kövér Informasi pribadiLahir13 Mei 1942 (umur 81)Budapest, HungariaPartai politikFideszSuami/istriKatalin MakraySunting kotak info • L • B Pál Schmitt (lahir 13 Mei 1942) adalah bekas Presiden Hungaria yang menjabat sejak 6 Agustus 2010 hingga 2 April 2012. Schmitt adalah pemain anggar terkemuka di negaranya. Dia meraih ...

 

 

Discontinued corporate mobile messaging app Microsoft KaizalaDeveloper(s)MicrosoftInitial releaseAndroid: 1.1.0718.3411/ June 29, 2019; 4 years ago (2019-06-29),iOS: 1.133.107283511/ July 2, 2019; 4 years ago (2019-07-02)Written inC#Operating systemAndroid, iOSSuccessorMicrosoft TeamsSizeAndroid: 34.32 MB,iOS: 231.1 MBAvailable in35 languagesList of languagesEnglish, Bengali, Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Gujarati, Hindi, H...

Village in Ramle, Mandatory PalestineSaydun صيدونVillageEtymology: from Zidon[1] 1870s map 1940s map modern map 1940s with modern overlay map A series of historical maps of the area around Saydun (click the buttons)SaydunLocation within Mandatory PalestineCoordinates: 31°50′28″N 34°54′17″E / 31.84111°N 34.90472°E / 31.84111; 34.90472Palestine grid141/138Geopolitical entityMandatory PalestineSubdistrictRamleDate of depopulationnot known[...

 

 

French writer and journalist This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Roger Gougenot des Mousseaux – news · newspapers · books · scholar · JSTOR (September 2017) (Learn how and when to remove this message) You can help expand this article with text translated from the corresponding article in Spanish....

 

 

location of Two Mile Square Reservation in Ohio The Two Mile Square Reservation or Two Mile Square Reserve was a tract of land in Ohio ceded by Native Americans to the United States of America in the Treaty of Greenville in 1795. It was subsequently surveyed in a manner different from surrounding land, and lots sold to settlers. History The Americans won the Battle of Fallen Timbers in 1794, ending the Northwest Indian War. As a result of the battle, the Treaty of Greenville was signed, which...

American broadcaster MHz NetworksType OTT platform CountryUnited StatesAvailability United States Canada Founded2001; 23 years ago (2001)HeadquartersFalls Church, VirginiaPicture format 720p or 1080i (HDTV) 480i (SDTV) Official websitemhznetworks.com MHz Networks is an American broadcaster that specializes in international television programming. Washington, D.C., broadcast operations Further information: WNVT MHz (pronounced M-H-Z) Networks began as a project of the Commonw...

 

 

American college basketball season 2013–14 North Carolina Tar Heels men's basketballHall of Fame Tip Off championsNCAA tournament, Round of 32ConferenceAtlantic Coast ConferenceRankingCoachesNo. 21APNo. 19Record24–10 (13–5 ACC)Head coachRoy Williams (11th season)Assistant coaches Steve Robinson (11th season) C. B. McGrath (11th season) Hubert Davis (2nd season) Home arenaDean E. Smith CenterSeasons← 2012–132014–15 → 2013–14 ACC men's baske...

 

 

Comic book series BloodstrikeCover of Bloodstrike #1 (remastered edition) by Dan Fraga and Rob LiefeldPublication informationPublisherExtreme StudiosImage ComicsFirst appearanceBloodstrike #1 (April 1993)Created byRob LiefeldEric StephensonDan FragaIn-story informationBase(s)PentagonMember(s)Cabbot StoneFourplayDeadlockShogunTagChapel Bloodstrike is a comic book series created by writer/artist Rob Liefeld as part of his Extreme Studios production company, and which debuted in 1993 through Ima...

هذه المقالة بحاجة لصندوق معلومات. فضلًا ساعد في تحسين هذه المقالة بإضافة صندوق معلومات مخصص إليها. هذه مقالة غير مراجعة. ينبغي أن يزال هذا القالب بعد أن يراجعها محرر؛ إذا لزم الأمر فيجب أن توسم المقالة بقوالب الصيانة المناسبة. يمكن أيضاً تقديم طلب لمراجعة المقالة في الصفحة ...

 

 

Southeast Asian fermented fish seasoning Pla ra at the old market of Don Wai, Nakhon Pathom The pot of pla ra in a som tam vendor's cart, Bangkok Baskets and mounds of Thai shrimp paste (kapi) at Warorot market, Chiang Mai, Thailand Pla ra (Thai: ปลาร้า, pronounced [plāː ráː]), similar to padaek in Laos, is a traditional Thai[1] seasoning produced by fermenting fish with rice bran or roasted rice flour and salt fermented in a closed container for at least six ...

 

 

Cet article est une ébauche concernant une compétition de football et la France. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Trophée des champions 2020 Logo du Trophée des champions 2020. Contexte Compétition Trophée des champions Date 13 janvier 2021 Stade Stade Bollaert-Delelis Lieu  Lens, France Affluence 0 spectateurs Résultat Paris Saint-Germain 2 - 1 Olympique de Marseille Mi-temps 1 - 0 0 ...

Cet article est une ébauche concernant une localité suisse. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Pour les articles homonymes, voir Emmen. Emmen Emmen. Armoiries Drapeau Administration Pays Suisse Canton Lucerne Arrondissement électoral Hochdorf Localité(s) Emmen-Dorf, Emmenbrücke Communes limitrophes Buchrain, Ebikon, Eschenbach, Littau, Lucerne, Neuenkirch, Rothenburg Maire Mandat Ramona Gut-Rog...

 

 

← 2019 2018 2017 2020 in Bangladesh → 2021 2022 2023 Centuries: 20th 21st Decades: 2000s 2010s 2020s See also:Other events of 2020List of years in Bangladesh 2020 (MMXX) was a leap year starting on Wednesday of the Gregorian calendar, the 2020th year of the Common Era (CE) and Anno Domini (AD) designations, the 20th year of the 3rd millennium and the 21st century, and the 1st year of the 2020s decade. Calendar year The year 2020 was the 49th year after the independe...