MATLAB XPC TARGET RELEASE NOTES Uživatelská příručka Strana 295

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 531
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 294
General xPC Target™ Troubleshooting
• Number of I/O channels
Why Is My Requested xPC Target Sample Time
Different from the Measured Sample Time?
You might notice that the sample time you request does not equal the actual
sample time you measure from your model. This difference depends on your
hardware. Your m odel sample time is as close to your requested time as the
hardware allows.
However, hardware does not allow infinite precision in setting the spacing
between the timer interrupts. This limitation can cause the divergent sample
times.
For all PCs, the only timer that can generate interrupts is based on a 1.193
MHz clock. For the xPC Target system, the tim er is set to a fixed number of
ticks of this frequency between interrupts. If you request a sample time of
1/10000, or 100, microseconds, you do not get exactly 100 ticks. Instead, the
xPC Target software calculates that number as
100 x 10
-6
seconds X 1.193 x 10
6
ticks/seconds = 119.3 ticks
The xPC Target software rounds this number to the nearest whole number,
119ticks. Theactualsampletimeisthen
119 ticks/(1.193 X 10
6
ticks/second) = 99.75 X 10
-6
seconds
(99.75 microseconds)
Compared to the requested original sample time of 100 microseconds, this
value is 0.25% faster.
As an example of how you can use this value to derive the expected deviation
for your hardware, assume the following:
• Output board that generates a 50 Hz sine wave (expected signal)
• Sample time of 1/10000
• Measured signal of 50.145 Hz
The difference between the expected and measured signals is .145, which
deviates from the expected signal value by 0.29% (0.145/50). Compared to the
15-29
Zobrazit stránku 294
1 2 ... 290 291 292 293 294 295 296 297 298 299 300 ... 530 531

Komentáře k této Příručce

Žádné komentáře

Xerox DocuColor 250 manuals

Owner’s manuals and user’s guides for Printers Xerox DocuColor 250.
We providing 1 pdf manuals Xerox DocuColor 250 for download free by document types: User Manual






More products and manuals for Printers Xerox

Models Document Type
DocuColor 2060 NPS User Manual   Xerox DocuColor 2060 NPS User Manual, 38 pages
701P35371 User Manual   Xerox 701P35371 User Manual, 86 pages
DocuColor 5000AP User Manual   Xerox DocuColor 5000AP User Manual, 20 pages
CopyCentre/WorkCentre 118 MO3101Y6-1 User Manual   Xerox CopyCentre/WorkCentre 118 MO3101Y6-1 User Manual, 4 pages
DCC360 User Manual   Xerox DCC360 User Manual, 7 pages
3535 User Manual   Xerox 3535 User Manual, 268 pages
Phaser laser printer 4500 User Manual   Xerox Phaser laser printer 4500 User Manual, 10 pages
96/4635/180 IPS User Manual   Xerox 96/4635/180 IPS User Manual, 51 pages
3100MFP User Manual   Xerox 3100MFP User Manual, 12 pages
6360 User Manual   Xerox 6360 User Manual, 4 pages
SquareFold 610P729932 User Manual   Xerox SquareFold 610P729932 User Manual, 2 pages
Phaser 6180 User Manual   Xerox Phaser 6180 User Manual, 4 pages
DC98CC09 User Manual   Xerox DC98CC09 User Manual, 4 pages
XT3008EN0-2 User Manual   Xerox XT3008EN0-2 User Manual, 30 pages
2000 User Manual   Xerox 2000 User Manual, 2 pages
WorkCentre XD130DF User Manual   Xerox WorkCentre XD130DF User Manual, 1 pages
F12 User Manual   Xerox F12 User Manual, 4 pages
785 User Manual   Xerox 785 User Manual, 368 pages
DC220 User Manual   Xerox DC220 User Manual, 2 pages
8142 User Manual   Xerox 8142 User Manual, 1 pages