SU1330757A1 - Decade counter for heptasegment indicators - Google Patents

Decade counter for heptasegment indicators Download PDF

Info

Publication number
SU1330757A1
SU1330757A1 SU853957197A SU3957197A SU1330757A1 SU 1330757 A1 SU1330757 A1 SU 1330757A1 SU 853957197 A SU853957197 A SU 853957197A SU 3957197 A SU3957197 A SU 3957197A SU 1330757 A1 SU1330757 A1 SU 1330757A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
trigger
elements
inverse
Prior art date
Application number
SU853957197A
Other languages
Russian (ru)
Inventor
Юрий Алексеевич Базалев
Владимир Иванович Мяснов
Original Assignee
Предприятие П/Я А-1001
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Предприятие П/Я А-1001 filed Critical Предприятие П/Я А-1001
Priority to SU853957197A priority Critical patent/SU1330757A1/en
Application granted granted Critical
Publication of SU1330757A1 publication Critical patent/SU1330757A1/en

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)

Abstract

Изобретение относитс  к импульс- . ной технике и может быть использовано в вычислительных и измерительных устройствах. Изобретение обеспечивает повьппение надежности декадного счетчика, выполненного по предложенной схеме. Счетчик содержи г 1К-тригi (ЛThe invention relates to pulse. technology and can be used in computing and measuring devices. The invention provides the reliability of a decade counter, made according to the proposed scheme. The counter contains 1K-trigi (L

Description

геры 1-4, элементы И 5-13, элементы inn 14-16, тактовую шину 17, шину 18 сброса, шину 19 логической единицы, шину 20 переноса, выходы 21 (а) - 27(q). Элементы 6-15 образуют шифратор дл  последовательного включени  элементов семисегментного индика1heras 1–4, elements AND 5–13, elements inn 14–16, clock bus 17, reset bus 18, bus 19 of a logical unit, transfer bus 20, exits 21 (a) - 27 (q). Elements 6-15 form an encoder for successively including elements of a seven-segment indication1

Я обретение относитс  к импульсной технике и может быть использовано н вычислительных и измерительных yc j pof iCTBax.The acquisition relates to the impulse technique and can be used on the computational and measuring yc j pof iCTBax.

Цель изобретени  - повышение надежности .The purpose of the invention is to increase reliability.

На фиг . 1 представлена структурна  схема декадного счетчика дл  семисег ментных индикаторов; на фиг . 2 - вре менныо диаграммы функционировани  декадного счетчика дл  семисегмент- мых индикаторов.FIG. Figure 1 shows a block diagram of a ten-day counter for seven-segment indicators; in fig. 2 - time diagrams of the functioning of the decade counter for seven-segment indicators.

Счетчик содержит первый 1, второй 2, третий 3 и четвертый 4 1К-тригге- ры, первый 5, второй 6, третий 7,чет нер1Ь й 8, п тый 9, шестой 10, седьмой П, восьмой 12 и дев тый 13 элементы И, первый 14, второй 15 и третий 16 элементы РПИ, тактовую шину 17, по которой поступают входные (считаемые) импульсы, шину 18 сброса шипу 9 логическое единицы, шину 20 ne.U Hoca, 1-к:по;гьзуемую дл  управле- ни следуюп .с; дека,цой дес ток, и выходы 21 (а), 22 (Ь), 23 (с), 24 (d), 25(е), 26(), 27(q). Счетные входы всех триггеров 1-4 соединены с тактовой шиной 17, входы сброса триггеров 1-4 соединены с шиной 18 сброса, I и К-входы первого триггера соединены с шиной 19 логической единицы, пр мой выход 1К-триггера 1 соединен с К-входом второго 1К-триггера 2 и первыми входами элемента И 13 и элементов Ш1И 7, 15 и 16. Инверсный выход первого НС-триггера 1 соединен с 1 входом третьего 1К-триггера 3, а также первыми входами элементов И 5 и iO. Инверсный выход второго IK- тригг ера 2 соединен с первыми входами элементов И 8 и 14. Пр мой выход третьего 1К-триггера 3 соединен с К-входом четвертого 1К-триггера 4,The counter contains the first 1, second 2, third 3 and fourth 4 1K-flip-flops, first 5, second 6, third 7, fourth 8, fifth 9, sixth 10, seventh P, eighth 12 and ninth 13 elements And, the first 14, the second 15 and the third 16 elements of the FIR, the clock bus 17, which receives input (counted) pulses, the reset bus 18, the spike 9 logical unit, the 20 ne.U Hoca bus, 1-к: по; charge for control - nor the following; deca, decay, and outputs 21 (a), 22 (b), 23 (s), 24 (d), 25 (e), 26 (), 27 (q). The counting inputs of all the triggers 1-4 are connected to the clock bus 17, the reset inputs of the triggers 1-4 are connected to the reset bus 18, the I and K inputs of the first trigger are connected to the bus 19 of the logical unit, the direct output 1K of the trigger 1 is connected to K- the input of the second 1K flip-flop 2 and the first inputs of the And 13 element and the Sh1I 7, 15 and 16 elements. The inverse output of the first NS-flip-flop 1 is connected to the 1st input of the third 1K-flip-flop 3, as well as the first inputs of the And 5 and iO elements. The inverse output of the second IK-trigger 2 is connected to the first inputs of the And 8 and 14 elements. The forward output of the third 1K-flip-flop 3 is connected to the K-input of the fourth 1K-flip-flop 4,

330757330757

тора. 1К-триггеры 1-4 с элементом 5 образуют делитель частоты. Уменьшение по сравнению с прототипом количества элементов и межэлементных св зей обеспечивает повышенную надежность декадного счетчика дл  семисег- ментных индикаторов. 1 табл. 2 ил.Torah. 1K-triggers 1-4 with element 5 form a frequency divider. The decrease in the number of elements and inter-element links compared to the prototype provides an increased reliability of the ten-day counter for seven-segment indicators. 1 tab. 2 Il.

00

5five

00

5five

00

5five

00

1-входом второго 1К-триггера 2, первым входом элемента И 12 и вторым входом элемента И 8, выход которого соединен с 1-входом четвертого IK- триггера 4, первым входом элемента И 9 и вторым входом элемента ИЛИ 16, выход которого  вл етс  выходом 25. Инверсный выход третьего 1К-триггера 3 соединен с первыми входами элементов И 6 и 11 и вторым входом элемента И 13. Пр мой выход 1К-триггера 4 соединен с вторыми входами элементов И 11 и ИЛИ 15. Инверсный выход четвертого 1К-триггера 4 соединен с вторыми входами элементов И 5, 6 и 9 и третьим входом элемента И 13, выход которого  вл етс  шиной 20 переноса . Выход элемента И 5 соединен с К-входом третьего 1К-триггера 3. Выход элемента ИЛИ 15 соединен с вторым входом элемента И 12, выход которого  вл етс  выходом 26 и соединен с вторым входом элемента И 10, выход которого  вл етс  выходом 23 счетчика. Выход элемента И 6 соединен с вторым входом элемента И 7, выход которого соединен с вторым входом элемента ИЛИ 14, выход которого  вл етс  выходом 27 счетчика, выходы 21,24 и 22 которого  вл ютс  выходами элементов И соответственно 9, 8 и П.The 1 input of the second 1K flip-flop 2, the first input of the AND 12 element and the second input of the AND 8 element, the output of which is connected to the 1st input of the fourth IK-trigger 4, the first input of the AND 9 element and the second input of the OR 16 element, whose output is output 25. The inverse output of the third 1K-flip-flop 3 is connected to the first inputs of the And 6 and 11 elements and the second input of the And 13 element. The direct output of the 1K-flip-flop 4 is connected to the second inputs of the And 11 and OR 15. 15. The inverse output of the fourth 1K-flip-flop 4 is connected to the second inputs of the elements And 5, 6 and 9 and the third input of the element And 13, the output to expensive is the transfer bus 20. The output of the AND 5 element is connected to the K input of the third 1K flip-flop 3. The output of the OR element 15 is connected to the second input of the AND 12 element, the output of which is output 26 and connected to the second input of the AND element 10, the output of which is counter output 23. The output of the AND 6 element is connected to the second input of the AND 7 element, the output of which is connected to the second input of the OR element 14, the output of which is the counter output 27, the outputs 21,24 and 22 of which are the outputs of the AND elements 9, 8 and P.

Элементы 6-15 образуют дешифратор дл  последовательного включени  (можно через соответствующий формирователь ) элементов семисегментного индикатора, 1К-триггеры J - 4 с элементом 5 образуют делитель частоты на 10. Триггеры реагируют на изменени  тактовых импульсов со значени  на .Elements 6-15 form a decoder for sequential switching on (possible through the appropriate driver) elements of the seven-segment indicator, 1K triggers J - 4 with element 5 form a frequency divider by 10. Triggers respond to changes in clock pulses from a value to.

На фиг.2 обозначено:Figure 2 indicated:

3133075731330757

Вход - входные тактовые импульсы тактовой шине 17;Input - input clock pulses of the clock bus 17;

i - пор дковые номера состо ний ройства;i — order numbers of the states of solaceism;

на пр мом выходе пер1;direct output per1;

на пр мом выходе вто2;direct output bt2;

на пр мом выходе 10direct output 10

б оb o

в оin about

гg

-сигнал триггера-signal trigger

-сигнал триггера-signal trigger

-сигнал-signal

третьего триггера 3;third trigger 3;

д - сигнал на пр мом вЬкоде четвертого триггера А;d - signal on the forward code of the fourth trigger A;

П - сигнал переноса на шине 20;P - transfer signal on bus 20;

a,b,c,d,e,f,q - сигналы на соот- ветствующих выходах 21, 22, 23, 24, 25, 26 и 27 устройства.a, b, c, d, e, f, q - signals at the corresponding outputs 21, 22, 23, 24, 25, 26 and 27 of the device.

Работа предлагаемого декадного счетчика дл  семисегментных индикаторов полностью определ етс  логичес кими уравнени ми дл  1:- и KJ-BXO- дов. В исходном положении все IK- триггеры 1 - 4 сигналом Сброс,поступающим в виде импульса по шине 18 сброса, устанавливаютс  в исходное состо ние (диаграммы на фиг.2 при ), при этомThe operation of the proposed decade counter for seven-segment indicators is completely determined by the logical equations for 1: - and KJ-BXO. In the initial position, all the IK triggers 1 through 4 with the Reset signal received as a pulse through the reset bus 18 are reset to the initial state (the diagrams in Fig. 2), while

Q, 0; QI 0; Q 0. Q, 0; QI 0; Q 0.

На основании логических уравнений дл  I-- и Кj-входов триггеров состо  ни  входов следующие:Based on the logical equations for the I-- and Kj inputs of the state trigger, the inputs are as follows:

i,l ; i,Q, 1; 14 d - QjQ, 0; K,l; кi, l; i, Q, 1; 14 d - QjQ, 0; K, l; to

0; K, 1; K.0; K, 1; K.

Q, 0; K, 0.Q, 0; K, 0.

Q.Q 1; K рз Q.Q 1; K rz

По логическим уравнени м дл  выходов дешифратора определим, что а dQ4 0; b Q,Q4 0; с fQ,0; d , 0; e dvQ, 0;According to the logical equations for the outputs of the decoder, we determine that a dQ4 0; b Q, Q4 0; with fQ, 0; d, 0; e dvQ, 0;

f QjCQ.VQ) 0;f QjCQ.VQ) 0;

q Q,Q2 V Qi,Q4 1.q Q, Q2 V Qi, Q4 1.

При этом на семисегментном индикаторе засвечиваетс  цифра О. Поскольку 1К-триггер по входному тактоAt the same time, the figure O is illuminated on the seven-segment indicator. Since the 1K-trigger on the input clock

вому импульсу при I О и не из- 45 триггера и первым входом дев тогоto the first pulse at I 0 and not because of the 45 trigger and the first input of the ninth

мен ет своего состо ни , при и переключаетс  в противоположное состо ние, при I 1 и К О переключаетс  в состо ние логической единицы, а при I О и - в сое- то ние логического нул , то по первому тактовому импульсу на шине 17 первый 1 и третий 3 1К-триггеры переключаютс  в состо ние логической единицы, а триггеры 2 и 4 не измен ют своего состо ни  (диаграммы на фиг.2 при i 1), При этом состо ни  выходов триггеров 1 - 4 следующие: Q,-l; Q,-l . Изме50changes its state, when and switches to the opposite state, when I 1 and K O switches to the state of a logical one, and when I O and - to the state of a logical zero, then the first clock pulse on the bus 17 1 and the third 3 1K-flip-flops switch to the state of a logical unit, and flip-flops 2 and 4 do not change their state (the diagrams in Fig. 2 with i 1), and the outputs of the flip-flops 1-4 are as follows: Q, - l; Q, -l. Measured 50

5555

элемента И, инверсный выход четве того триггера подключен к первому входу первого, второго и п того эл ментов И, а инверсный выход первог триггера подключен к первому входу шестого элемента И, выход которого соединен с выходом с устройства, второй вход шестого элемента И сое динен с выходом f устройства, инве ный выход второго триггера соедине с первыми входами третьего и четве того элементов И, выход четвертого элемента И соединен с вькодом d ус ройства и первым рходом п того элеelement I, the inverse output of the fourth trigger is connected to the first input of the first, second and fifth elements of I, and the inverse output of the first trigger is connected to the first input of the sixth element I, the output of which is connected to the output from the device, the second input of the sixth element And soy with the output f of the device, the investment output of the second trigger is connected to the first inputs of the third and fourth elements And, the output of the fourth element And is connected to the code d of the device and the first of the fifth elec

I)К .-входовI) K-inputs

н ютс  и состо ни are and states

и будут равны: 1, 1; 1 1; 1,0;and will be equal to: 1, 1; eleven; 1.0;

1 1; К,1; К 1; К,0; наeleven; K, 1; K 1; K, 0; on

00

5 five

5 five

0 0

5five

00

выходах дешифратора будут сигналы q l, а на дешифраторе цифра 1,the outputs of the decoder will be signals q l, and on the decoder number 1,

По второму тактовому импульсу (диаграммы на фиг.2 при ) состо ни  выходов и входов следующие; Q, 0; Q, l; Q,; I,l; I,l; , K,l, Kj-0; K4 I; и на семисегментном индикаторе засветитс  цифра 2.On the second clock pulse (diagrams in figure 2, at) the states of the outputs and inputs are as follows; Q, 0; Q, l; Q ;; I, l; I, l; K, l, Kj-0; K4 I; and on the seven-segment display the number 2 will light up.

Анализиру  и далее таким же образом работу декадного счетчика дл  семисегментных индикаторов, получим все значени  сигналов (логических функций) на выходах делител  частоть и дешифратора (диаграммы на фиг.2) при всех 1, которые приведены в таблице.Analyzing the operation of the decade counter for seven-segment indicators in the same way, we get all the values of the signals (logic functions) at the outputs of the frequency divider and decoder (diagrams in figure 2) for all 1, which are listed in the table.

Уменьшение количества элементов и межэлементных св зей обеспечивает п6вьш1енную надежность декадного счетчика дл  семисегментных индикаторов.The reduction in the number of elements and inter-element links provides the highest reliability of the ten-day counter for seven-segment indicators.

Claims (1)

Формула изобретени Invention Formula Декадный счетчик дл  семисегментных индикаторов, содержащий четыре 1К-триггера, дев ть элементов И и два элемента ИЛИ и имеющий выходы а, Ь, с, d, е, f, q дл  подключени  соответствующих элементов семисег- ментного индикатора, счетные входы всех триггеров которого соединены с тактовой шиной устройства, а R-BXO- ды всех триггеров соединены с шиной сброса устройства, 1-вход первого триггера соединен с шиной логической единицы, пр мой выход первого триггера соединен с К-входом второгоA decade counter for seven-segment indicators containing four 1K-flip-flops, nine AND elements and two OR elements and having outputs a, b, c, d, e, f, q for connecting the corresponding elements of a seven-segment indicator, the counting inputs of all the trigger The R-BXOs of all the triggers are connected to the device reset bus, the 1 input of the first trigger is connected to the bus of a logical unit, the direct output of the first trigger is connected to the K input of the second триггера и первым входом дев тогоtrigger and the first input элемента И, инверсный выход четвертого триггера подключен к первому входу первого, второго и п того элементов И, а инверсный выход первого триггера подключен к первому входу шестого элемента И, выход которого соединен с выходом с устройства, а второй вход шестого элемента И соединен с выходом f устройства, инверсный выход второго триггера соединен с первыми входами третьего и четвертого элементов И, выход четвертого элемента И соединен с вькодом d устройства и первым рходом п того элепервого элемента И, выход которого подключен к К-входу третьего триггера , пр мой вькод третьего триггера, соединен с К-входом четвертого и 1-входом второго триггеров и вторымelement And, the inverse output of the fourth trigger is connected to the first input of the first, second and fifth elements And, and the inverse output of the first trigger is connected to the first input of the sixth element And, the output of which is connected to the output from the device, and the second input of the sixth element And is connected to the output f of the device, the inverse output of the second trigger is connected to the first inputs of the third and fourth elements I, the output of the fourth element I is connected to the code d of the device and the first input of the fifth elelefirst element I, the output of which is connected to the K-in a third flip-flop, straight vkod third flip-flop is connected to the K-input of the fourth and the 1-input of the second flip-flops and a second 513307576513307576 мента И, выход которого подключен к кой единиць а инверсный выход перво- выходу   устройства, а выход третье- го триггера соединен с 1-входом. го элемента И соединен с выходом третьего триггера и вторым входом q устройства, пр мой выход третьего триггера соединен с первым входом восьмого элемента И, а инверсный выход третьего триггера подключен к второму входу второго элемента И, выход кот-орого соединен с первьм Q входом четвертого элемента И, инверс- входом первого элемента ИЛИ, а пр - ный выход третьего триггера соединен с вторыми входами седьмого и дев того элементов И, инверсный выход четвертого триггера соединен с 15 третьим входом дев того элемента И, выход которого соединен с шиной переноса сигнала, выход седьмого элемента И подключен к выходу b устройства , пр мой выход четвертого тригге- третьёго элемента ИЛИ соединен с пр - 20 ра соединен с вторым входом второго мым выходом первого триггера, первым элемента ИЛИ, выход которого подклю- входом второго и вторым входом перво- чен к второму входу восьмого го элементов ИЛИ, а выход подключен элемента И, а выход восьмого к выходу е устройства, К-вход перво- элемента соединен с выходом 1 го триггера подключен к шине логичес - 25 устройства.And, the output of which is connected to the unit and the inverse output to the first output of the device, and the output of the third flip-flop is connected to the 1-input. The first element And is connected to the output of the third trigger and the second input q of the device, the direct output of the third trigger is connected to the first input of the eighth element And, and the inverse output of the third trigger is connected to the second input of the second element And, the output of the fourth element AND, the inverse input of the first element OR, and the direct output of the third trigger is connected to the second inputs of the seventh and ninth elements AND, the inverse output of the fourth trigger is connected to the 15 third input of the ninth AND element whose output is connected n with the signal transfer bus, the output of the seventh element AND is connected to the output b of the device, the direct output of the fourth trigger of the third element OR is connected to the pr - 20 ra connected to the second input of the second mine output of the first trigger, the first OR element, the output of which is connected to the input the second and second inputs are primary to the second input of the eighth element OR, and the output is connected to an element, and the output of the eighth to the output e of the device, the K input of the primary element is connected to the output of the 1st trigger connected to the bus 25 of the device. мой выход четвертого триггера соединен с г ервым входом седьмого элемента И, о г л и ч а ю щ и и с   тем, что, с целью повьшени  надежности, в него введен третий элемент ШШ, первый вход которого соединен с выходом четвертого элемента И и 1-входом четвертого триггера, второй входmy output of the fourth trigger is connected to the first input of the seventh element I, one of them, so that, in order to increase reliability, a third element SH is introduced into it, the first input of which is connected to the output of the fourth element AND 1-input fourth trigger, second input первого элемента И, выход которого подключен к К-входу третьего триггера , пр мой вькод третьего триггера, соединен с К-входом четвертого и 1-входом второго триггеров и вторымthe first element And, the output of which is connected to the K-input of the third trigger, the direct code of the third trigger, is connected to the K-input of the fourth and 1-input of the second trigger and the second кой единиць а инверсный выход перво го триггера соединен с 1-входом. третьего триггера и вторым входом входом четвертого элемента И, инверс ный выход третьего триггера соединен с вторыми входами седьмого и дев того элементов И, инверсный выход четвертого триггера соединен с третьим входом дев того элемента И, выход которого соединен с шиной переноса сигнала, выход седьмого элемента И подключен к выходу b устройства , пр мой выход четвертого тригге- ра соединен с вторым входом второго элемента ИЛИ, выход которого подклю- чен к второму входу восьмого элемента И, а выход восьмого элемента соединен с выходом 1 устройства.Which unit and inverse output of the first trigger is connected to the 1-input. the third trigger and the second input of the fourth And element; the inverse output of the third trigger is connected to the second inputs of the seventh and ninth And elements; the inverse output of the fourth trigger is connected to the third input of the ninth And element, the output of which is connected to the signal transfer bus; the output of the seventh element And it is connected to the output b of the device, the direct output of the fourth trigger is connected to the second input of the second OR element, the output of which is connected to the second input of the eighth element AND, and the output of the eighth element is connected to the output 1 device. ВНИИПИ Заказ 3593/57 Тираж 901VNIIPI Order 3593/57 Circulation 901 ПодписноеSubscription Произв.-полигр. пр-тие, г. Ужгород, ул. Проектна , АRandom polygons pr-tie, Uzhgorod, st. Design, And фиг.гfig.g ПодписноеSubscription
SU853957197A 1985-09-26 1985-09-26 Decade counter for heptasegment indicators SU1330757A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853957197A SU1330757A1 (en) 1985-09-26 1985-09-26 Decade counter for heptasegment indicators

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853957197A SU1330757A1 (en) 1985-09-26 1985-09-26 Decade counter for heptasegment indicators

Publications (1)

Publication Number Publication Date
SU1330757A1 true SU1330757A1 (en) 1987-08-15

Family

ID=21198677

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853957197A SU1330757A1 (en) 1985-09-26 1985-09-26 Decade counter for heptasegment indicators

Country Status (1)

Country Link
SU (1) SU1330757A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738207B (en) * 2005-07-06 2010-05-05 河北师范大学 Asynchronous decade counter IC

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР 544134, кл. Н 03 К 23/58, 1975. Авторское свидетельство СССР W 1172005, кл. Н 03 К 23/48, 1983, *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738207B (en) * 2005-07-06 2010-05-05 河北师范大学 Asynchronous decade counter IC

Similar Documents

Publication Publication Date Title
SU1330757A1 (en) Decade counter for heptasegment indicators
SU1383494A1 (en) Decade counter for seven-segment indicators
SU1554141A1 (en) Reversing counting decade
SU1368985A1 (en) Decade counter for semisegment indicator
SU1622832A1 (en) Digital phase meter
SU1319276A1 (en) Decade counter for seven-segment indicators
SU1383492A1 (en) Subtracting decade counter for seven-segment indicators
SU1522398A1 (en) Frequency divider by 11
SU612414A1 (en) Frequency divider
SU1580550A1 (en) Semisegment indicator pulse counter
SU1170608A1 (en) Pulse repetition frequency divider with variable countdown
SU1406787A1 (en) Synchronous frequency divider
SU855531A1 (en) Digital phase inverter
SU606209A1 (en) Voltage-to-signal on-off time ratio converter
SU1378055A1 (en) Synchronous divider of frequency by 9
SU1517129A1 (en) Synchronous divider
SU1337819A1 (en) Phase cycle counter
SU966907A1 (en) Sensory change-over switch
SU851752A2 (en) Device for determining the difference of two frequencies
SU527015A1 (en) Selector of bipolar pulses
SU881823A2 (en) Indication device
SU1647891A1 (en) Serial counter
SU1285592A1 (en) Decade counter for seven-segments indicators
SU1173467A1 (en) Frequency-to-number converter
SU606210A1 (en) Frequency divider with variable division coefficient