поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

MPXM2102AS датащи(PDF) 461 Page - Motorola, Inc

номер детали MPXM2102AS
подробное описание детали  Sensor
PDF  670 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MOTOROLA [Motorola, Inc]
домашняя страница  http://www.freescale.com
Logo MOTOROLA - Motorola, Inc

MPXM2102AS датащи(HTML) 461 Page - Motorola, Inc

Back Button MPXM2102AS Datasheet HTML 457Page - Motorola, Inc MPXM2102AS Datasheet HTML 458Page - Motorola, Inc MPXM2102AS Datasheet HTML 459Page - Motorola, Inc MPXM2102AS Datasheet HTML 460Page - Motorola, Inc MPXM2102AS Datasheet HTML 461Page - Motorola, Inc MPXM2102AS Datasheet HTML 462Page - Motorola, Inc MPXM2102AS Datasheet HTML 463Page - Motorola, Inc MPXM2102AS Datasheet HTML 464Page - Motorola, Inc MPXM2102AS Datasheet HTML 465Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 461 / 670 page
background image
AN1518
3–315
Motorola Sensor Device Data
www.motorola.com/semiconductors
THE MICROCONTROLLER
The microcontroller for this application requires input
capture and output compare timer channels. The output
capture pin is programmed to output the pulse train that drives
the ramp generator, and the input capture pin detects edge
transitions to measure the PWM output pulse width.
Since software controls the entire system, a calibration
routine may be implemented that allows an adjustment of the
frequency and pulse width of the pulse train until the desired
ramp waveform is obtained. Depending on the speed of the
microcontroller, additional constraints on the minimum and
maximum PWM output pulse widths may apply. For this
design, the software latency incurred to create the pulse train
at the output compare pin is approximately 40
µs.
Consequently, the microcontroller cannot create a pulse train
with a positive pulse width of less than 40
µs. Also, the
software that measures the PWM output pulse width at the
input capture pin requires approximately 20
µs to execute.
Referring to Figure 5, the software interrupt that manipulates
the pulse train always occurs near an edge detection on the
input capture pin (additional software interrupt). Therefore, the
minimum PWM output pulse width that can be accurately
detected is approximately 60
µs (20 µs + 40 µs). This
constrains the minimum and maximum pulse widths more
than the slew rate of the comparator which was discussed
earlier (refer to Figure 4).
Figure 4. Desired Relationship Between the Ramp Waveform
and Pressure Sensor Voltage Spans
∆V Sets Minimum
Pulse Width (60
µs)
VSFS
VSOFF
∆V Sets Maximum
Pulse Width
(Period – 60
µs)
An additional consideration is the resolution of the PWM
output. The resolution is directly related to the maximum
frequency of the pulse train. In our design, 512
µs are required
to obtain at least 8–bit resolution. This is determined by the
fact that a 4 MHz crystal yields a 2 MHz clock speed in the
microcontroller. This, in turn, translates to 0.5
µs per clock tick.
There are four clock cycles per timer count. This results in 2
µs
per timer count. Thus, to obtain 256 timer counts (or 8–bit
resolution), the difference between the zero pressure and full
scale pressure PWM output pulse widths must be at least
512
µs (2 µs x 256). But since an additional 60 µs is needed
at both pressure extremes of the output waveform, the total
period must be at least 632
µs. This translates to a maximum
frequency for the pulse train of approximately 1.6 kHz. With
this frequency, voltage span of the ramp generator, and value
of current charging the capacitor, the minimum capacitor value
may be calculated with Equation 1.
To summarize:
The MC68HC705P9 runs off a 4 MHz crystal. The
microcontroller internally divides this frequency by two to yield
an internal clock speed of 2 MHz.
1
2MHz
+§
0.5
ms
clock cycle
And,
4 clock cycles = 1 timer count.
Therefore,
4 clock cycles
timer count
0.5
ms
clock cycle
+
2
ms
timer count
For 8–bit resolution,
2
ms
timer count
256 counts
+ 512 ms
Adding a minimum of 60
µs each for the zero and full scale
pressure pulse widths yields
512
µs + 60 µs + 60 µs = 632 µs,
which is the required minimum pulse train period to drive the
ramp generator.
Translating this to frequency, the maximum pulse train
frequency is thus
1
632
ms +
1.58 kHz .
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com