W artykule przedstawiono układ częstościomierza, zrealizowanego w strukturze reprogramowalnej CPLD i 8-bitowym mikroprocesorze. Część zadań związana ze zliczaniem impulsów implementowana jest w układzie programowalnym (układy liczników, rejestrów, multipleksera), część zadań związana z obróbką danych i prezentacją wyniku, realizowana jest programowo w mikroprocesorze. Przedstawiono przykład zmiany koncepcji realizacji układów licznikowych, pozwalający na optymalne wykorzystanie zasobów obu układów.
EN
In this paper a simple frequency meter based on CPLD and 8-bit microprocessor is presented. This is an example, where typical functions were divided into hardware and software parts (so-called Software Hardware Co-Design Structure). The hardware part (counters, registers, multiplexer) was implemented inside a programmable device XC9572XL - Xilinx (Fig. 1), the software part was made with an 8-bit AVR ATmega88 microprocessor (Atmel). Cooperation of the CPLD device and microprocessor gives a very flexible structure (Fig. 2) which can be easily modified both in hardware and software. An example of modification inside CPLD is shown in Fig. 3. In this case the other structure of a counter and register is proposed. There is one 28-bit counter instead of a cascade of decimal counters and the necessary changes can be easily reprogrammed both inside the CPLD structure and in the program code for a microprocessor, without any changes in connections between these devices. The frequency meter can work from 1 Hz to 99 999 999 Hz and presents results on an LCD display. The measurement accuracy depends mainly on the quality of the clock signal STROBE. This signal - for counters and registers - comes from a microprocessor and can be from different sources such as eg. a microprocessor internal clock or an external temperature compensated crystal oscillator (TCXO). The measurement accuracy depends on a kind of a source. This frequency meter is programmed by students, as one of the laboratory exercises.
Autor przedstawia definicję częstotliwości i jej jednostkę oraz omawia cyfrowe, bezpośrednie i pośrednie pomiary częstotliwości przywołując dla nich wzory matematyczne.
W czwartej części cyklu artykułów kontynuujemy budowę częstotliwościomierza. Główna cześć algorytmu programu częstotliwościomierza zbudowana będzie w asemblerze.
EN
In the fourth part of the series of articles, we continue to build the frequency meter. The main part of the algorithm will be constructed in assembler.
Tematem przewodnim trzeciej części cyklu artykułów jest budowa częstotliwościomierza. Omówiono obsługę alfanumerycznego wyświetlacza LCD, przerwania, przerwanie zewnętrzne INT/RB0 oraz moduł Timer0.
EN
In the third part of the series of articles, the main theme is to build the frequency meter. Programming of LCD, interrupts, external interrupt INT/RB0 and Timer0 module have been described.
The article presents the profile and achievements of Michał Doliwo-Dobrowolski, a Polish inventor born in Russia. He played an outstanding role in the history of world electrical engineering at the turn of the 19th and 20th centuries. He was a pioneer of the three-phase current technique. In 1888, he constructed a sensational, easy to use, cheap to produce and operate, the world's first three-phase squirrel-cage induction motor. The patent, filed on March 8, 1889, started a new era in electricity, which continues to this day, the era of alternating current.
PL
Artykuł przedstawia sylwetkę i dokonania Michała Doliwo-Dobrowolskiego, polskiego wynalazcy urodzonego w Rosji. Odegrał on wybitną rolę w historii światowej elektrotechniki na przełomie XIX i XX wieku. Był pionierem techniki prądu trójfazowego. W 1888 r. konstruował rewelacyjny, prosty w obsłudze, tani w produkcji i eksploatacji, pierwszy na świecie trójfazowy indukcyjny silnik klatkowy. Patent zgłoszony 8 marca 1889 r., zapoczątkował nową erę w elektryce, trwającą do dziś, epokę prądu przemiennego.
JavaScript jest wyłączony w Twojej przeglądarce internetowej. Włącz go, a następnie odśwież stronę, aby móc w pełni z niej korzystać.