The document discusses analog-to-digital converters (ADCs), including what they are, the conversion process from analog to digital signals, examples of ADC applications, and different types of ADCs such as successive approximation, flash, dual slope, and delta-sigma ADCs. It also provides details on the ADC subsystem and registers of the MC9S12C32 microcontroller.
The content is related to Analog electronics. The prEsentation contains ADC process, Sampling and holding, Quantizing and encoding, Flash ADC, Pipeline ADC etc.
The Presentation includes Basics of Non - Uniform Quantization, Companding and different Pulse Code Modulation Techniques. Comparison of Various PCM techniques is done considering various Parameters in Communication Systems.
The content is related to Analog electronics. The prEsentation contains ADC process, Sampling and holding, Quantizing and encoding, Flash ADC, Pipeline ADC etc.
The Presentation includes Basics of Non - Uniform Quantization, Companding and different Pulse Code Modulation Techniques. Comparison of Various PCM techniques is done considering various Parameters in Communication Systems.
Salient Features:
The magnitude response is nearly constant(equal to 1) at lower frequencies
There are no ripples in passband and stop band
The maximum gain occurs at Ω=0 and it is H(Ω)=1
The magnitude response is monotonically decreasing
As the order of the filter ‘N’ increases, the response of the filter is more close to the ideal response
Frequency-Shift Keying, also known as FSK is a type of digital frequency modulation. It is also often called as binary frequency shift keying or BFSK
Similar to analog FM, it is a constant-amplitude angle modulation.
This presentation will discuss the concepts behind FSK
Salient Features:
The magnitude response is nearly constant(equal to 1) at lower frequencies
There are no ripples in passband and stop band
The maximum gain occurs at Ω=0 and it is H(Ω)=1
The magnitude response is monotonically decreasing
As the order of the filter ‘N’ increases, the response of the filter is more close to the ideal response
Frequency-Shift Keying, also known as FSK is a type of digital frequency modulation. It is also often called as binary frequency shift keying or BFSK
Similar to analog FM, it is a constant-amplitude angle modulation.
This presentation will discuss the concepts behind FSK
ADC stands for analog to digital converter,it is use to convert analog signal to digital.In Embedded system this is very important because various device give analog input but micro-controller is process only digital input.
Basics covering analog signals, PLC analog input modules, transducers/transmitters and the wiring of input transducers/transmitters to the PLC analog input module. Single ended and differential wiring are also discussed.
How To Change Name On Volaris Ticket.pdfnamechange763
How to change name on Volaris ticket? This is one of the most common questions asked by travelers flying with Volaris Airlines. The mentioned details can help you with your name rectification on the airline ticket. If you are still facing difficulties call the consolidation desk at +1-800-865-1848.
Discover the wonders of the Wenatchee River with a variety of river tours in Monitor, WA. Whether you're seeking thrilling whitewater rafting, peaceful kayaking, family-friendly float trips, or scenic sunset cruises, there's something for everyone. Enjoy fishing, wildlife spotting, bird watching, and more in this beautiful natural setting, perfect for outdoor enthusiasts and families alike.
Exploring Montreal's Artistic Heritage Top Art Galleries and Museums to VisitSpade & Palacio Tours
Montreal boasts a vibrant artistic heritage, showcased in its top art galleries and museums. From the expansive collections at the Montreal Museum of Fine Arts to the cutting-edge exhibits at the Musée d'art contemporain, discover the city's rich cultural landscape. Experience dynamic street art, indigenous works, and contemporary pieces, reflecting Montreal's diverse and innovative art scene.
Discover Palmer, Puerto Rico, through an immersive cultural tour that unveils its rich history and vibrant traditions. Experience lively festivals, savor authentic cuisine, and explore local markets. Visit historical landmarks, museums, and stunning colonial architecture. Engage with friendly locals, enjoy live music, and hike scenic nature trails, all while participating in cultural workshops and discovering unique artisan crafts.
4 DAYS MASAI MARA WILDEBEEST MIGRATION SAFARI TOUR PACKAGE KENYABush Troop Safari
Join our 4-day Masai Mara Wildebeest Migration Safari in Kenya. Witness the incredible wildebeest migration, enjoy exciting game drives, and stay in comfortable lodges. Get up close and personal with one of nature's most amazing exhibits! Book Your Safari Today at - https://bushtroop-safaris.com/
TRAVEL TO MT. RWENZORI NATIONAL PARK WITH NILE ABENTEUER SAFARIS.docxnileabenteuersafaris
Let’s explore the captivating Rwenzori Mountains National Park in Uganda with Nile Abenteuer Safaris. This UNESCO World Heritage Site, also known as the “Mountains of the Moon,” offers unparalleled beauty and diverse ecosystems. 🌿🏔️
Key Features of Rwenzori Mountains National Park:
Majestic Peaks:
Mount Rwenzori, Africa’s third-highest peak, dominates the landscape. Its snow-capped summits and glacier-draped slopes provide a challenging yet rewarding adventure for trekkers and climbers.
Ascending these peaks allows you to witness breathtaking vistas and experience the thrill of high-altitude trekking.
Biodiversity:
Explore the park’s rich biodiversity, which includes montane forests, alpine meadows, and towering cliffs.
Encounter rare and endemic species such as the Rwenzori turaco, Rwenzori red duiker, and Rwenzori three-horned chameleon.
Trekking Trails:
Embark on immersive trekking experiences along a network of trails. Choose from leisurely walks to multi-day expeditions.
Traverse verdant valleys, moss-draped forests, and marvel at cascading waterfalls as you ascend toward the summit.
Cultural Heritage:
Engage with local communities of the Bakonjo and Bamba people. Gain insight into their traditional way of life and cultural practices.
Discover the rich history and folklore surrounding the Rwenzori Mountains.
Planning Your Visit:
Trekking and Climbing:
Select from various trekking routes tailored to different skill levels and durations.
Experienced guides and porters ensure a safe and enjoyable journey to the summit.
Wildlife Viewing:
Embark on guided nature walks to spot diverse wildlife, including primates, birds, and endemic plant species.
Keep an eye out for the Rwenzori hyrax, blue monkeys, and various bird species.
Accommodation:
Rest and rejuvenate in comfortable lodges, campsites, and guesthouses within and around the park.
Experience warm hospitality amidst the tranquility of nature.
Conservation:
Support conservation efforts by adhering to park regulations and practicing responsible tourism.
Your visit contributes to preserving this pristine wilderness for future generations.
Embark on an Unforgettable Adventure:
Whether you seek the thrill of summiting Africa’s legendary peaks or the serenity of exploring remote landscapes, Mount Rwenzori promises an unforgettable journey into the heart of nature’s majesty. Start planning your expedition today and unlock the secrets of this captivating natural wonder!
Visit
https://nileabenteuer.com/tour_destination/mount-rwenzori-national-park/
https://www.rwenzoriexpeditions.com/treks/rwenzoris-gorilla-trek/
For more information;
WhatsApp: +256 752 397520
Email: info@nileabenteuer.com
Website: www.nileabenteuer.com
Its running cost is among the diverse vital aspects you must consider before buying an electric scooter. Calculate the cost of getting e-scooter charge for your regular usage to calculate its economic efficiency, similar to people who investigate the mileage of petrol or diesel-driven scooters.
During the coldest months, Italy transforms into a winter wonderland, providing visitors with a very unique experience. From the Settimana Bianca ski event to the lively Carnevale celebrations, Italy's winter festivities provide something for everyone. Enjoy hot cocoa, eat hearty comfort foods, and buy during winter deals. Explore the country's rich cultural past by participating in Settimana Bianca, and Carnevale, sipping hot chocolate, shopping during winter deals, and indulging in winter comfort foods. Visit our website https://timeforsicily.com/ for more information.
London Country Tours, the foremost travel partner offers customized Stonehenge tours from London coming with private tour guides and direct access to the inner circles. Visit: https://www.londoncountrytours.co.uk/tour/tours-to-stonehenge-oxford/
Antarctica- Icy wilderness of extremes and wondertahreemzahra82
In this presentation, we delve into the captivating realm of Antarctica, Earth's southernmost continent. This icy wilderness stands as a testament to extremes, with record-breaking cold temperatures and vast expanses of pristine ice. Antarctica's landscape is dominated by towering glaciers, colossal icebergs, and expansive ice shelves. Yet, amidst this frozen expanse, a rich tapestry of unique wildlife thrives, including penguins, seals, and seabirds, all finely attuned to survive in this harsh environment. Beyond its natural wonders, Antarctica also serves as a vital hub for scientific exploration, providing invaluable insights into climate change and the Earth's history
The Cherry Blossom season in Hunza begins in the second week of March and lasts until the end of April, varying with altitude. During this enchanting period, tourists from around the world flock to Hunza Valley to witness its transformation into a vibrant tapestry of white, pink, and green. The valley comes alive with cherry blossoms, creating a picturesque and mesmerizing landscape that captivates visitors.
About the Company:
The Cherry Blossom season in Hunza starts in the second week of March and extends until the end of April, depending on the altitude. During this enchanting period, tourists from around the globe travel to Hunza Valley to witness its transformation into a vibrant tapestry of white, pink, and green. The valley comes alive with cherry blossoms, creating a picturesque and mesmerizing landscape that captivates all who visit. For the best experience, join Hunza Adventure Tours, the top tour company in Pakistan, and immerse yourself in this breathtaking seasonal spectacle.
MC INTERNATIONALS | TRAVEL COMPANY IN JHANGAshBhatt4
Experience the world with MC Internationals travel and tourism. From foreign getways to cultural concentration, we tailor unforgettable journeys for every traveler. Let us turn your dream into reality and create lasting memories. Explore with us today. #TRAVEL,COMPANY #BEST,TRAVEL,COMPANY #VISIT,VISA #EMPLOYMENT,VISA #STUDY,VISA #HAJJ,AND,UMRAH
3. Signal Types
Analog Signals
Any continuous signal that a
time varying variable of the
signal is a representation of
some other time varying
quantity
Measures one quantity in
terms of some other quantity
Examples
• Speedometer needle as
function of speed
• Radio volume as function of
knob movement
t
4. Signal Types
Digital Signals
Consist of only two states
Binary States
On and off
Computers can only
perform processing on
digitized signals
0
1
5. Analog-Digital Converter (ADC)
An electronic integrated circuit which converts
a signal from analog (continuous) to digital
(discrete) form
Provides a link between the analog world of
transducers and the digital world of signal
processing and data handling
6. Analog-Digital Converter (ADC)
An electronic integrated circuit which converts
a signal from analog (continuous) to digital
(discrete) form
Provides a link between the analog world of
transducers and the digital world of signal
processing and data handling
7. Analog-Digital Converter (ADC)
An electronic integrated circuit which converts
a signal from analog (continuous) to digital
(discrete) form
Provides a link between the analog world of
transducers and the digital world of signal
processing and data handling
8. ADC Conversion Process
Two main steps of process
1. Sampling and Holding
2. Quantization and Encoding
t
t
Input: Analog Signal
Sampling and
Hold
Quantizing
and
Encoding
Analog-to-Digital Converter
9. ADC Process
t
Continuous Signal
Sampling & Hold
Measuring analog signals
at uniform time intervals
Ideally twice as fast as
what we are sampling
Digital system works with
discrete states
Taking samples from each
location
Reflects sampled and
hold signal
Digital approximation
10. ADC Process
t
Sampling & Hold
Measuring analog signals
at uniform time intervals
Ideally twice as fast as
what we are sampling
Digital system works with
discrete states
Taking samples from each
location
Reflects sampled and
hold signal
Digital approximation
11. ADC Process
t
Sampling & Hold
Measuring analog signals
at uniform time intervals
Ideally twice as fast as
what we are sampling
Digital system works with
discrete states
Taking a sample from each
location
Reflects sampled and
hold signal
Digital approximation
12. ADC Process
t
Sampling & Hold
Measuring analog signals
at uniform time intervals
Ideally twice as fast as
what we are sampling
Digital system works with
discrete states
Taking samples from each
location
Reflects sampled and
hold signal
Digital approximation
13. ADC Process
Quantizing
Separating the input signal
into a discrete states with K
increments
K=2N
N is the number of bits of the
ADC
Analog quantization size
Q=(Vmax-Vmin)/2N
Q is the Resolution
Encoding
Assigning a unique
digital code to each
state for input into the
microprocessor
15. ADC Process
Quantization & Coding
Use original analog
signal
Apply 2 bit coding
K=22 00
01
10
11
00
11
10
01
16. ADC Process
Quantization & Coding
Use original analog
signal
Apply 2 bit coding
K=22 00
01
10
11
00
11
10
01
17. ADC Process
Quantization & Coding
Use original analog
signal
Apply 3 bit coding
K=23 000
001
010
011
100
101
110
111
18. ADC Process
Quantization & Coding
Use original analog
signal
Apply 3 bit coding
Better representation of
input information with
additional bits
MCS12 has max of 10
bits
K=23 000
001
010
011
100
101
110
111
K=16 0000 K=…
.
.
.
1111
19. ADC Process-Accuracy
Sampling Rate, Ts
Based on number of steps
required in the conversion
process
Increases the maximum
frequency that can be
measured
Resolution, Q
Improves accuracy in
measuring amplitude of
analog signal
Limited by the signal-to-
noise ratio (~6dB)
t t
The accuracy of an ADC can be improved by increasing:
20. ADC Process-Accuracy
Sampling Rate, Ts
Based on number of steps
required in the conversion
process
Increases the maximum
frequency that can be
measured
Resolution (bit depth), Q
Improves accuracy in
measuring amplitude of
analog signal
t t
The accuracy of an ADC can be improved by increasing:
21. ADC-Error Possibilities
Aliasing (sampling)
Occurs when the input signal is changing much faster
than the sample rate
Should follow the Nyquist Rule when sampling
• Answers question of what sample rate is required
• Use a sampling frequency at least twice as high as the
maximum frequency in the signal to avoid aliasing
• fsample>2*fsignal
Quantization Error (resolution)
Optimize resolution
Dependent on ADC converter of microcontoller
22. ADC Applications
ADC are used virtually everywhere where an
analog signal has to be processed, stored, or
transported in digital form
Microphones
Strain Gages
Thermocouple
Digital Multimeters
24. Successive Approximation ADC
Elements
• DAC = Digital to Analog Converter
• EOC = End of Conversion
• SAR = Successive Approximation Register
• S/H = Sample and Hold Circuit
• Vin = Input Voltage
• Comparator
• Vref = Reference Voltage
25. Successive Approximation ADC
Algorithm
• Uses an n-bit DAC and original analog results
• Performs a binary comparison of VDAC and Vin
• MSB is initialized at 1 for DAC
• If Vin < VDAC (VREF / 2^n=1) then MSB is reset to 0
• If Vin > VDAC (VREF / 2^n) Successive Bits set to 1 otherwise 0
• Algorithm is repeated up to LSB
• At end DAC in = ADC out
• N-bit conversion requires N comparison cycles
30. Dual Slope A/D Converter
Also known as an Integrating ADC
Clock Counter
Control
Logic
+
_
Start Stop
31. Dual-Slope ADC – How It Works
u
d
ref
in
t
t
V
V
An unknown input voltage is applied to the input of the integrator and allowed to
ramp for a fixed time period (tu)
Then, a known reference voltage of opposite polarity is applied to the integrator
and is allowed to ramp until the integrator output returns to zero (td)
The input voltage is computed as a function of the reference voltage, the constant
run-up time period, and the measured run-down time period
The run-down time measurement is usually made in units of the converter's clock,
so longer integration times allow for higher resolutions
The speed of the converter can be improved by sacrificing resolution
33. Delta-Sigma ADC – How It Works
Input over sampled, goes to integrator
Integration compared with ground
Iteration drives integration of error to zero
Output is a stream of serial bits
37. ATD 10B8C - Block Diagram
Analog Input
General Purpose I/O
External Trigger
Analog Input
General Purpose I/O
High/Low
Ref Voltage
Power
Supplies
38. ATD 10B8C – Key Features
Resolution: 8/10 bits
Conversion time: 7 μsec (10 bit)
8-channel multiplexed inputs
Successive Approximation ADC
External trigger control
Conversion Modes:
Single or continuous conversion
Single channel or multiple channels
39. Operating Modes
Modes:
Stop Mode: All clocks halt; conversion aborts; minimum
recovery delay (~ 20μs)
Wait Mode: Reduced MCU power; can resume
Freeze Mode: Breakpoint for debugging an application
40. Registers
MC9S12C Family Reference Manual: Ch. 8
REGISTERS
6 Control Registers (first 2 are reserved!)
2 Status Registers
2 Test Registers
1 Digital Input Enable Register
1 Digital Port Data Register
8 Result Registers
41. Control Register (2)
This register controls power down, interrupt, and external
trigger.
Writes to this register will abort current conversion sequence
but will not start a new sequence.
ATD
Power
Interrupt
Enable
External Trigger
(Tab. 8-2)
42. Control Register (3)
This register controls the conversion sequence length, FIFO for
results registers and behavior in Freeze Mode.
Writes to this register will abort current conversion sequence
but will not start a new sequence.
Conversion
Sequence length
(Tab. 8-4)
Background Debug
Freeze Enable
(Tab. 8-5)
43. Control Register (4)
This register selects the conversion clock frequency, the length
of the second phase of the sample time and the resolution of
the A/D conversion (i.e.: 8-bits or 10-bits).
Writes to this register will abort current conversion sequence
but will not start a new sequence.
Resolution
(0=10 bit)
Clock Prescaler
(Default=5)
(Tab. 8-8)
44. Control Register (5)
This register selects the type of conversion sequence and the
analog input channels sampled.
Writes to this register will abort current conversion sequence
and start a new conversion sequence.
Result Register
Data Justification
RRD Unsigned (0)
/ Signed (1)
(Tab. 8-10/11)
Single (0) / Continuous (1)
Conversion Mode
Single (0) / Multi (1)
Channel Mode
Analog Input Channel Select
(Tab. 8-12)
45. Status Register (0)
This read-only register contains the sequence complete flag,
overrun flags for external trigger and FIFO mode, and the
conversion counter.
Sequence
Complete Flag
Conversion
Counter
52. Step 1: Power up ATD and define settings in ATDCTL2
ADPU = 1 (power up the ATD)
ASCIE = 1 (enables interrupt, if needed)
Step 2: Wait for ATD recovery time (~ 20μs)
Step 3: Set up # of conversions in ATDCTL3
Step 4: Configure resolution, sampling time, and ATD
clock speed in ATDCTL4
Step 5: Configure starting channel, single/multiple
channel, single or continuous sequence, and result
data format in ATDCTL5
Setting Up & Starting the ADC
-Multiplexer: A device that can send several signals over a single line.
-The External Trigger feature allows the user to synchronize ATD conversions to the external environment events rather than relying on software to signal the ATD module when ATD conversions are to take place.
During recovery from stop mode, there must be a minimum delay for the stop recovery time, tSR, before initiating a new ATD conversion sequence.
The conversion counter points to the result register that will receive the result of the current conversion.
The A/D conversion results are stored in 8 read-only result registers ATDDRHx/ATDDRLx. The result data is formatted in the result registers based on two criteria. First there is left and right justification; this selection is made using the DJM control bit in ATDCTL5. Second there is signed and unsigned data; this selection is made using the DSGN control bit in ATDCTL5. Signed data is stored in 2’s complement format and only exists in left justified format. Signed data selected for right justified format is ignored.