Changes for page Examples of sensors

Last modified by Андрей Калиновский on 2023/04/26 11:20

<
From version < 22.1 >
edited by Андрей Калиновский
on 2022/10/18 10:54
To version < 23.1 >
edited by Андрей Калиновский
on 2023/04/25 14:33
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Примеры заведения датчиков
1 +Examples of sensors
Content
... ... @@ -1,59 +1,59 @@
1 -== **Простые датчики** ==
1 +== **Simple sensors** ==
2 2  
3 3  == ==
4 4  
5 -**Зажигание** по дискретному входу
5 +**Ignition** by discrete input
6 6  
7 7  [[image:image-20220519165301-1.png]]
8 8  
9 9  
10 10  
11 -**Зажигание** по аналоговому входу (датчик сработает при напряжении более > 6000 мВ)
11 +**Ignition** by analog input (the sensor will trigger if the voltage is more than > 6000 mV)
12 12  
13 13  [[image:image-20220519165301-2.png]]
14 14  
15 15  
16 -**Топливораздача** со счетного импульсного входа
16 +**Fuel dispensing** from counting pulse input
17 17  
18 18  [[image:image-20220519165301-3.png]]
19 19  
20 -В зависимости от алгоритма подсчета импульсов терминалом выбирается тип тарировки «Накопитель» или «Разница от пред.».
20 +Depending on the pulse counting algorithm, the terminal selects the type of calibration "Accumulator" or "Difference from the previous".
21 21  
22 -Аналогичным образом создаются датчики проточных расходомеров топлива - в этом случае тип датчика следует выбрать «Расход топлива».
22 +Similarly, sensors for flow-through fuel flow meters are created - in this case, the type of sensor should be selected as "Fuel consumption".
23 23  
24 24  
25 25  
26 -**Уровень зерна** полученный по интерфейсу RS485
26 +**Grain level** received via RS485 interface
27 27  
28 28  [[image:image-20220519165301-4.png]]
29 29  
30 30  
31 31  
32 -**Уровень топлива** полученный по интерфейсу RS485
32 +**Fuel level** received via RS485 interface
33 33  
34 34  [[image:image-20220519165301-5.png]]
35 35  
36 -Т.к. значения меньше первой и больше или равной последней строке считаются невалидными и игнорируются, рекомендуется в последней строке таблицы добавлять входное значение выше максимально возможного. Например 1024 или 4096 для датчиков которые максимально передают уровень топлива в диапазонах 0-1023 или 0-4095. Выходное значение можно рассчитать линейно.
36 +Because values ​​less than the first and greater than or equal to the last row are considered invalid and are ignored, it is recommended to add an input value higher than the maximum possible in the last row of the table. For example, 1024 or 4096 for sensors that transmit the maximum fuel level in the ranges of 0-1023 or 0-4095. The output value can be calculated linearly.
37 37  
38 38  
39 -**Температура прицепа **полученная по по интерфейсу 1-Wire
39 +**Trailer temperature ** received via 1-Wire interface
40 40  
41 41  [[image:image-20220519165301-6.png]]
42 42  
43 43  
44 -== **Виртуальные** ==
44 +== **Virtual** ==
45 45  
46 46  {{video url="https://www.youtube.com/watch?v=T3alpKIQ4cE" width="50%"/}}
47 47  
48 -[[**Датчик зажигания **по бортовому напряжению>>doc:Панель управления.Раздел "Объекты".Настройка зажигания по напряжению.WebHome]]
48 +[[On-board voltage **ignition sensor **>>doc:Панель управления.Раздел "Объекты".Настройка зажигания по напряжению.WebHome]]
49 49  
50 50  
51 -**Подавление сигнала GNSS** полученное от терминала УМКа3хх
51 +**GNSS signal suppression** received from the UMKa3xx terminal
52 52  
53 53  [[image:image-20220519165301-7.png]]
54 54  
55 55  
56 -Для терминалов УМКа3хх поле STATUS отображается в десятичном виде на входе *А(100), подавление сигнала GNSS меняет девятый бит. В датчике задаем выражение getbit(adc100,9)
56 +For UMK-3xx terminals, the STATUS field is displayed in decimal form at the input *А(100), GNSS signal suppression changes the ninth bit. In the sensor, set the expression getbit(adc100,9)
57 57  
58 58  
59 59  {{video url="https://youtu.be/8i1A0xIBBpc" width="50%"/}}
... ... @@ -60,7 +60,7 @@
60 60  
61 61  
62 62  
63 -**Уровень топлива **с агрегирующей функцией суммирования или определения среднего значения.
63 +**Fuel level ** with an aggregation function for summing or averaging.
64 64  
65 65  [[image:image-20220519165301-8.png]]
66 66  
... ... @@ -67,37 +67,37 @@
67 67  
68 68  [[image:image-20220519165301-9.png]]
69 69  
70 -Агрегирующая функция «Сумма» применяется **при установке в каждый бак по одному датчику уровня топлива**.
70 +The aggregating function "Sum" is used **when one fuel level sensor is installed in each tank** .
71 71  
72 -Агрегирующая функция «Среднее» применяется **при установке в один бак нескольких датчиков уровня топлива**.
72 +The aggregating function "Average" is used **when several fuel level sensors are installed in one tank** .
73 73  
74 74  {{video url="https://youtu.be/hLFIcktZ9EM" width="50%"/}}
75 75  
76 -**Уровень топлива **с валидацией по зажиганию
76 +**Fuel level ** with ignition validation
77 77  
78 -При использовании штатных датчиков топлива с инвертированной тарировочной таблицей возникает эффект когда при отключении зажигания напряжение с датчика падает в 0, что детектируется как полный бак. Для фильтрации можно использовать валидацию по датчику зажигания.
78 +When using standard fuel sensors with an inverted calibration table, an effect occurs when the voltage from the sensor drops to 0 when the ignition is turned off, which is detected as a full tank. For filtering, you can use validation by the ignition sensor.
79 79  
80 80  
81 -Для этого создаем физические датчики зажигания и уровня топлива с указанием псевдонимов ign и fuel
81 +To do this, we create physical sensors for ignition and fuel level, indicating the aliases ign and fuel
82 82  
83 83  [[image:image-20220519165301-10.png]]
84 84  
85 85  [[image:image-20220519165301-11.png]]
86 86  
87 -Затем создаем виртуальный датчик уровня топлива с выражением **//if(ign, fuel, 0)//** - если включено зажигание то передаем топливо как есть, в противном случае передаем вместо него 0. Заполняем тарировочную таблицу 2-мя сточками - 0 - 0 и максимальный_объем_бака - максимальный_объем_бака, что будет отсекать 0 полученный из условия формулы. В результате система будет считать невалидным уровень топлива полученный при отключенном датчике зажигания.
87 +Then we create a virtual fuel level sensor with the expression **//if(ign, fuel, 0)//** - if the ignition is on, then we transfer the fuel as it is, otherwise we transfer 0 instead. Fill in the calibration table with 2 lines - 0 - 0 and maximum_tank_volume - maximum_tank_volume, which will cut off the 0 obtained from the formula condition. As a result, the system will consider invalid the fuel level obtained with the ignition sensor turned off.
88 88  
89 89  [[image:image-20220519165301-12.png]]
90 90  
91 91  
92 92  
93 -**Уровень топлива **по датчику с изменившимся номером входа.
93 +**Fuel level ** on the sensor with the changed input number.
94 94  
95 -Для этого создаем физические датчики с типом «Произвольный», тарировочными таблицами, старым и новым номерами входов и указанием псевдонимов fuel_old и fuel_new.
95 +To do this, we create physical sensors with the Arbitrary type, calibration tables, old and new input numbers, and specifying fuel_old and fuel_new aliases.
96 96  
97 97  [[image:image-20220519165301-13.png]]
98 -Затем создаем виртуальный датчик уровня топлива с выражением **//if(time > cdate('2021-12-22 00:00:00', 'yyyy-MM-dd HH:mm:ss'), fuel_new, fuel_old)//** - после 2021-12-22 00:00:00 (время по UTC) топливо отображается с нового ДУТ, а до этого времени включительно со старого ДУТ.
98 +Then we create a virtual fuel level sensor with the expression **//if(time > cdate('2021-12-22 00:00:00', 'yyyy-MM-dd HH:mm:ss'), fuel_new, fuel_old) -//** after 2021-12 -22 00:00:00 (UTC time) fuel is displayed from the new FLS, and up to this time inclusive from the old FLS.
99 99  
100 100  
101 101  [[image:image-20220519165301-14.png]]
102 102  
103 -====== //Пример заведения аналогового датчика в статье [["Настройка аналогового ДУТ" >>https://wiki.glonasssoft.ru/bin/view/%D0%9F%D0%B0%D0%BD%D0%B5%D0%BB%D1%8C%20%D1%83%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F/%D0%A0%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%20%22%D0%9E%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D1%8B%22/%D0%9D%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0%20%D0%B0%D0%BD%D0%B0%D0%BB%D0%BE%D0%B3%D0%BE%D0%B2%D0%BE%D0%B3%D0%BE%20%D0%94%D0%A3%D0%A2/]]// ======
103 +====== //An example of setting up an analog sensor in the article [["Setting up an analog FLS" >>https://wiki.glonasssoft.ru/bin/view/%D0%9F%D0%B0%D0%BD%D0%B5%D0%BB%D1%8C%20%D1%83%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F/%D0%A0%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%20%22%D0%9E%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D1%8B%22/%D0%9D%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0%20%D0%B0%D0%BD%D0%B0%D0%BB%D0%BE%D0%B3%D0%BE%D0%B2%D0%BE%D0%B3%D0%BE%20%D0%94%D0%A3%D0%A2/]]// ======

Menu

GLONASSSoft wiki - 2023 г