Niestety może się tak zdarzyć. Wiem to po uruchomianiu mojego sterownika krokowca, który ma podobnie zbudowane mostki ( na IR21xx).
U mnie miałem taki efekt - po wyłączeniu zasilania logiki ( oraz układów IR21xx) zostały aktywowane oba tranzystory (górny i dolny w jednym z mostków). Nie za bardzo wiem czy to było chwilowe, ale jeden z tranzystorów tego nie wytrzymał i zrobił się zwarciem - chyba poszła w nim dioda.
Znaleziono 5 wyników
Wróć do „UHU kity + ew plytki”
- 17 mar 2007, 20:09
- Forum: Elektronika CNC
- Temat: UHU kity + ew plytki
- Odpowiedzi: 481
- Odsłony: 65689
- 05 mar 2007, 05:54
- Forum: Elektronika CNC
- Temat: UHU kity + ew plytki
- Odpowiedzi: 481
- Odsłony: 65689
Nie wiem jak Ulli zrobił ten licznik, ale w mojej konstrukcji ( gdzie procesor ma hardwarowy enkoder) błąd ten jest liczony w następujący sposób:
(cytat z datasheeta)
16.5.3.4 Using the Index Pin and MAXCNT for Error Checking
When the counter operates in reset on index pulse mode, the QEI will also detect POSCNT
register boundary conditions. This may be used to detect system errors in the incremental
encoder system.
For example, assume a wheel encoder has 100 lines. When utilized in x4 measurement mode
and reset on the index pulse, the counter should count from 0 to 399 (0x018E) and reset. If the
POSCNT register ever achieves the values of 0xFFFF or 0x0190, some sort of system error
has occurred.
The contents of the POSCNT register is compared with MAXCNT + 1, if counting up, and with
0xFFFF, if counting down. If the QEI detects one of these values, a position count error
condition is generated by setting the CNTERR bit (QEICON<15>) and optionally generating a
QEI interrupt.
If the CEID control bit (DFLTCON<8>) is cleared (default), then a QEI interrupt will be generated
when a position count error is detected. If the CEID control bit is set, then an interrupt will not
occur.
The position counter continues to count encoder edges after detecting a position count error. No
interrupt is generated for subsequent position count error events until CNTERR is cleared by
the user.
W skrócie:
Mając skonfigurowaną liczbę impulsów enkodera wiadomo, że impuls 'home' powinien pojawić się w okreslonych momentach - jezeli mamy w enkoderze 400 impulsów, a home pojawi się po 399 - to zgubiliśmy jeden impuls.
Popatrzyłem do schematu UHU - nie widzę tam użycia HOME. Widać Ulli np. sprawdza zgubione przerwania od enkodera - to też jest wskaźnik błędów.
(cytat z datasheeta)
16.5.3.4 Using the Index Pin and MAXCNT for Error Checking
When the counter operates in reset on index pulse mode, the QEI will also detect POSCNT
register boundary conditions. This may be used to detect system errors in the incremental
encoder system.
For example, assume a wheel encoder has 100 lines. When utilized in x4 measurement mode
and reset on the index pulse, the counter should count from 0 to 399 (0x018E) and reset. If the
POSCNT register ever achieves the values of 0xFFFF or 0x0190, some sort of system error
has occurred.
The contents of the POSCNT register is compared with MAXCNT + 1, if counting up, and with
0xFFFF, if counting down. If the QEI detects one of these values, a position count error
condition is generated by setting the CNTERR bit (QEICON<15>) and optionally generating a
QEI interrupt.
If the CEID control bit (DFLTCON<8>) is cleared (default), then a QEI interrupt will be generated
when a position count error is detected. If the CEID control bit is set, then an interrupt will not
occur.
The position counter continues to count encoder edges after detecting a position count error. No
interrupt is generated for subsequent position count error events until CNTERR is cleared by
the user.
W skrócie:
Mając skonfigurowaną liczbę impulsów enkodera wiadomo, że impuls 'home' powinien pojawić się w okreslonych momentach - jezeli mamy w enkoderze 400 impulsów, a home pojawi się po 399 - to zgubiliśmy jeden impuls.
Popatrzyłem do schematu UHU - nie widzę tam użycia HOME. Widać Ulli np. sprawdza zgubione przerwania od enkodera - to też jest wskaźnik błędów.
- 07 lis 2006, 09:13
- Forum: Elektronika CNC
- Temat: UHU kity + ew plytki
- Odpowiedzi: 481
- Odsłony: 65689
Można, ale jest to obarczone duzym błędem gdy obciążenie sie zmienia. Stosowane raczej do np. wentylatorów ale nie serw. Polecam noty aplikacyjne do dsp30F2010 w tym temacie gdzie jest to opisane bardziej szczegółowo.markcomp77 pisze:z tego co się doczytałem... to położenie rotora można wyznaczać/wyliczać matematyczne na podstawie analizy prądu...
[ Dodano: 2006-11-07, 09:15 ]
Chyba jeszcze inna cena wynika z tego, że wirnik budowany jest raczej na magnesach stałych a nie ze zwykłej blachy jak w większości zwykłych silników DCbldc sa drozsze bo sa napewno wydajniejsze pozatym sa bez obslugowe bo nie ma szczotek rpzez to mniej awaryjne nic sie w srodku ine brdzi i lozyska tez na tym zyskuja
- 06 lis 2006, 17:38
- Forum: Elektronika CNC
- Temat: UHU kity + ew plytki
- Odpowiedzi: 481
- Odsłony: 65689
- 06 paź 2006, 15:43
- Forum: Elektronika CNC
- Temat: UHU kity + ew plytki
- Odpowiedzi: 481
- Odsłony: 65689