eeros_architecture:hal:scaling
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eeros_architecture:hal:scaling [2017/06/29 16:02] – [Scale and Range of Analog Signals] graf | eeros_architecture:hal:scaling [2022/05/06 21:09] (current) – jonasfrei | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Scale and Range of Analog Signals ====== | ====== Scale and Range of Analog Signals ====== | ||
- | Within EEROS we work with signals having physically meaningful units. However, when such signals are read from real-world hardware we use analog-to-digital converters or encoder which are basically counters. When outputting such signals we use digital-to-analog converters. These counters or converters all deliver or need an integer value. Its maximum and minimum value depend on the resolution of the underlying hardware. The '' | + | Within EEROS we work with signals having physically meaningful units. However, when such signals are read from real-world hardware we use analog-to-digital converters or encoder which are basically counters. When outputting such signals we use digital-to-analog converters. These counters or converters all deliver or need an integer value. Its maximum and minimum value depend on the resolution of the underlying hardware. The '' |
===== Configuring an Analog Output ===== | ===== Configuring an Analog Output ===== | ||
Line 9: | Line 9: | ||
- Enter this limits in the configuration file under '' | - Enter this limits in the configuration file under '' | ||
- Write a small digital value to the analog output directly (not through eeros). That is, if your are using comedi for instance, you use a user interface and write a value of 1000 to one of its analog outputs. | - Write a small digital value to the analog output directly (not through eeros). That is, if your are using comedi for instance, you use a user interface and write a value of 1000 to one of its analog outputs. | ||
- | - Record this digital value it in the configuration file under '' | + | - Record this digital value in the configuration file under '' |
- Measure the resulting voltage with a multimeter and record it in the configuration file under '' | - Measure the resulting voltage with a multimeter and record it in the configuration file under '' | ||
- Repeat this with a large digital value close to the upper limit. For this you have to know the range of your digital-to-analog converter. | - Repeat this with a large digital value close to the upper limit. For this you have to know the range of your digital-to-analog converter. | ||
- | - Record this digital value it in the configuration file under '' | + | - Record this digital value in the configuration file under '' |
- Measure the resulting voltage with a multimeter and record it in the configuration file under '' | - Measure the resulting voltage with a multimeter and record it in the configuration file under '' | ||
Line 32: | Line 32: | ||
" | " | ||
" | " | ||
- | " | + | " |
- | " | + | " |
+ | | ||
+ | " | ||
+ | " | ||
+ | " | ||
" | " | ||
} | } |
eeros_architecture/hal/scaling.1498744965.txt.gz · Last modified: 2017/06/29 16:02 (external edit)