SU1730537A1 - Device for measuring diameter of a product - Google Patents
Device for measuring diameter of a product Download PDFInfo
- Publication number
- SU1730537A1 SU1730537A1 SU874227117A SU4227117A SU1730537A1 SU 1730537 A1 SU1730537 A1 SU 1730537A1 SU 874227117 A SU874227117 A SU 874227117A SU 4227117 A SU4227117 A SU 4227117A SU 1730537 A1 SU1730537 A1 SU 1730537A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- unit
- inputs
- photodetectors
- Prior art date
Links
Abstract
Изобретение относитс к измерительной технике. Целью изобретени вл етс повышение точности измерений за счет компенсации разброса и изменений параметров фотоприемников. Устройство дл измерени диаметра изделий содержит оптически св занные осветитель 1, на оптической оси которого устанавливаетс измер емое изделие 2, эталон 3, объектив 4, диафрагму 5 и дискретный фотоприемник б, выполненный в виде двух линеек фотопри5 емников, симметрично расположенных относительно оптической оси осветител , на которые проецируютс теневые изображени краев издели 2. Генератор 7 опроса формирует М циклов опроса первой и второй линеек фотоприемников дискретного фотоприемника 6. После циклов опроса, оцифровки амплитуд измеренных сигналов фотоприемников в блоке 8 амплитудно-цифрового преобразовани осуществл етс ввод чисел в блок 9 вычислений. Между двум циклами ввода производитс сложение текущих амплитуд с накопленными ранее дл последующего усреднени , после усреднени массивы чисел, описывающие выходные сигналы первой и второй линеек фотоприемников дискретного фотоприемника 6. подвергаютс медианной фильтрации , где исключаютс провалы отсчетов, вызванные разбросом параметров фотоприемников . Далее в блоке 9 вычислений осуществл етс выделение перепадов ркости изображений на первой и второй линейках фотоприемников дискретного фотоприемника б, по которым и определ етс диаметр издели . 4 з.п. ф-лы, 5 ил. Ё XI СО О СП со XIThis invention relates to a measurement technique. The aim of the invention is to improve the measurement accuracy by compensating for the scatter and changes in the parameters of the photodetectors. A device for measuring the diameter of products contains optically coupled illuminator 1, on the optical axis of which the measured product 2, standard 3, lens 4, diaphragm 5 and discrete photodetector b are installed, made in the form of two lines of photodetectors symmetrically located with respect to the optical axis of the illuminator, On which the shadow images of the edges of the product 2 are projected. The polling generator 7 generates M polling cycles of the first and second lines of photo detectors of a discrete photodetector 6. After the polling cycles, the amplitudes are digitized The beats of the measured signals of photodetectors in the amplitude-digital conversion unit 8 are entered into numbers in the calculation unit 9. Between the two input cycles, the current amplitudes are accumulated with previously accumulated for subsequent averaging. After averaging, arrays of numbers describing the output signals of the first and second lines of the photodetectors of the discrete photodetector 6. are subjected to median filtering, where sample drops due to scatter of the parameters of the photoreceivers are excluded. Next, in block 9 of the calculations, the differences in the brightness of the images on the first and second lines of the photodetectors of the discrete photodetector b are selected, from which the product diameter is determined. 4 hp f-ly, 5 ill. YO XI CO O SP with XI
Description
Изобретение относитс к измерительной технике и может быть использовано дл измерени диаметра изделий.The invention relates to a measurement technique and can be used to measure the diameter of products.
Целью изобретени вл етс повышение точности измерений за счет компенса- ции разброса и изменений параметров фотоприемников.The aim of the invention is to improve the measurement accuracy by compensating for the scatter and changes in the parameters of the photodetectors.
На фиг, 1 приведена функциональна схема устройства; на фиг. 2-4 - структурные схемы, соответственно первого, второго и третьего вариантов выполнени блока амплитудно-цифрового преобразовател ; на фиг. 5 - структурна схема блока вычислений .Fig, 1 shows a functional diagram of the device; in fig. 2-4 are structural diagrams of the first, second and third embodiments of the amplitude-digital converter unit, respectively; in fig. 5 is a block diagram of a computing unit.
Устройство дл измерени диаметра изделий содержит оптически св занные осветитель 1, на оптической оси которого устанавливаетс измер емое изделие 2, эталон 3, объектив 4, диафрагму 5 и дискретный фотоприемник 6, выполненный в виде двух симметрично расположенных относительно оптической оси осветител 1 линеек фотоприемников, генератор 7 опроса, первый и второй выходы которого св заны с входами первой и второй линеек фото- приемников дискретного фотоприемника 6 соответственно, блок 8 амплитудно-цифрового преобразовани (АЦП), первый и второй входы которого св заны с выходами первой и второй линеек фотоприемников дискретного фотоприемника б соответственно , блок 9 вычислений, первый вход и первый выход которого св заны двунаправленной шиной с третьим выходом и входом генератора 7 опроса, второй вход и второй выход св заны двунаправленной шиной с выходом и третьим входом блока 8 АЦП, блок 10 сигнализации, вход которого св зан с третьим выходом блока 9 вычислений, командный блок 11, выход которого св зан с третьим входом блока 9 вычислений.A device for measuring the diameter of products contains optically coupled illuminator 1, on the optical axis of which the measured product 2, standard 3, lens 4, diaphragm 5 and discrete photodetector 6 are installed, made in the form of two lines of photodetectors, which are symmetrically located relative to the optical axis of illuminator 1, 1 7 polling, the first and second outputs of which are connected to the inputs of the first and second lines of photo receivers of the discrete photodetector 6, respectively, the amplitude-digital conversion unit 8 (ADC), the first and second The inputs of which are connected to the outputs of the first and second lines of the photodetectors of the discrete photodetector b, respectively, block 9 calculations, the first input and the first output of which are connected by a bi-directional bus to the third output and the input of the interrogation generator 7, the second input and the second output are connected bi-directionally to the bus the output and the third input of the ADC block 8, the signaling block 10, the input of which is connected to the third output of the calculation block 9, the command block 11, the output of which is connected to the third input of the calculation block 9.
По первому варианту блок 8 АЦП (фиг. 2) содержит первый и второй усилители 12, входы которых вл ютс соответственно первым и вторым входами блока 8 АЦП, первый и второй компараторы 13, первые входы которых св заны соответственно с выходами первого и второго усилителей 12, выходы вл ютс выходом блока 8 АЦП, цифроаналоговый преобразователь 14 (ЦАП), входы которого вл ютс третьим уходом блока 8 АЦП, выход св зан с вторыми входами первого и второго компараторов 13.In the first embodiment, ADC block 8 (FIG. 2) contains first and second amplifiers 12, whose inputs are the first and second inputs of the ADC block 8, respectively, the first and second comparators 13, the first inputs of which are connected respectively to the outputs of the first and second amplifiers 12 The outputs are the output of the ADC block 8, the digital-to-analog converter 14 (D / A converter), whose inputs are the third care of the ADC block 8, the output is connected to the second inputs of the first and second comparators 13.
По второму варианту блок 8 АЦП (фиг. 3) содержит первый и второй усилители 15, входы которых вл ютс соответственно первым и вторым входами блока 8 АЦП, первый и второй аналого-цифровые преобразователи 16, первые входы которых св - In the second variant, the ADC block 8 (FIG. 3) comprises the first and second amplifiers 15, whose inputs are the first and second inputs of the ADC block 8, respectively, the first and second analog-to-digital converters 16, the first inputs of which
заны соответственно с выходами первого и второго усилителей 15, вторые входы вл ютс третьим входом блока 8 АЦП, выходы - вл ютс выходом блока 8 АЦП. По третьему варианту блок 8 АЦП (фиг. 4) содержит первый и второй усилители 17, входы которых вл ютс соответственно первым и вторым входами блока 8 АЦП, коммутатор 18, первый и второй входы которого св заны с выходами первого и второго усилителей 15 соответственно, аналого-цифрового преобразовател 19, первый вход которого св зан с выходом коммутатора 18, выход вл етс выходом блока 8 АЦП, третий вход коммутатора 18 и второй вход аналого-цифрового преобразовател 19 вл ютс третьим входом блока 8 АЦП.respectively, with the outputs of the first and second amplifiers 15, the second inputs are the third input of the ADC block 8, the outputs are the output of the ADC block 8. In the third embodiment, ADC block 8 (FIG. 4) comprises first and second amplifiers 17, whose inputs are the first and second inputs of the ADC block 8, a switch 18, the first and second inputs of which are connected to the outputs of the first and second amplifiers 15, respectively, A / D converter 19, the first input of which is connected to the output of switch 18, the output is the output of ADC unit 8, the third input of switch 18 and the second input of A / D converter 19 is the third input of ADC block 8.
Блок 9 вычислений (фиг. 5) содержит тактовый генератор 20, вычислитель 21, блок 22 пам ти, интерфейс 23, таймер 24, схему 25 рестарта, вход которой св зан с первым выходом таймера 24, выход - с первым входом вычислител 21, второй вход которого св зан с выходом тактового генератора 20, вход и второй выход таймера 24, третий вход и выход вычислител 21, вход и выход блока 22 пам ти, первый вход и первый выход интерфейса 22 св заны между собой и с первым входом и первым выходом блока 9 вычислений двунаправленными шинами , второй вход и второй выход интерфейса 23 св заны двунаправленными шинами с вторым входом и вторым выходом блока 9 вычислений, третий вход интерфейса 23 св зан шиной с третьим входом блока 9 вычислений , третий выход св зан шиной с третьим выходом блока 9 вычислений.Calculation block 9 (FIG. 5) contains a clock generator 20, calculator 21, memory block 22, interface 23, timer 24, restart circuit 25, the input of which is connected to the first output of timer 24, output to the first input of calculator 21, the second the input of which is connected with the output of the clock generator 20, the input and the second output of the timer 24, the third input and output of the calculator 21, the input and output of the memory block 22, the first input and the first output of the interface 22 are connected with each other and with the first input and the first output block 9 calculations bidirectional tires, the second input and the second output of the interface 23 with bidirectional buses are connected to the second input and second output of the computation unit 9, the third associated bus interface input 23 to the third input computing unit 9, a third output bus coupled to a third output unit 9 calculations.
Устройство работает следующим образом .The device works as follows.
При включении питани осветитель 1 направл ет слабо сход щийс пучок света на изделие 2 и эталон 3, тенепые изображени которых объективом 4 через диафрагму 5 проецируютс на первую линейку фотоприемников дискретного фотоприемника 6When the power is turned on, the illuminator 1 directs a weakly converging beam of light to the product 2 and the standard 3, the shadow images of which by the lens 4 are projected through the diaphragm 5 onto the first line of photodetectors of the discrete photodetector 6
-их левые кра , на вторую линейку фотоприемников дискретного фотоприемника б- their left edges, on the second line of photodetectors of a discrete photodetector b
-правые. Степень расходимости пучка света осветител 1 выбрана такой, чтобы при движении издели 2 в процессе изготовлени вдоль оптической оси устройства размеры его изображени в плоскости линеек фотоприемников дискретного фотоприемника 6 не измен лись. Через диафрагму 5 проходит свет, формирующий теневое изображение издели 2 и эталона 3, в то же врем рассе нные и преломленные в изделии 2 лучи практически полностью отфильтровываютс диафрагмой 5. Также при включении питани в вычислителе 21 формируетс сигнал Сброс, который инициализирует вычислитель 21 и интерфейс 23. Далее по сигналам тактового генератора 20 вычислитель 21 начинает выполн ть программу, содержащуюс в ПЗУ блока 22 пам ти. По командам программы происход т тестировани блока 9 вычислений в следующей последовательности: тест ОЗУ, тест ПЗУ, тест интерфейса, тест прерываний . Далее производитс тестирование измерительного канала устройства: по командам блока 9 вычислений в генераторе 7 опроса формируетс последовательность фазовых импульсов опроса первой и второй линеек фотоприемников дискретного фотоприемника 6, 50 % выходных сигналов которых (при наличии нормальной мощности осветител 1 и правильной юстировки оптических элементов устройства) близки к насыщению.-rights. The degree of divergence of the light beam of the illuminator 1 is chosen such that when the product 2 moves during the manufacturing process along the optical axis of the device, the dimensions of its image in the plane of the photodetector lines of the discrete photodetector 6 do not change. The light that forms the shadow image of the product 2 and the reference 3 passes through the diaphragm 5. At the same time, the rays scattered and refracted in the product 2 are almost completely filtered by the diaphragm 5. Also, when the power is turned on, a reset signal is generated in the calculator 21, which initializes the calculator 21 and the interface 23. Further, according to the signals of the clock generator 20, the calculator 21 begins to execute the program contained in the ROM of the memory unit 22. The program commands test the block 9 calculations in the following sequence: RAM test, ROM test, interface test, interrupt test. Next, the measuring channel of the device is tested: the commands of the computing unit 9 in the polling generator 7 generate a sequence of polling phase pulses of the first and second photodetector lines of the discrete photodetector 6, 50% of whose output signals (if the illuminator 1 has normal power and correct alignment of the optical elements of the device) are close to saturation.
В блоке 8 АЦП под управлением блока 9 вычислений производитс оцифровка выходных сигналов первой и второй линеек фотоприемников дискретного фотоприемника 6. Последние последовательно из блока 8 АЦП ввод тс в блок 9 вычислений, где определ етс наличие 50 % нормальных по амплитуде световых сигналов на выходах обеих линеек фотоприемников дискретного фотоприемника б, при этом блок 9 вычислений через интерфейс 23 выдает на блок 10 индикации команды, по которым последний генерирует короткий звуковой сигнал, зажигает световой сигнал нормальной работы и переходит к основной программе измерени диаметра (издели ); наличие только темновых сигналов, при этом блок 9 вычислений через интерфейс 23 и блок 10 индикации выдает прерывистый звуковой сигнал, сопровождает его аналогичным световым сигналом, которые свидетельствуют или о необходимости замены лампочки накаливани в осветителе 1, или о необходимости юстировки оптических элементов; отсутствие сигналов на выходе одной из линеек фотоприемников дискретного фотоприемника 6, при этом блок 9 вычислений через интерфейс 23 и блок 10 индикации выдает непрерывный звуковой сигнал, зажигает все зап тые и одну из цифр 10-17 на цифровом табло блока 10 индикации. Последний , из указанных режимов индикации сигнализирует о наличии сбо в устройстве . Цифры вместе с зап тыми на блоке 10 индикации говор т о сбо х в следующих тестах: 10- неверно прошел тест ОЗУ; 12 - ПЗУ; 13 -интерфейса 23; 14 - прерываний; 15 - отсутствуют сигналы на выходе первой линейки фотоприемников дискретного фотоприемника 6; 16 - на выходе второй линейки фотоприемников дискретного фотоприемника 6; 17 - отсутствуют сигналы на выходах первой и второй линеек фотоприемников дискретного фотоприемника 6. Основна программа измерени диаметра издели включает в себ загрузку таймера 24, m циклов опроса первой и второй линеек фотоприемников дискретного фотоприемника 6, оцифровки и ввода амплитуд измеренных сигналов фотоприемников в ОЗУ блока 22 пам ти блока 9 вычислений через блок 8 АЦП, Между двум циклами ввода производитс сложение текущих амплитуд с накопленными ранее дл последующегоIn ADC block 8, under control of calculation block 9, the output signals of the first and second lines of photo detectors of a discrete photodetector 6 are digitized. The latter are successively entered from block 8 of ADCs into block 9 of calculations, where 50% of normal amplitudes of light signals are detected at the outputs of both lines photo-receivers of discrete photo-receiver b, while the computing unit 9 via the interface 23 issues to the display unit 10 commands for which the latter generates a short sound signal, lights the light signal normally and operation proceeds to measuring the diameter of the main program (product); the presence of only dark signals, while the computing unit 9 via the interface 23 and the display unit 10 produces an intermittent sound signal, accompanies it with a similar light signal, which indicate either the need to replace the glow lamp in the illuminator 1, or the need to adjust the optical elements; The absence of signals at the output of one of the photodetector lines of the discrete photodetector 6, while the calculation unit 9 via the interface 23 and the display unit 10 generates a continuous sound signal, lights all the digital displays and one of the numbers 10-17 on the digital display unit of the display 10. The last of the indicated display modes signals the presence of a fault in the device. The figures together with the commas on the display unit 10 are indicative of failures in the following tests: 10 - the RAM test was incorrectly passed; 12 - ROM; 13 interface 23; 14 - interrupts; 15 - there are no signals at the output of the first line of photodetectors of a discrete photodetector 6; 16 - at the output of the second line of photodetectors of a discrete photodetector 6; 17 - there are no signals at the outputs of the first and second lines of photo detectors of a discrete photodetector 6. The main program for measuring the diameter of a product includes loading the timer 24, m polling cycles of the first and second lines of photo detectors of a discrete photodetector 6, digitizing and inputting amplitudes of the measured signals of photo receivers into the RAM of block 22 the memory of the computing unit 9 through the ADC block 8; Between the two input cycles, the current amplitudes are added to the previously accumulated amplitudes
усреднени . После циклов опроса и усреднени массива чисел at, at, описывающие выходные сигналы первой и второй линеек фотоприемников дискретного фотоприемника 6, подвергаютс медианной фильтрации , в процессе которой получаютс соответственно массивы bi, bt, в них исключены провалы отсчетов, вызванные разбросом параметров фотоприемников. Далее выполн етс подпрограмма выделени перепадов ркости изображений на первой и второй линейках фотоприемников дискретного фотоприемника б, причем первый 1+ К фотоприемник, наход щийс на первом краю изображени , определ етс из условийaveraging. After polling and averaging an array of numbers at, at, describing the output signals of the first and second lines of photo detectors of a discrete photodetector 6, they are subjected to median filtering, during which the arrays bi, bt are obtained, and the counts of the photodetectors are eliminated. Next, the subroutine for extracting the brightness of images on the first and second lines of the photodetectors of the discrete photodetector b is performed, the first 1+ K photodetector located on the first edge of the image is determined from the conditions
I 1 ; I 1;
Ьн-к-Ml 0,35М,(1)Ln-to-Ml 0.35M, (1)
с.with.
5five
00
где К const 10 - число, превышающее максимальное количество фотоприемников, наход щихс на перепадах ркости;where K const 10 is a number exceeding the maximum number of photodetectors located on differences in brightness;
I +5I +5
м 2 bj/10 m 2 bj / 10
Последний I - К фотоприемник, расположенный на анализируемом краю изображени , определ етс из условий I - К I + К: I - M I 0,35 M, (2)The last I-K photodetector located at the analyzed image edge is determined from the conditions I-K I + K: I-M I 0.35 M, (2)
{.{.
i + 5i + 5
гдеМ bJ/10- j i - 5whereM bJ / 10- j i - 5
Аналогично в массиве bi находитс второй край изображени , принадлежащий из- делию 2 (первый перепад ркости создан краем эталона 3). Далее, определ ютс фотоприемники массива bi, принадлежащие третьему и четвертому перепадам ркости изображени , которые созданы соответственно , вторыми предметными кра ми издели 2 и эталона 3. Обработка амплитуд сигналов фотоприемников, наход щихс на первом краю изображени , заключаетс в следующих операци х: определение среднего уровнд перепада сигнала на краю изображени : Bi-( M)/2 + M; определение среднего изменени сигналов соседних фотоприемников , принадлежащих первому перепаду ркости:Similarly, in the bi array there is a second edge of the image belonging to item 2 (the first difference in brightness is created by the edge of the pattern 3). Next, the photodetectors of the bi array belonging to the third and fourth image brightness differences, which are created respectively by the second subject edges of the product 2 and the reference 3, are determined. The processing of the amplitudes of the photodetector signals located on the first edge of the image is as follows: determining the average signalnd level at the edge of the image: Bi- (M) / 2 + M; determination of the average change in the signals of neighboring photodetectors belonging to the first difference of brightness:
bi-(bi--K-bi+K)/( 2 К);bi- (bi - K-bi + K) / (2 K);
определение номера фотоприемника I, имеющего амплитуду сигнала, ближайшую к среднему уровню перепада ЕЙ, но меньшую его по абсолютной величине: bi Вд; Ibi-Bil bi;(3)determining the number of photodetector I, having a signal amplitude closest to the average level of the difference EY, but lower in absolute value: bi Vd; Ibi-Bil bi; (3)
определение рассто ни от начала первой линейки фотоприемников дискретного фотоприемника 6 до середины первого кра изображени (первый край эталона 3):determining the distance from the beginning of the first line of photodetectors of a discrete photodetector 6 to the middle of the first edge of the image (first edge of the standard 3):
+T(Bi -bi)/bi T-l+ б , (4) + T (Bi -bi) / bi T-l + b, (4)
где Т - период линейки фотоприемников;where T is the period of the line of photodetectors;
д - поправка положени кра изображени с учетом линейной аппроксимации сигналов фотоприемников, принадлежащих рассматриваемому перепаду ркости изображени .e - correction of the position of the image edge taking into account the linear approximation of the photodetector signals belonging to the considered image brightness difference.
Далее аналогично определ ютс : рассто ние от начала первой линейки фотоприемников дискретного фотоприемника 6 до середины второго кра изображени (первый край издели 2) S2, рассто ние от начала второй линейки фотоприемников дискретного фотоприемника 6 до середины третьего кра изображени (второй край эталона 3) Зз, от начала второй линейки фотоприемников дискретного фотоприемника 6 до середины четвертого кра изображени (второй край издели 2) S4. Последний блок основной программы определ ет диаметр издели 2 с учетом систематической и случайной ошибок устройства, так как нар ду с одновременно полученными отсчетами Si,...,S4 в блоке 9 вычислений используетс Lo - размер эталона 3, считываемый в вычислитель 21 из блока 22 пам тиNext, the distance from the beginning of the first line of photodetectors of a discrete photodetector 6 to the middle of the second image edge (first edge of product 2) S2, the distance from the beginning of the second line of photodetectors of a discrete photodetector 6 to the middle of the third edge of image (second edge of standard 3) , from the beginning of the second line of photodetectors of the discrete photodetector 6 to the middle of the fourth edge of the image (second edge of the product 2) S4. The last block of the main program determines the diameter of item 2 taking into account the systematic and random errors of the device, since along with simultaneously obtained Si, ..., S4 counts in block 9 of calculations, Lo is used - the size of the standard 3 read into calculator 21 from block 22 memory
D U-S2 + + S3.D U-S2 + + S3.
(5)(five)
Выражение (5) используетс ввиду того, что перва и втора линейки фотоприемников дискретного фотоприемника 6 опрашиваютс навстречу друг другу. Далее из блока 9 вычислений на табло блока 10 индикации выводитс измеренный диаметр D, в блок 9 вычислений считываетс положение декадных переключателей командного блока 11 - Do и производитс сравнение. Если Do+ Е D (е 15 мкм - допустимое отклонение диаметра изделий 2) - через интерфейс 23 на шину управлени внешнимиExpression (5) is used in view of the fact that the first and second lines of photodetectors of the discrete photodetector 6 are interrogated towards each other. Then, the measured diameter D is output from the calculation unit 9 on the display of the display unit 10, the position of the ten-day switches of the command unit 11-Do is read into the calculation unit 9 and a comparison is made. If Do + Е D (е 15 microns is the permissible deviation of the diameter of products 2) through the interface 23 to the external control bus
00
5five
объектами выдаетс из вычислител 21 команда - замедлить выт гивание издели 2; если DO - е D - на шину управлени внешними объектами выдаетс команда - ускорить выт гивание издели 2; если D0 - - е D Do + E - выдаетс команда - диаметр в норме, и зажигаетс соответствующа лампочка в блоке 10 индикации. Далее анализируетс разность между текущими отсчетами краев эталона Si.i; Ss.i и отсчетами краев эталона Si, Зз, полученными при первом проходе основной программы измерени диаметра издели 2.objects are issued from the calculator 21 command to slow down the stretching of the product 2; if DO - e D - a command is issued to the control bus of external objects - to accelerate the pulling of product 2; if D0 - - e D Do + E - a command is issued - the diameter is normal, and the corresponding light comes on in display unit 10. Next, the difference between the current readings of the edges of the Si.i reference standard is analyzed; Ss.i and readings of the edges of the Si standard, 3h, obtained during the first pass of the main program for measuring the diameter of the product 2.
Если не выполн етс ни одно из неравенствIf none of the inequalities holds
Ai lSi-Si,i I SoAi lSi-Si, i I So
A2 3з-3з,1 I So ,(6)A2 3z-3z, 1 I So, (6)
HCHC
{:{:
то осуществл етс безусловный переход вThis is an unconditional transition to
начало основной программы (So - максимально допустимое отклонение отсчета по любому краю эталона). Если выполн етс хот бы одно из неравенств (6), то на блоке 10 индикации зажигаетс лампочка Отклонение отсчета, на табло блока 10 индикации вывод тс поочередно цифры: D, Дч, Да, осуществл етс безусловный переход в начало основной программы измерени диаметра издели 2. Оцифровкаthe beginning of the main program (So - the maximum permissible deviation of the reference along any edge of the standard). If at least one of the inequalities (6) is fulfilled, then the indicator Deviation of the reference lamp lights up on the display unit 10, the digits of the display unit 10 of the display are alternately displayed: D, Df, Yes, the unconditional transition to the beginning of the main program for measuring the diameter of the product 2 is performed . Digitization
выходных сигналов первой и второй линеек фотоприемников, дискретного фотоприемника 6 в основном измерительном режиме производитс под управлением той же подпрограммы , что и в тестовом режиме, и дл output signals of the first and second lines of photodetectors, discrete photodetector 6 in the main measurement mode is performed under the control of the same subroutine as in the test mode, and for
первого варианта выполнени блока 8 АЦП (фиг. 2) состоит из операций: выдачи из блока 9 вычислений на ЦАП 14 кода опорного напр жени , запуск через генератор 7 опроса цикла считывани первой и второйthe first embodiment of the block 8 ADC (Fig. 2) consists of the following operations: issuing from the block 9 calculations to the DAC 14 a reference voltage code, starting through the generator 7 interrogating the read cycle of the first and second
линеек фотоприемников дискретного фотоприемника 6, выходные сигналы которых усиливаютс первым и вторым усилител ми 12, сравниваютс с опорным напр жением в первом и втором компараторах 13,lines of photodetectors of a discrete photodetector 6, the output signals of which are amplified by the first and second amplifiers 12, are compared with the reference voltage in the first and second comparators 13,
выходные цифровые сигналы которых дл каждого фотоприемника через интерфейс 23 записываютс в блок 22 пам ти блока 9 вычислений, Синхросигналы дл приема данных в блок 22 пам ти формируютс вdigital outputs of which for each photodetector via interface 23 are recorded in memory block 22 of calculation block 9; sync signals for receiving data in memory block 22 are generated in
генераторе 7 опроса синхронно с фазовыми импульсами опроса первой и второй линеек фотоприемников дискретного фотоприемника 6, Указанные синхросигналы поступают в блок 22 пам ти и интерфейсpolling generator 7 synchronously with phase pulses of polling of the first and second lines of photodetectors of a discrete photodetector 6; These sync signals are received in memory block 22 and interface
23 дл реализации функций управлени (окончание циклов опроса линеек фотоприемников ), стробировани приемопередачи данных. Далее повтор етс цикл опроса первой и второй линеек фотоприемников23 to implement control functions (end of polling cycles of photodetector lines), gating data transmission. Then the cycle of polling the first and second lines of photodetectors repeats.
дискретного фотоприемника 6 дл следующего опорного напр жени , результаты двух циклов опроса анализируютс , определ ютс номера фотоприемников, амплитуды которых заключены между сформированными опорными напр жени ми , дл этих фотоприемников записываютс в массив ai коды амплитуды выходных сигналов. Описанный цикл опроса и программного анализа повтор етс 2П раз, где п - разр дность ЦАП 14. Дл второго варианта выполнени блока 8 АЦП (фиг. 3) оцифровка осуществл етс после одного цикла опроса первой и второй линеек фотоприемников дискретного фотоприемника б, когда их выходные сигналы, усиленные в первом и втором усилител х 15 поступают на входы первого и второго аналого-цифровых преобразователей 16 (на их управл ющие входы поступают из блока 9 вычислений стробирующие сигналы), где получаютс коды амплитуды выходных сигналов фотоприемников, которые с выходов аналого-цифровых преобразователей 16 через интерфейс 23 записываютс в блок 22 пам ти. Дл третьего варианта выполнени блока 8 АЦП (фиг. 4) оцифровка осуществл етс также за врем одного цикла опроса первой и второй линеек фотоприемников дискретного фотоприемника б, когда их выходные сигналы, усиленные в первом и втором усилител х 17, поочередно поступают через коммутатор 18 на вход аналого-цифрового преобразовател 19 (на управл ющие входы коммутатора 18 и аналого-цифрового преобразовател 19 поступают коммутирующие и стробирующие сигналы, сформированные в интерфейсе 23 из синхросигналов, пришедших из генератора 7 опроса, где образуютс коды амплитуды выходных сигналов фотоприемников, которые через интерфейс 23 записываютс в блок 22 пам ти). В начале основного цикла программы измерени диаметра из вычислител 21 производитс загрузка таймера 24, который (при сбо х, увеличивших или остановивших цикл зычислений) вырабатывает импульсы с частотой, заданной константой загрузки. Первый импульс таймера 24, пришедший в схему рестарта 25, вызывает формирование в ней сигнала Прерывание , поступающего в вычислитель 21. Если в данный момент прерывани запрещены и вычислитель 21 не возобновил свою работу, то по второму импульсу таймера 24, пришедшего в схему рестарта 25, последн генерирует сигнал Сброс и вычислитель 21 начинает выполн ть программу, содержащую в ПЗУ блока 22 пам ти, начина с первой команды (тестовый режим).discrete photodetector 6 for the next reference voltage, the results of two polling cycles are analyzed, the numbers of photodetectors, the amplitudes of which are enclosed between the generated reference voltages, are determined; for these photodetectors, the amplitude codes of the output signals are written into the array ai. The described cycle of polling and program analysis is repeated 2P times, where n is the resolution of the DAC 14. For the second embodiment of block 8 of the ADC (Fig. 3), digitization is carried out after one cycle of polling the first and second lines of photodetectors of the discrete photodetector b when their output the signals amplified in the first and second amplifiers 15 are fed to the inputs of the first and second analog-to-digital converters 16 (their control inputs are received from the computing unit 9, the strobe signals), where the amplitude codes of the output signals of the photodetectors are obtained Cove, which outputs to an analog-digital converter 16 through the interface 23 is recorded in the memory unit 22. For the third embodiment of block 8 of the ADC (Fig. 4), digitization is also performed during one cycle of polling the first and second lines of photo detectors of a discrete photoreceiver b when their output signals amplified in the first and second amplifiers 17 are alternately received through switch 18 Analog-to-digital converter input 19 (switching and gate signals generated at the interface 23 from the clock signals from the polling generator 7, Gd) are fed to the control inputs of the switch 18 and the analog-digital converter 19. The amplitude codes of the output signals of the photodetectors are formed, which, through the interface 23, are recorded in the memory block 22). At the beginning of the main cycle of the diameter measurement program from calculator 21, timer 24 is loaded, which (when it increases, which increases or stops the calculation cycle) generates pulses with a frequency specified by a loading constant. The first pulse of timer 24, which came into the restart circuit 25, causes the formation of a signal in it Interrupt entering the calculator 21. If the interrupt is prohibited at the given moment and the calculator 21 has not resumed its operation, then the second pulse of timer 24, which came into the restart circuit 25, the latter generates a Reset signal and the calculator 21 starts executing a program containing in the ROM of the memory unit 22, starting with the first command (test mode).
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874227117A SU1730537A1 (en) | 1987-03-19 | 1987-03-19 | Device for measuring diameter of a product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874227117A SU1730537A1 (en) | 1987-03-19 | 1987-03-19 | Device for measuring diameter of a product |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1730537A1 true SU1730537A1 (en) | 1992-04-30 |
Family
ID=21297262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874227117A SU1730537A1 (en) | 1987-03-19 | 1987-03-19 | Device for measuring diameter of a product |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1730537A1 (en) |
-
1987
- 1987-03-19 SU SU874227117A patent/SU1730537A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1232944, кл. G 01 В 21/00, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1293535C (en) | Apparatus for monitoring bloodstream | |
US3506818A (en) | Digital integrator with automatic base line correction | |
SU1730537A1 (en) | Device for measuring diameter of a product | |
SU1711001A1 (en) | Surface finish measuring instrument | |
US4636623A (en) | Apparatus for reading a line marking | |
SU1620835A1 (en) | Optronic device for measuring linear displacements | |
SU1436074A1 (en) | Apparatus for determining the speed and direction of object movement | |
SU1226061A1 (en) | Arrangement for determining position of zone with non-uniform illumination | |
SU1303822A2 (en) | Device for measuring object position | |
SU1244486A1 (en) | Method of measuring distance between two points | |
SU1399672A1 (en) | Device for measuring fat content in milk | |
SU1640721A1 (en) | Image converter | |
SU1693380A1 (en) | Photoelectric displacement converter | |
SU1624346A1 (en) | Analyzer of random signal amplitude and time parameters | |
SU1144133A1 (en) | Photoelectric displacement encoder | |
SU568399A3 (en) | Image recognition system | |
SU1551984A1 (en) | Device for measuring shift in achromatic band in interferometer | |
RU2005998C1 (en) | Device for measurement of volume | |
SU1180695A1 (en) | Optoelectronic apparatus for measuring linear dimensions | |
SU1693383A1 (en) | Method for determining of position of energy center of light spot | |
SU1758576A1 (en) | Analyzer of amplitude and time parameters of random signals | |
SU711598A1 (en) | Device for sensing and identification of images | |
SU1654753A1 (en) | Device for converting rotational speed to code | |
SU1354034A1 (en) | Device for measuring diameter of articles | |
SU1037064A1 (en) | Device for measuring linear dimensions of moving objects |