Wiki source code of Ignition voltage setting
Last modified by Андрей Калиновский on 2023/04/26 11:14
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | 1) Analyzing the navigation report, we determine the change in voltage in motion. The figure shows that in motion it becomes more than 13V, and during parking - less than 13V. | ||
| 2 | |||
| 3 | [[image:image-20230425141606-1.png]] | ||
| 4 | |||
| 5 | 2) We start the “Onboard voltage” sensor in the object card with the upit alias and the calibration table. Input type 0 - diagnostic, input number - 0. | ||
| 6 | |||
| 7 | [[image:image-20230425141618-2.png]] | ||
| 8 | |||
| 9 | 3) We start a virtual sensor "Ignition" in the object card with an aggregating function "expression" and an indication of the formula if(upit>13,true,false) where upit is a link to the "Onboard voltage" sensor, and 13 is the voltage limit, after which the sensor should turn on. Do not enter anything in the Alias field. | ||
| 10 | |||
| 11 | [[image:image-20230425141622-3.png]] | ||
| 12 | |||
| 13 | 4) Check the operation of the sensor: | ||
| 14 | |||
| 15 | [[image:image-20230425141627-4.png]] | ||
| 16 | |||
| 17 | **Addition 1. ** | ||
| 18 | |||
| 19 | If the object was set to ignition by voltage, and after some time there are voltage drops or loss (malfunction of the battery / generator / wiring or other), as a result of which the ignition operation has ceased to be detected partially or completely, then the runs and tracks can be restored as follows : | ||
| 20 | |||
| 21 | Step 1) On the **Monitoring** tab , select the desired object and click on the edit button, then in the **Object** editor window , select the templates tab; | ||
| 22 | |||
| 23 | [[image:image-20230425141632-5.png]] | ||
| 24 | |||
| 25 | Step 2) From the list of templates, we need a **Stop** template , select it and press **the edit button** ; | ||
| 26 | |||
| 27 | [[image:image-20230426111413-1.png]] | ||
| 28 | |||
| 29 | Step 3) In the template editor window **Stop** , in //the Basic conditions for defining an event// , **//delete//** the event - **Ignition off** ; | ||
| 30 | |||
| 31 | [[image:image-20230425141814-12.png]] | ||
| 32 | |||
| 33 | Step 4) Press the **save** button in the template editor window **Stop** ; | ||
| 34 | |||
| 35 | [[image:image-20230425141819-13.png]] | ||
| 36 | |||
| 37 | Step 5) We also press the **save** button in the **Object** editor window . | ||
| 38 | |||
| 39 | [[image:image-20230425141823-14.png]] | ||
| 40 | |||
| 41 | After these steps, the object will have a track and mileage, both on the map and in reports, regardless of the faulty ignition. | ||
| 42 | |||
| 43 | Examples: | ||
| 44 | |||
| 45 | **Correct ignition** | ||
| 46 | |||
| 47 | [[image:https://wiki.glonasssoft.ru/bin/download/%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%B7%D0%B0%D0%B6%D0%B8%D0%B3%D0%B0%D0%BD%D0%B8%D1%8F%20%D0%BF%D0%BE%20%D0%BD%D0%B0%D0%BF%D1%80%D1%8F%D0%B6%D0%B5%D0%BD%D0%B8%D1%8E/WebHome/image-20220915144625-7.jpeg?rev=1.1||alt="image-20220915144625-7.jpeg"]] | ||
| 48 | |||
| 49 | **Faulty ignition** | ||
| 50 | |||
| 51 | [[image:https://wiki.glonasssoft.ru/bin/download/%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%B7%D0%B0%D0%B6%D0%B8%D0%B3%D0%B0%D0%BD%D0%B8%D1%8F%20%D0%BF%D0%BE%20%D0%BD%D0%B0%D0%BF%D1%80%D1%8F%D0%B6%D0%B5%D0%BD%D0%B8%D1%8E/WebHome/image-20220915144651-8.jpeg?rev=1.1||alt="image-20220915144651-8.jpeg"]] | ||
| 52 | |||
| 53 | **After editing the template** | ||
| 54 | |||
| 55 | [[image:https://wiki.glonasssoft.ru/bin/download/%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%B7%D0%B0%D0%B6%D0%B8%D0%B3%D0%B0%D0%BD%D0%B8%D1%8F%20%D0%BF%D0%BE%20%D0%BD%D0%B0%D0%BF%D1%80%D1%8F%D0%B6%D0%B5%D0%BD%D0%B8%D1%8E/WebHome/image-20221007171745-3.jpeg?rev=1.1||alt="image-20221007171745-3.jpeg"]] | ||
| 56 | |||
| 57 | **Addendum 2.** | ||
| 58 | |||
| 59 | After the fault with the voltage on the object is eliminated, we can return the template to the default settings, for this: | ||
| 60 | Step 1) Go to **the Object** editing and click on the **Templates** tab ; | ||
| 61 | Step 2) From the list of templates, we need a **Stop** template , select it and click the edit button; | ||
| 62 | Step 3) In the template editor **Stop** , press the button //Default// , a window will appear on the successful reset of user settings to the basic ones, press OK; | ||
| 63 | |||
| 64 | [[image:https://wiki.glonasssoft.ru/bin/download/%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%B7%D0%B0%D0%B6%D0%B8%D0%B3%D0%B0%D0%BD%D0%B8%D1%8F%20%D0%BF%D0%BE%20%D0%BD%D0%B0%D0%BF%D1%80%D1%8F%D0%B6%D0%B5%D0%BD%D0%B8%D1%8E/WebHome/image-20220915153525-6.jpeg?rev=1.1||alt="image-20220915153525-6.jpeg"]] | ||
| 65 | |||
| 66 | [[image:https://wiki.glonasssoft.ru/bin/download/%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%B7%D0%B0%D0%B6%D0%B8%D0%B3%D0%B0%D0%BD%D0%B8%D1%8F%20%D0%BF%D0%BE%20%D0%BD%D0%B0%D0%BF%D1%80%D1%8F%D0%B6%D0%B5%D0%BD%D0%B8%D1%8E/WebHome/image-20220915145718-11.jpeg?rev=1.1||alt="image-20220915145718-11.jpeg"]] | ||
| 67 | Step 4) In the **Stop** template editor , click save; | ||
| 68 | Step 5) In the **Object** editor , click save. | ||
| 69 | After these steps, the basic settings of the **Stop** template for the ignition sensor are restored. |