Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

Counters. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Beginner radio amateur

Comments on the article Comments on the article

A counter is a device designed to count the number of pulses applied to the input. They, like shift registers, consist of a chain of flip-flops. The bit depth of the counter, and hence the number of triggers, is determined by the maximum number up to which it counts.

Counters

Fig. 1

The shift register can be turned into a ring counter if the output of the last flip-flop is connected to the input of the first. The scheme of such a counter for discharges is shown in fig. 1. Before the start of counting, the initial setting pulse in the zero bit of the counter (Q0) writes logical 1, in the remaining bits - logical 0. With the start of counting, each of the incoming counting pulses T overwrites 1 in the next trigger and the number of received pulses is determined by the output number, on which has 1. The penultimate (N-1) pulse will transfer the last trigger to a single state, and the pulse will transfer this state to the output of the zero trigger, and the count will start over. Thus, it is possible to build a ring counter with an arbitrary counting factor (any number base), changing only the number of triggers in the chain.

The disadvantage of such a counter is the large number of triggers needed; to build it. More economical, and therefore more common, counters formed by counting T-flip-flops. After each clock pulse T, the signal at input D (inverted output) changes to the opposite, and therefore the frequency of the output pulses is half the frequency of the incoming ones. By assembling a serial chain of n counting flip-flops, connecting the output of the previous flip-flop to the input C of the next), we get the frequency fO=fvh/2n. In this case, each input pulse changes the code of the number at the output of the counter by 1 in the range from 0 to N=2n.

Chip K155IE5 fig. 2 contains a counting flip-flop (input C1) and a divisor by eight (input C2) formed by three flip-flops connected in series. Triggers are triggered by the cutoff of the input pulse (by transition from 1 to 0). If you connect in series all four triggers as in Fig. 2, t will be a counter modulo 24=16. The maximum stored number when completely filled with ones is N=24-1=15=(111)2. Such a counter works with a counting coefficient K (modulo), a multiple of an integer power of 2, and it performs a cyclic search K = 2n stable states. The counter has outputs forcing to 0.

Counters
Fig. 2

Often you need counters with a number of stable states other than 2n For example, about electronic watches, there are microcircuits with a counting factor of 6 (tens of minutes). 10 (units of minutes). 7 (days of the week). 24 (hours). To build a counter with the module K≠2n you can use a device of n triggers for which condition 2 is satisfiedn>K. Obviously, such a counter can have extra stable states (2n-TO). These unnecessary states can be eliminated by using feedback, through the circuits of which the counter switches to the zero state in the cycle of operation when it counts up to the number K.

For a counter with K=10, four flip-flops are needed (since 23<10 <24) must have ten stable states N==0,1...,8,9. In the cycle when it should have moved to the eleventh stable state (N=10), it must be reset to the initial zero state. For such a counter, you can use the K155IE5 microcircuit fig. 3 by introducing feedback circuits from the counter outputs corresponding to the number 10 (i.e. 2 and 8) to the inputs of setting the counter to 0 (input R). At the very beginning of the 11th state (number 10), logical 1s appear at both inputs of the AND element of the microcircuit, generating a signal to reset all counter triggers to the zero state.

Counters
Fig. 3

In all series of digital microcircuits there are counters with the internal organization of the most common conversion factors, for example, in the K155IE2 and K155IE6 microcircuit K = 10. in the K155IE4 chip K \u2d 6x12 \uXNUMXd\uXNUMXd XNUMX.

As can be seen from the diagrams and diagrams in Fig. 1-3, counters can perform the functions of frequency dividers, i.e. devices that form from a pulse sequence with a frequency fvh pulse sequence at the output of the last trigger with a frequency fout, K times less than the input. With this use of counters, there is no need to know what number is currently written in it, so divisors in some cases can be much simpler than counters. Chip K155IE1, for example, is a divider by 10, and K155IE8 is a divider with a variable division factor K=64/n. where n=1...63.

In addition to the considered summators, reversible counters on K155IE6 microcircuits are widely used. K155IE7, in which, depending on the mode of operation, the contents of the counter either increase by one, the addition mode, it is said that the counter increments or the subtraction mode decreases by one, decrement after the arrival of the next counting pulse. Chip K155IE1 fig. 4 - divisor by 10. Setting its triggers to 0 is carried out by simultaneously applying a high level to inputs 1 and 2 (the AND element). Counting pulses are fed to input 8 or 9 (in this case, the other input must be at a high level) or simultaneously to both inputs (element AND).

Counters
Fig. 4

The composition of the chip K155IE2 fig. 4 includes a trigger with a counting input (input C1) and a divider by 5 (input C2). When the output of the counting trigger is connected to the input C2, a binary-decimal counter is formed (the diagram of its operation is similar to that shown in Fig. 3). The account occurs on a cut of an impulse. The counter has set inputs to 0 (R0 with AND logic) and set inputs to 9 (R9 with AND logic).

Counters
Fig. 5

The K155IE4 chip is formed by a counting trigger and a divider by 6, fig. 5. The K155IE5 chip was mentioned earlier in fig. 2

Chips K155IE6 and K155IE7 fig. 6, a) - reversible counters by pre-recording, the first of them is binary decimal, the second is four-digit binary. Setting them to 0 occurs when the level at the input R is high. The counter can be written with the number of inputs to the outputs D1-D4 (in K155IE6 from 0 to 9, in K155IE7 from 0 to 15). To do this, a low level must be applied to the input S, a high level at the inputs C1 and C2, and a low level at the input R. The count will start from the recorded number by low-level pulses applied to input C1 (in addition mode) or C2 (in subtraction mode). The output information changes along the front of the counting pulse. In this case, the second counting input and input S should be high, the input R should be low, and the state of the inputs D is indifferent. Simultaneously with every tenth (sixteenth) pulse at the input C1, the output P1 repeats its output pulse, which can be input to the next counter. In the subtraction mode, simultaneously with each pulse at the input C2, which switches the counter to state 9, (15), an output pulse appears at the output P2.

The time diagram of the operation of the K155IE6 counter is shown in fig. 6b. On the diagram in the parallel recording mode (S=0), the number 6 was written (high level at the inputs D2 and D3).

Counters
Fig. 6

Microcircuits K176IE1, K56IIE10 and K561IE16 fig. 7 - binary counters. The K561IE10 counter, when counting pulses are applied to the input C1 and at C2=1, works along the front, when counting at the input C2 and at C1==0 - along the cut. The K561IE16 counter has no outputs from the second and third dividers. The counters are set to zero when a high level is applied to input R. For the correct operation of these and all other counters made using CMOS technology (series K164, K176, K564, K561 ..), it is necessary after turning on the power (or after reducing the voltage of the power supply up to 3 V) set them to the initial zero state by applying a high-level pulse to input R. Otherwise, the counters may work with random conversion factors. Reset pulse after power on can be automatically given by inputting RC timing circuit and inverter as shown in fig. 7, c.

Counters
Fig. 7

Author: -=GiG=-, gig@sibmail; Publication: cxem.net

See other articles Section Beginner radio amateur.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Traffic noise delays the growth of chicks 06.05.2024

The sounds that surround us in modern cities are becoming increasingly piercing. However, few people think about how this noise affects the animal world, especially such delicate creatures as chicks that have not yet hatched from their eggs. Recent research is shedding light on this issue, indicating serious consequences for their development and survival. Scientists have found that exposure of zebra diamondback chicks to traffic noise can cause serious disruption to their development. Experiments have shown that noise pollution can significantly delay their hatching, and those chicks that do emerge face a number of health-promoting problems. The researchers also found that the negative effects of noise pollution extend into the adult birds. Reduced chances of reproduction and decreased fertility indicate the long-term effects that traffic noise has on wildlife. The study results highlight the need ... >>

Wireless speaker Samsung Music Frame HW-LS60D 06.05.2024

In the world of modern audio technology, manufacturers strive not only for impeccable sound quality, but also for combining functionality with aesthetics. One of the latest innovative steps in this direction is the new Samsung Music Frame HW-LS60D wireless speaker system, presented at the 2024 World of Samsung event. The Samsung HW-LS60D is more than just a speaker system, it's the art of frame-style sound. The combination of a 6-speaker system with Dolby Atmos support and a stylish photo frame design makes this product the perfect addition to any interior. The new Samsung Music Frame features advanced technologies including Adaptive Audio that delivers clear dialogue at any volume level, and automatic room optimization for rich audio reproduction. With support for Spotify, Tidal Hi-Fi and Bluetooth 5.2 connections, as well as smart assistant integration, this speaker is ready to satisfy your ... >>

A New Way to Control and Manipulate Optical Signals 05.05.2024

The modern world of science and technology is developing rapidly, and every day new methods and technologies appear that open up new prospects for us in various fields. One such innovation is the development by German scientists of a new way to control optical signals, which could lead to significant progress in the field of photonics. Recent research has allowed German scientists to create a tunable waveplate inside a fused silica waveguide. This method, based on the use of a liquid crystal layer, allows one to effectively change the polarization of light passing through a waveguide. This technological breakthrough opens up new prospects for the development of compact and efficient photonic devices capable of processing large volumes of data. The electro-optical control of polarization provided by the new method could provide the basis for a new class of integrated photonic devices. This opens up great opportunities for ... >>

Random news from the Archive

Unraveled the secrets of the cat's sense of smell 17.07.2023

The sense of smell plays an important role in the lives of many mammals, helping them find food, determine territory, and warn of the presence of predators. In the world of cats, it is one of the most developed, and their highly sensitive sense of smell is famous for its sharpness. Scientists from all over the world decided to study this unique feature of cats in more detail.

An international team of scientists from the Department of Otolaryngology at the Ohio State University (USA), the Ryan Veterinary Hospital of the University of Pennsylvania (USA), the Monell Chemical Sensation Center (USA) and the Waltham Petcare Research Institute (UK) conducted a study on cat scent. The scientists created a XNUMXD model of a cat's nose and ran simulations to understand how the flow of air laden with the smell of cat food passes through the spiral structures of this organ.

Previously, researchers have created models of the nasal cavity in humans and rats. However, the modeling of the cat's olfactory apparatus proved to be the most difficult. For this, high-resolution microcomputed tomography and a series of thin sections of biological tissues were used.

"We spent a lot of time developing the model and doing complex analysis to understand the functional benefit of this structure," said Cai Zhao, assistant professor of otolaryngology and senior author of the study.

He thinks that a cat's nose is probably as complex as a dog's, and perhaps even more so than a rodent's.

Other interesting news:

▪ Honda S-Dream rocket car sets speed record

▪ Philips Hue Secure series cameras and sensors

▪ Xiaomi Mi AI Translator Portable Translator

▪ Biodiesel with nanoparticles

▪ Processors Zhaoxin KaiXian KX-6780A and KX-U6880A

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the website Audiotechnics. Article selection

▪ article Miracle stove. Tips for the home master

▪ article What is the largest snake in the world? Detailed answer

▪ article Medical laboratory assistant. Job description

▪ article A simple amplifier on a K174XA10 chip. Encyclopedia of radio electronics and electrical engineering

▪ article Noise suppression surge protector. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:




Comments on the article:

Shamil
Thank you for the description of the counter!


All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024