Vynález se týká zařízení pro měření délek různých výrobků, zejména tyčí a trubek, pomocí fotoelektrických čidel, uspořádaných do řad.The invention relates to a device for measuring the lengths of various products, in particular bars and tubes, by means of photoelectric sensors arranged in rows.
Meření délky patří k velmi častým, ale zároveň i velice náročným operacím při výrobě tyčových a trubkových výrobků. Náročnost této operace vyplývá z vysokých požadavků, které jsou na ni kladeny. Jedná se zejména o požadavky na přesnost měření, široký rozsah délek měřených výrobků i různé speciální požadavky, vyplývající z konkrétních zakázek. V současné době se využívá k měření délky fotoelektrickýc měřidel, zapojených následujícím způsobem; délka výrobku je zjišťována prostřednictvým fotoelektrických čidel, rozmítěných v měřicí liště. Jednotlivé osmice čidel jsou připojeny ke vstupům osmibitových registrů — např. ekv. typu 18212, a to tak, že ke každému registru je trvale připojena daná osmice měřicích čidel. V těchto osmibitových registrech je zachycován stav — zacloněno nebo odcloněno — jednotlivých měřicích čidel, připojených k tomuto registru. Při adresaci daného osmibitového registru je informace o stavu k němu připojených čidel přenesena na datovou sběrnici vyhodnocovacího systém a je dále systémem zpracována. Nevýhodou tohoto způsobu zapojení je nutnost použít většího množství osmibitových registrů. Tato nevýhoda se projevuje zejména tam, kde si široký rozsah měřených délek a vysoká požadovaná přesnost měření vynucují použít velkého počtu měřicích čidel a tudíž i velkého počtu osmibitových registrů.Length measurement belongs to very frequent but also very demanding operations in the production of rod and tube products. The difficulty of this operation results from the high demands placed on it. These are mainly requirements for measurement accuracy, wide range of measured product lengths and various special requirements resulting from specific orders. It is currently used to measure the length of photoelectric meters connected as follows; the length of the product is determined by means of photoelectric sensors distributed in the measuring bar. Individual eight sensors are connected to inputs of eight-bit registers - eg equiv. type 18212, so that each register is permanently connected to the eight measuring sensors. These 8-bit registers record the state - either screened or screened - of the individual measuring sensors connected to this register. When addressing a given 8-bit register, the status information of the connected sensors is transferred to the data bus of the evaluation system and further processed by the system. The disadvantage of this type of connection is the necessity to use more 8-bit registers. This disadvantage is particularly pronounced where a wide range of measured lengths and a high required measurement accuracy necessitate the use of a large number of measuring sensors and hence a large number of eight-bit registers.
Tyto nevýhody odstraňuje zařízení pro měření délek podle vynálezu, používající řadu fotoelektrických čidel uspořádaných do řad, jehož podstatou je to, že sestává z jediné vstupní brány, tvořené jedním registrem. Na vstupy tohoto registru jsou jedním svým vývodem připojena pomocí datových vodičů fotoelektrická čidla jednotlivých řad, a to tak, že pořadím v řadě si odpovídající fotoelektrická čidla jsou připojena ke společnému datovému vodiči. Počet fotoelektrických čidel v jedné řadě je určen počtem bitů registru. Druhým svým vývodem jsou fotoelektrická čidla v každé řadě propojena jedním společným adresním vodičem na výstup dekodéru. Na inicializační vstup tohoto dekodéru je připojena část adresovací sběrnice mikropočítače a na jeho aktivační vstup a na aktivační vstup registru je připojen výstup adresovacího signálu z adresového dekodéru mikropočítače. Výstup regist4 ru je připojen na datovou sběrnici vyhodnocovacího systému.These disadvantages are overcome by the length measuring device according to the invention, using a series of photoelectric sensors arranged in rows, which consists in that it consists of a single input gate, consisting of a single register. The photoelectric sensors of the individual series are connected to the inputs of this register via one of its terminals by means of data wires, so that the corresponding photoelectric sensors are connected in series to the common data wire. The number of photoelectric sensors in a row is determined by the number of register bits. Secondly, the photoelectric sensors in each row are connected by one common address conductor to the output of the decoder. A portion of the microcomputer addressing bus is connected to the initialization input of this decoder, and an addressing signal output from the microcomputer address decoder is connected to its activation input and register activation input. The register output is connected to the data bus of the evaluation system.
Vyšší účinek zařízení podle vynálezu se projevuje v tom, že při měřeních, vyžadujících velký počet měřicích čidel stačí použít jediný registr. Vedle ekonomických výhod přináší vynález i zjednodušení použitého elektrického zařízení.The higher effect of the device according to the invention results in the fact that a single register is sufficient for measurements requiring a large number of measuring sensors. In addition to the economic advantages, the invention also provides simplification of the electrical equipment used.
Příklad zařízení je schematicky uveden na přiloženém výkresu. V tomto případě jsou použity tři řady fotoelektrických čidel 2, kde každá řada obsahuje osm těchto fotoelektrických čidel 2. Jedním svým vývodem jsou fotoelektrická čidla 2 připojena pomocí osmi datových vodičů 3 k jedinému, v tomto případě osmibitovému registru 1. K jednomu datovému vodiči 3 jsou připojena vždy pořadím si odpovídající fotoelektrická čidla 2 v jednotlivých řadách, tedy vždy všechna první, druhá až osmá. Druhý vývod fotoelektrických čidel 2 je vždy v jedné řadě propojen společným adresním vodičem 4 na výstup dekodéru 5. V tomto případě tedy třem řadám odpovídající tři adresní vodiče 4. Na inicializační vstup dekodéru 5 je připojena část adresovací sběrnice 6 mikropočítače. Na aktivační vstup dekodéru 5 a registru 1 je připojen výstup adresovacího' signálu 7 z adresovacího dekodéru, který není na výkrese nakreslesn. Výstup registru 1 je pak připojen na datovou sběrnici 8 vyhodnocovacího systému.An example of the device is shown schematically in the attached drawing. In this case, three rows of photoelectric sensors 2 are used, each row comprising eight of these photoelectric sensors 2. By one outlet, the photoelectric sensors 2 are connected by means of eight data wires 3 to a single, in this case an 8-bit register 1. connected to each other by the order of the corresponding photoelectric sensors 2 in individual rows, that is to say all the first, second to eighth. The second outlet of the photoelectric sensors 2 is in each row connected by a common address conductor 4 to the output of the decoder 5. Thus, in this case, three rows corresponding to three address conductors 4 are connected to the initialization input of the decoder 5. The output of the addressing signal 7 from the addressing decoder not connected to the drawing is connected to the activation input of the decoder 5 and register 1. The output of register 1 is then connected to the data bus 8 of the evaluation system.
Zařízení pracuje tak, že při měření délky daného materiálu, resp. výrobku jsou jednotlivá fotoelektrická čidla 2 buď zacloněna, nebo odcloněna. jejich stav zjišťuje mikropočítač pomocí registru 1 tak, že jsou k němu postupně připojovány jednotlivé řady fotoelektrických čidel 2 pomocí datových vodičů 3 a adresních vodičů 4. Jednotlivé řady měřicích fotoelektrických čidel 2 od datových vodičů 3 jsou nejprve odpojeny a připojení zvolené řady se provádí pomocí dekodéru 5, který je adresován mikropočítačem po adresovací sběrnici 6. Informace o počtu odcloněných fotoelektrických čidel 2 v připojené řadě se přenáší do registru 1, jehož výstup je inicializován signálem 7 současně s každou řadou měřicích fotoelektrických čidel 2 přes dekodér 5 a odtud na datovou sběrnici 8 vyhodnocovacího systému.The device works so that when measuring the length of the material, respectively. of the product, the individual photoelectric sensors 2 are either screened or screened. their status is detected by the microcomputer by means of register 1 by sequentially connecting individual rows of photoelectric sensors 2 with data wires 3 and address wires 4. The information about the number of enclosed photoelectric sensors 2 in the connected row is transmitted to the register 1, the output of which is initialized by a signal 7 simultaneously with each series of photoelectric sensors 2 through the decoder 5 and from there to the data bus 8. evaluation system.
Zařízení podle vynálezu je vhodné zejména pro měření délek tyčových a trubkových materiálů v širokém rozsahu měřených délek s vysokou přesností.The device according to the invention is particularly suitable for measuring lengths of rod and tube materials over a wide range of measured lengths with high accuracy.