Claims (1)
о 112 Изобретение относитс к вычислительной технике, электронным устройс вам подсчета импульсов, поступающих одновременно от датчиков, расположенных по нескольким каналам, например дл подсчета хлебобулочных изде лий в многор довом потоке на выходе из печи. Цель изобретени - упрощение устройства и повышение eio помехоустой чивости. На фиг. 1 представлена функционал на схема устройства; на фи1, 2 - вр менна диаграмма работы устройства. Устройство содержит входы 1, в каждом канале 2 контрол первый и вт рой триггеры 3 и 4 и элемент И-НЕ 5. Кроме Toio, устройство co epжит распределитель 6 импульсов, 1енератор 7 импульсов, формирователь 8 импульсов коммутатор 9, первый и второй элементы ИЛИ 10 и 11 и реверсивный счетчик 12. На фиг. 2 обозначены следующие диаграммы напр жений: 13 - D-вход триггера 3; -14 - С-вход триггера 3; 15 - С-вход триггера 4; 16 - выхо триггера 3; 17 - выход триггера 4 и 18 - выход элемента И-НЕ 5. Устройство работает следующим образом. В момент прихода передне1о фронта импульса с соответствующехо выхода распределител 6 импульсов на син ронизирующий вход первого триггера 3 на пр мом его выходе устанавливаетс состо ние единицы или нул в зависимости от соответствующих состо .ний на входе этого канала. Также передним фронтом импульса но только уже от одного из выходов формировате л 8 импульсов, на инверсном выходе второго триггера 4 устанавливаетс обратное значение состо ни пр мохо выхода nepBoio триггера 3. При изменении состо ни на входе канала с единицы в ноль на входе элемента И-НЕ 5 присутствует нуль, поэтому на его выходе неизменна еди При изменении на входе канала сос то ни из нул в единицу (при соответствующем изменении состо ний на выходах триггеров 3 и 4) на выходе элемента И-НЕ 5, а следовательно, на выходе канала 2 контрол по вл етс счетный импульс, который через один из элементов ИЛИ 10 и 11 проходит на 1 суммирующий или н)1читающий вход реверсивного счетчика 12 в зависимости от состо ни коммутатора 9. На фиг. 2 показаны временные значени состо ни на выходах элементов канала 2 контрол в зависимости от состо ни на их входах, которые по сн ют его работу. Дл обеспечени надежной работы устройства при одновременном поступлении импульсов по всем входам 1 необходимо выполнить требование к частоте считывани на входе распределител 6 импульсов f .IlL сч п 1де - частота импульсов считывани ; бх распр частота на входе распределител импульсов; п - количество каналов контрол . При поступлении импульсов (одновременно ) на входы всех каналов через элементы ИЛИ счетные импульсы одинар овой длительности поступают на суммирующий или вычитающий входы реверсивного счетчика 12 в пор дке поступлени считывающих импульсов от распределител 6 импульсов. Формула изобретени Многоканальное счетное устройство, содержащее 1енератор импульсов, выход которого соединен с входом формировател импульсов, коммутатор, выходы которого подключены к входам первого и BTOpoio элементов ИЛИ, реверсивный счетчик и в каждом канале формировани импульсов элемент И-НЕ и трип-еры, пр мой выход первого из которых соединен с первым входом элемента И-НЕ, отличающеес тем, что, с целью повышени помехоустойчивости и упрощени устройства, в Heio введен распределитель импульсов , в каждом канале формировани импульсов пр мой выход первого три11ера соединен с В-вхгодом второго три1гера , инверсный выход которого подключен к второму входу элемента И-НЕ, D-вход первого триггера каждого канала формировани импульсов вл етс входом устройства, первый и второйo 112 The invention relates to computing, electronic devices for counting pulses arriving simultaneously from sensors located along several channels, for example, for counting bakery products in a multi-stream at the exit of the oven. The purpose of the invention is to simplify the device and increase its noise immunity. FIG. 1 shows the functional scheme of the device; on phi, 2 - time diagram of the device operation. The device contains inputs 1, in each channel 2 controls the first and second triggers 3 and 4 and the element IS NOT 5. In addition to Toio, the device co distributes the distributor 6 pulses, 1 generator 7 pulses, shaper 8 pulses switch 9, the first and second elements OR 10 and 11 and a reversible counter 12. In FIG. 2, the following voltage diagrams are marked: 13 - D-input of trigger 3; -14 - C-input trigger 3; 15 - C-input trigger 4; 16 - trigger trigger 3; 17 - the output of the trigger 4 and 18 - the output element AND-NOT 5. The device works as follows. At the moment when the front of the pulse arrives, from the corresponding output of the distributor 6 pulses to the synchronizing input of the first trigger 3, at its direct output a one or zero state is established depending on the corresponding states at the input of this channel. Also, the leading edge of the pulse but only from one of the outputs of the formative 8 pulses, the inverse output of the second trigger 4 sets the reverse value of the state of the direct output of the nepBoio trigger 3. When the state at the channel input changes from one to zero at the input of the I- element NOT 5 is zero, therefore, at its output, there is no one. When changing at the channel entrance, it is either zero to one (with a corresponding change of states at the outputs of the triggers 3 and 4) at the output of the AND-HE element 5, and consequently, at the channel output 2 controls is a counting pulse that passes through one of the elements OR 10 and 11 to 1 summing or n) 1 reading input of the reversing counter 12 depending on the state of the switch 9. In FIG. Figure 2 shows the time values of the state at the outputs of the elements of channel 2 of the control, depending on the state at their inputs, which explains its operation. In order to ensure reliable operation of the device while simultaneously supplying pulses to all inputs 1, it is necessary to fulfill the requirement for a read frequency at the input of the distributor 6 pulses f .IlL cp n 1de - the frequency of the read pulses; bx dist frequency at the input of the pulse distributor; n is the number of control channels. When pulses arrive (simultaneously) at the inputs of all channels, the OR pulses of a single duration go to the summing or subtracting inputs of the reversing counter 12 in order of the arrival of the reading pulses from the distributor 6 pulses. The invention has a multichannel counting device containing a pulse generator, the output of which is connected to the input of the pulse generator, a switch, the outputs of which are connected to the inputs of the first and BTOpoio OR elements, a reversible counter, and AND-NOT and trip-ers, direct the output of the first of which is connected to the first input of the NAND element, characterized in that, in order to improve the noise immunity and simplify the device, a pulse distributor is introduced into Heio, in each pulse generation channel the co-direct output of the first tri11er is connected to B-in the second trigamer, the inverse output of which is connected to the second input of the NAND element, the D input of the first trigger of each pulse shaping channel is the input of the device, the first and second