WO2007121620A1 - A contactless read out sensor for mechanical character wheel counter - Google Patents
A contactless read out sensor for mechanical character wheel counter Download PDFInfo
- Publication number
- WO2007121620A1 WO2007121620A1 PCT/CN2006/001122 CN2006001122W WO2007121620A1 WO 2007121620 A1 WO2007121620 A1 WO 2007121620A1 CN 2006001122 W CN2006001122 W CN 2006001122W WO 2007121620 A1 WO2007121620 A1 WO 2007121620A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- character wheel
- bracket
- wheel
- reflective
- coded data
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06M—COUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
- G06M1/00—Design features of general application
- G06M1/27—Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
- G06M1/272—Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum using photoelectric means
Definitions
- the present invention relates to the field of data recognition technology in measurement technology, and more specifically to a mechanical character wheel counter non-contact reading sensor and a method of designing the same.
- the electrical signal corresponding to the rotation angle of the character wheel encodes data, thereby realizing the function of reading the indicated value of the mechanical character wheel counter wheel in a non-contact manner.
- the bracket (5) comprises a character wheel, a fiber fixing hole, a bracket, a reflective strip, a circuit fiber, a light emitting diode, a phototransistor and a signal processing circuit, and is characterized in that: the upper circuit board of the bracket (5) ( ; ⁇ is equipped with a phototransistor (1), illuminating Diode (2) and signal processing circuit, the bracket (5) is provided with a fiber fixing hole (7') [ : 'phototransistor (1) and the light-emitting diode (2) and the fiber fixing hole (7) of the bracket (5)
- the optical fiber (4) is used as the optical channel, and two optical fibers are arranged side by side in each of the optical fiber fixing holes (7), one of which is connected to the phototransistor, one is connected to the light emitting diode, and the lower part of the bracket (5) is provided with a character wheel.
- the character wheel (8) is affixed with a reflective strip (6).
- the signal circuit includes a single-chip control circuit and a multi-switch circuit as shown in Figure 7.
- the output of the phototransistor is connected to the input of the multiplexer.
- the A, B, and C terminals of the MCU control circuit are connected to the address selection terminals A, B, and C of the multiplexer, and the multiplexer 3 ⁇ 4 output terminal X is connected to the AD-IN terminal of the MCU control circuit, and the C0N1 terminal of the MCU control circuit is connected.
- With glowing two The cathode of the tube is connected, and the control circuit of the single chip first lowers the C0N1 end to make the LED illuminate the reflective strip on the character wheel.
- the MCU sequentially controls the A, B, and C address selection ends of the multi-way switch by the AD method.
- the IN terminal reads the output signal of the corresponding phototransistor into the encoded data in the single-chip microcomputer, and then converts the encoded data into a character wheel counter indicating number by the single-character word wheel digital and encoded data comparison table, and outputs it through the serial communication socket.
- the number of phototransistors and light-emitting diodes is determined according to different application requirements.
- the calculation method and steps of the proposed angle between two adjacent fiber fixing holes are as follows:
- the length of the reflective segment and the non-reflective segment is the angular amount of the circle of the character wheel
- the invention has the advantages that: the data can be remotely transmitted, the lotus power supply is not needed, the accuracy is high, the use is convenient, the service life is long, and the accumulated error is not generated, and the non-contact type reading of the mechanical character wheel counter indication value is realized.
- Fig. 1 is a schematic structural view of a sensor embodiment 1 of the present invention. ; ' '
- FIG. 2 is a schematic view showing the angular distribution between the fixing holes of the optical fiber of Embodiment 1 in the sensor of the present invention.
- Fig. 3 is a schematic view showing a reflective strip of the embodiment 1 of the sensor of the present invention. '
- Fig. 4 is a schematic structural view of a sensor embodiment 2 of the present invention. ' :
- Fig. 5 is a schematic view showing the angle distribution of the optical fiber fixing hole of the embodiment 2 in the sensor of the present invention.
- Fig. 6 is a schematic view showing the distribution of a reflective strip of Embodiment 2 of the sensor of the present invention.
- Figure 7 is a diagram showing the signal processing circuit of Embodiment 1 and Embodiment 2 in the sensor of the present invention.
- the fiber positioning holes (7) on the bracket (5) and the bracket (5) are designed and 8 phototransistors are mounted on the circuit board (3) (see Fig. 1).
- the length of the reflective segment and the non-reflective segment is the angular amount of the circle of the character wheel
- the set of segment lengths is ⁇ 10.8" , 19.8 U , 28. S, 37.8” , 46.8” , 55.8" ⁇ , 64.8", 72' ⁇
- the output signals of the phototransistors have no duplicate data. ⁇ 72°, 72°, 37.8. 19.8. 28.8°, 10.8 19.8. , 37.8 0 , 10.8. 28.8. 10.8. 10.8. ⁇ (see Figure 3)
- All the light-emitting diodes (2) emit light, respectively detecting the output level of the phototransistor (1).
- the output level of the phototransistor (1) is 1, 'When the fiber positioning hole output level (7) is positioned above the non-reflective section, the phototransistor (1) of the output level to 0, all the photoelectric three-pole tube (1) according to D7 of FIG. 1, D6, D5, D4, D3, The order of D2, Dl, and DO is arranged into a hexadecimal coded data.
- the photoelectric The encoded data output by the triode in sequence is as follows:
- the word wheel digital and coded data comparison table is stored in the single chip microcomputer, and the signal processing circuit of FIG. 7 is used to read the coded data of the sensor, and the corresponding character wheel number is obtained by checking the word wheel digital and the coded data comparison table, which is controlled by the single chip control circuit.
- the communication socket outputs the character wheel indication number in a serial manner, and realizes the function of reading the mechanical character wheel counter indication value in a non-contact manner.
- the fiber positioning holes (7) on the bracket (5) and the out bracket (5) and the seven phototransistors on the circuit board (3) are designed (see Fig. 4).
- the length of the reflective segment and the non-reflective segment is the angular amount of the circle of the character wheel
- the segment length set is ⁇ 8.6, 21.4, 34.3, 47.1, 60, 72.9, 90 ⁇
- All the light-emitting diodes (2) emit light, respectively detecting the output level of the phototransistor (1' ⁇ , when the fiber positioning hole (7) is located above the reflective section, the output level of the phototransistor (1) is 1, when the fiber When the positioning hole (7) is located above the non-reflective section, the output level of the phototransistor (1) is 0, and the output levels of all the phototransistors (1) are as shown in Figure 1, D6, D5, D4, D3, D2, Dl The order of the DOs is arranged in a hexadecimal coded data. When the word wheel is rotated one week, the coded data output by the phototransistor is as follows: . 0 1 3 7 F IF 3F 7F 7E 7C 7D 79 7B 73 72 76 66 64 6C 4C 48 58 18 10 30 31 21 61 63 43 42 46 6 4 CD 9 19 IB 13
- the word wheel digital and coded data comparison table is stored in the single chip microcomputer, and the signal processing circuit of the sensor is used to read the coded data of the sensor, and the word wheel number of the ⁇ is obtained by checking the word wheel digital and the coded data comparison table, by the single chip control circuit
- the character wheel indicator number is serially output via the communication socket, and the function of reading the mechanical character wheel counter indication value in a non-connected manner is realized.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Optical Transform (AREA)
Abstract
A contactless read out sensor for mechanical character wheel counter in which a theory about light reaction is utilized to convert light signals into electrical signals coded data, hence realizes readout an indication value of the character wheel of the mechanical character wheel counter in the form of noncontact. A phototriode (1) and a light emitting diode (2) and a signal processing circuit are installed at a circuit board on the upside of a bracket (5). There is a fiber fixing hole (7) underneath the bracket. The fiber (4) is connected between the phototriode (1) and the light emitting diode (2) and the fiber fixing hole (7) and served for an optical path. The character wheel is installed under the bracket and reflecting light strips are attached to the character wheel, to read out a coded data of the phototriode in scanning form; then look up a check list for the character wheel (8) number and the coded data by means of a singlechip, and the coded data is converted into a indication number of the character wheel counter, and output through a serial communication port.
Description
技术领域: Technical field:
本发明涉及测量技术中数据识别技术领域, 确切地说它是一种机械字轮计数器非接触读 数传感器和该传感器的设计方法。 The present invention relates to the field of data recognition technology in measurement technology, and more specifically to a mechanical character wheel counter non-contact reading sensor and a method of designing the same.
背景技术: Background technique:
机械转轮式计数器广泛应用于水表、 电表、 气表、 里程表以及其它累计式计量仪表上, 由于其结构简单及工作可靠而稳定,在相当一段历史时期内',都是一个不可替代的计量方式。 然而, 由于技术的发展, 很多场所要求该计量仪器能以电子数字化方式输出计量结果, 以便 加以远程传输或直接送到电脑进行数据处理, 而这类仪表由于没有相应的电子数字化输出设 备。 Mechanical rotary counters are widely used in water meters, electric meters, gas meters, odometers and other accumulative measuring instruments. Due to their simple structure and reliable operation, they are an irreplaceable measurement in a considerable period of history. the way. However, due to the development of technology, many places require that the measuring instrument can electronically output the measurement results for remote transmission or directly to the computer for data processing, and such instruments do not have corresponding electronic digital output devices.
发明内容: Summary of the invention:
本发明的目的是提供一种机械字轮计数器非接触读数传感器, 它利用光反射原理, 根据 安装在字轮表面上的反光条的光反射信号强弱, 通过电¾ 理将反射光信号转换成字轮旋转 角度对应的电信号编码数据, 从而实现非接触方式读取 ' 械式字轮计数器字轮指示数值的功 能。 它包括字轮、 光纤固定孔、 支架、 反光条、 电路 光纤、 发光二极管、 光电三极管和 信号处理电路, 其特征在于: 支架(5)上部电路板( ;ϋι装有光电三极管(1) 、 发光二极 管(2 )和信号处理电路, 支架 (5)开有光纤固定孔(7')〔:'光电三极管(1)和发光二极管(2) 与支架 (5) 的光纤固定孔 (7 )之间采用光纤 (4) 作为光通道, 且每个光纤固定孔(7 )内 并列安装 2根光纤, 其中 1根与光电三极管连接, 1根'与发光二极管连接, 支架( 5) 下部装 有字轮 (8 ) , 字轮 (8) 上贴有反光条(6) 。 信号处 ^电路包括单片机控制电路和多路开 关电路如图 7所示,光电三极管的输出端与多路开关的输入端相连,单片机控制电路的 A、 B、 C端与多路开关的地址选择端 A、 B、 C相连, 多路开关 ¾输出端 X与单片机控制电路的 AD - IN 端相连,单片机控制电路的 C0N1端与发光二极管的阴极' 连,单片机控制电路首先拉低 C0N1 端使发光二极管发光照亮字轮上的反光条, 单片机以扫^方式依次控制多路开关的 A、 B、 C 地址选择端, 由 AD-IN端将对应的光电三极管的输出信号读入单片机内组合成编码数据, 再 由单片机字轮数字与编码数据对照表将编码数据转换成字轮计数器指示数字, 通过串行通讯 插座输出。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a mechanical character wheel counter non-contact reading sensor which utilizes the principle of light reflection to convert a reflected light signal into a light signal according to the intensity of the light reflected signal of the reflective strip mounted on the surface of the character wheel. The electrical signal corresponding to the rotation angle of the character wheel encodes data, thereby realizing the function of reading the indicated value of the mechanical character wheel counter wheel in a non-contact manner. It comprises a character wheel, a fiber fixing hole, a bracket, a reflective strip, a circuit fiber, a light emitting diode, a phototransistor and a signal processing circuit, and is characterized in that: the upper circuit board of the bracket (5) ( ; ι is equipped with a phototransistor (1), illuminating Diode (2) and signal processing circuit, the bracket (5) is provided with a fiber fixing hole (7') [ : 'phototransistor (1) and the light-emitting diode (2) and the fiber fixing hole (7) of the bracket (5) The optical fiber (4) is used as the optical channel, and two optical fibers are arranged side by side in each of the optical fiber fixing holes (7), one of which is connected to the phototransistor, one is connected to the light emitting diode, and the lower part of the bracket (5) is provided with a character wheel. (8), the character wheel (8) is affixed with a reflective strip (6). The signal circuit includes a single-chip control circuit and a multi-switch circuit as shown in Figure 7. The output of the phototransistor is connected to the input of the multiplexer. The A, B, and C terminals of the MCU control circuit are connected to the address selection terminals A, B, and C of the multiplexer, and the multiplexer 3⁄4 output terminal X is connected to the AD-IN terminal of the MCU control circuit, and the C0N1 terminal of the MCU control circuit is connected. With glowing two The cathode of the tube is connected, and the control circuit of the single chip first lowers the C0N1 end to make the LED illuminate the reflective strip on the character wheel. The MCU sequentially controls the A, B, and C address selection ends of the multi-way switch by the AD method. The IN terminal reads the output signal of the corresponding phototransistor into the encoded data in the single-chip microcomputer, and then converts the encoded data into a character wheel counter indicating number by the single-character word wheel digital and encoded data comparison table, and outputs it through the serial communication socket.
光电三极管和发光二极管的数量根据不同的应用需求确定, 光电三极管越多传感器的体 积越小, 而对应不同的光电三极管数量, 相邻两个光纤 '固定孔之间具有确定的夹角; 本发明
提出的相邻两个光纤固定孔之间夹角的计算方法和步骤如下: The number of phototransistors and light-emitting diodes is determined according to different application requirements. The more the phototransistor, the smaller the volume of the sensor, and corresponding to the number of different phototransistors, the adjacent two optical fibers have a certain angle between the fixed holes; the present invention The calculation method and steps of the proposed angle between two adjacent fiber fixing holes are as follows:
(1) 根据设计需求选定每个字轮对应的光电三极管的数量 N; (1) According to the design requirements, select the number N of phototransistors corresponding to each character wheel;
(3) 光纤固定孔的数量与光电三极管数量 N相 ; , (3) The number of optical fiber fixing holes and the number of phototransistors N phase;
在确定了光电三极管数量和相邻两个光纤固定孔之间夹角后, 就有一组特定长度的黑白 相间的反光条与其对应, 反光条各段长度的计算方法和步骤如下- After determining the angle between the number of phototransistors and the adjacent two fixed holes of the optical fiber, there is a set of black and white reflective strips of a specific length corresponding thereto. The calculation method and steps of the lengths of the reflective strips are as follows -
(1) 反光段和非反光段的长度以字轮圆心夹角度量; (1) The length of the reflective segment and the non-reflective segment is the angular amount of the circle of the character wheel;
(2) 每段长度是由 aMK=360X (K±l/M) ÷[(N- 3)' N]所确定的角度和 α。=360÷ (N-3) 所确定的角度组合构成, 其中 Κ=】、 2、 3··· (Ν- 1), M^3V¾-N, N为光电三极管数量。 (2) The length of each segment is the angle and α determined by a MK = 360X (K ± l / M) ÷ [(N - 3) ' N]. =360÷ (N-3) The combination of angles determined, where Κ=], 2, 3··· (Ν-1), M^3V3⁄4-N, N is the number of phototransistors.
(3) 全部反光段和非反光段的角度之和等于 360度 V (3) The sum of the angles of all the reflective segments and the non-reflective segments is equal to 360 degrees V
(4) 验证字轮旋转一周时, 由光电传感器读出的所有数据没有重复数据; (4) When the verification character wheel rotates one week, all data read by the photoelectric sensor has no duplicate data;
(5) 将(4) 中确定的数据与字轮计数器的字轮指示數字对应起来构成字轮数字与编码 数据对照表, 并将该对照表保存在图 7所示的信号处連电^的单片机内。 (5) Corresponding the data determined in (4) with the character wheel indicator number of the character wheel counter to form a table of numbers and coded data, and storing the comparison table at the signal shown in FIG. Inside the microcontroller.
(6) 采用图 7所示的信号处理电路读出传感器的 ¾出信号, 通过查字轮数字与编码数 据对照表得到对应的字轮指示数字, 单片机控制电路经 6、逋讯插座以 '串行方式输出字轮指示 数字。 :'"Ί'' (6) Using the signal processing circuit shown in Figure 7 to read out the 3⁄4 out signal of the sensor, and obtain the corresponding character wheel indication number by checking the word wheel digital and the encoded data comparison table, and the MCU control circuit is passed through the string of 6 The line mode output word wheel indicates the number. :'" Ί ''
本发明的优点是: 可以实现数据远程传输, 不需要莲¾供电电源, 准确性高, 使用方便, 寿命长, 不会产生累积误差, 实现了非接触方式读取机械式字轮计数器指示数值的功能。 The invention has the advantages that: the data can be remotely transmitted, the lotus power supply is not needed, the accuracy is high, the use is convenient, the service life is long, and the accumulated error is not generated, and the non-contact type reading of the mechanical character wheel counter indication value is realized. Features.
附图说明: BRIEF DESCRIPTION OF THE DRAWINGS:
图 1 为本发明传感器实施例 1的结构示意图。 ; ' ' Fig. 1 is a schematic structural view of a sensor embodiment 1 of the present invention. ; ' '
图 2 为本发明传感器中实施例 1的光纤固定孔之间夹角分布示意图。 2 is a schematic view showing the angular distribution between the fixing holes of the optical fiber of Embodiment 1 in the sensor of the present invention.
图 3 为本发明传感器中实施例 1的一种反光条的 希示意图。 ' Fig. 3 is a schematic view showing a reflective strip of the embodiment 1 of the sensor of the present invention. '
图 4 为本发明传感器实施例 2的结构示意图。 ' : Fig. 4 is a schematic structural view of a sensor embodiment 2 of the present invention. ' :
图 5为本发明传感器中实施例 2的光纤固定孔之 | 夹角分布示意图。 Fig. 5 is a schematic view showing the angle distribution of the optical fiber fixing hole of the embodiment 2 in the sensor of the present invention.
图 6为本发明传感器中实施例 2的一种反光条的分布示意图。 Fig. 6 is a schematic view showing the distribution of a reflective strip of Embodiment 2 of the sensor of the present invention.
图 7 为本发明传感器中实施例 1和实施例 2的信号处理电路图。 Figure 7 is a diagram showing the signal processing circuit of Embodiment 1 and Embodiment 2 in the sensor of the present invention.
具体实施方式: detailed description:
实施例 1: Example 1:
在 8只光电三极管传感器上应用。 Applied on 8 phototransistor sensors.
支架和电路板的设计: Bracket and board design:
(1) 确定每个字轮对应的光电三极管的数量 N=8 (见附图 1);
(2) 计算相邻两光纤固定孔之间的夹角:(1) Determine the number of phototransistors corresponding to each character wheel N=8 (see Figure 1); (2) Calculate the angle between the adjacent two fiber fixing holes:
=360÷[(8-3) Χ8]= 9度; =360÷[(8-3) Χ8]= 9 degrees;
(3) 光纤固定孔的数量为 8个, 间隔角度为 9度 (见附图 2); (3) The number of fiber fixing holes is 8 and the interval angle is 9 degrees (see Figure 2);
根据以上方法设计出支架 (5) 和支架 (5)上的光纤定位孔 (7) 并且电路板 (3) 上装 有 8只光电三极管 (见附图 1)。 反光条的设计: According to the above method, the fiber positioning holes (7) on the bracket (5) and the bracket (5) are designed and 8 phototransistors are mounted on the circuit board (3) (see Fig. 1). Reflective strip design:
(1) 反光段和非反光段的长度以字轮圆心夹角度量; (1) The length of the reflective segment and the non-reflective segment is the angular amount of the circle of the character wheel;
(2) 每段长度计算 - α ΗΚ=360 X (K+l/M) ÷[ (N_3) xN] (2) Calculation of length per segment - α ΗΚ =360 X (K+l/M) ÷[ (N_3) xN]
a 0=360 ÷ (N- 3) . N=8; M=5; K=l、 2、 3、 4、 5、 6、 7时: a 0 =360 ÷ (N- 3) . N=8; M=5; K=l, 2, 3, 4, 5, 6, 7:
a5]= 360 X (1+1/5) ÷ [ (8-3) x8]= 10.8a 5] = 360 X (1+1/5) ÷ [ (8-3) x8]= 10.8
52= 19.8 5 2 = 19.8
a 28.8 a 28.8
a 54= 37.8 a 54 = 37.8
a 55= 46.8 a 55 = 46.8
a M= 55.8 a M = 55.8
a 57= 64.8 a 57 = 64.8
a O=360 ÷ (N-3) -360/5=72 a O =360 ÷ (N-3) -360/5=72
段长度集合为 {10.8" , 19.8U , 28. S, 37.8" , 46.8" , 55.8"·, 64.8", 72' } The set of segment lengths is {10.8" , 19.8 U , 28. S, 37.8" , 46.8" , 55.8"·, 64.8", 72' }
(3) 满足全部反光段和非反光段的角度之和等于 360度条件的段长度组合为: (3) The length of the segment that satisfies the condition that the sum of the angles of all the reflective segments and the non-reflective segments is equal to 360 degrees is:
72+72+37.8+37.8+28.8+28.8+19.8+19.8+10.8+10.8+10.8+10.8=360 72+72+37.8+37.8+28.8+28.8+19.8+19.8+10.8+10.8+10.8+10.8=360
(4) 验证字轮旋转一周时, 由光电传感器读出的所有数据没有重复数据: (4) When the verification character wheel rotates one week, all data read by the photoelectric sensor has no duplicate data:
当各段长组合按以下顺序组合时, 光电三极管的输出信号无重复数据。 {72°、 72°、 37.8。、 19.8。、 28.8°、 10.8 19.8。、 37.80、 10.8。、 28.8。、 10.8。、 10.8。} (见图 3)When the length combinations of the segments are combined in the following order, the output signals of the phototransistors have no duplicate data. {72°, 72°, 37.8. 19.8. 28.8°, 10.8 19.8. , 37.8 0 , 10.8. 28.8. 10.8. 10.8. } (see Figure 3)
(5) 验证方法如下: (5) The verification method is as follows:
全部发光二极管 (2) 发光, 分别检测光电三极管 (1) 的输出电平, 当光纤定位孔 (7) 位于反光段上方时, 光电三极管 (1) 的输出电平为 1, '当光纤定位孔 (7) 位于非反光段上 方时, 光电三极管 (1) 的输出电平为 0, 将全部光电三 1极管 (1) 的输出电平按图 1中 D7、 D6、 D5、 D4、 D3、 D2、 Dl、 DO的顺序排列成一个十六进 ^编码数据, 字轮旋转一周时, 光电
三极管依次输出的编码数据如下: All the light-emitting diodes (2) emit light, respectively detecting the output level of the phototransistor (1). When the fiber positioning hole (7) is located above the reflective section, the output level of the phototransistor (1) is 1, 'When the fiber positioning hole output level (7) is positioned above the non-reflective section, the phototransistor (1) of the output level to 0, all the photoelectric three-pole tube (1) according to D7 of FIG. 1, D6, D5, D4, D3, The order of D2, Dl, and DO is arranged into a hexadecimal coded data. When the character wheel rotates one week, the photoelectric The encoded data output by the triode in sequence is as follows:
0 1 3 7 F IF 3F 7F FF FE FC F8 FO EO El CI C3 83 87 86 0 1 3 7 F IF 3F 7F FF FE FC F8 FO EO El CI C3 83 87 86
6 E C 1C 18 38 30 31 71 61 63 62 E2 C2 C6 C4 84 8C 88 89 6 E C 1C 18 38 30 31 71 61 63 62 E2 C2 C6 C4 84 8C 88 89
9 19 11 13 33 23 27 67 47 4F CF 8F 9F 9E IE 3E 3C 3D 7D 79 9 19 11 13 33 23 27 67 47 4F CF 8F 9F 9E IE 3E 3C 3D 7D 79
7B FB F3 F7 E7 EF EE CE DE DC DD 9D BD B9 BB BA 3A 7A 72 76 7B FB F3 F7 E7 EF EE CE DE DC DD 9D BD B9 BB BA 3A 7A 72 76
74 F4 E4 EC E8 C8 D8 DO 90 BO AO 20 60 40 CO 80 74 F4 E4 EC E8 C8 D8 DO 90 BO AO 20 60 40 CO 80
全部 96个编码数据中无重复数据, 证明 (图 3) 所示.的段长组合为一组有效组合。 在字 轮旋转一周产生上述数据的同时, 也产生出以下字轮数字与编码数据对照表。 There is no duplicate data in all 96 encoded data, which proves that the segment lengths shown in (Figure 3) are a set of valid combinations. While the above data is generated by rotating the word wheel for one week, the following table of characters and coded data is also generated.
将字轮数字与编码数据对照表保存在单片机内, 采用图 7 的信号处理电路读出传感器的 编码数据, 通过查字轮数字与编码数据对照表得到对应的字轮数字, 由单片机控制电路经由 通讯插座以串行方式输出字轮指示数字, 实现了非接触方式读取机械式字轮计数器指示数值 的功能。 ' The word wheel digital and coded data comparison table is stored in the single chip microcomputer, and the signal processing circuit of FIG. 7 is used to read the coded data of the sensor, and the corresponding character wheel number is obtained by checking the word wheel digital and the coded data comparison table, which is controlled by the single chip control circuit. The communication socket outputs the character wheel indication number in a serial manner, and realizes the function of reading the mechanical character wheel counter indication value in a non-contact manner. '
实施例 2 : Example 2:
在 7只光电三极管传感器上应用。 Applied on 7 phototransistor sensors.
支架和电路板的设计: Bracket and board design:
( 1 ) 确定每个字轮对应的光电三极管的数量 N=7 (见附图 4);
(2) 计算相邻两光纤固定孔之间的夹角: (1) Determine the number of phototransistors corresponding to each character wheel N=7 (see Figure 4); (2) Calculate the angle between the adjacent two fiber fixing holes:
α =360 ÷ [(7-3) x7]= 360 + 28=12.9度; α = 360 ÷ [(7-3) x7]= 360 + 28=12.9 degrees;
C3) 光纤固定孔的数量为 7个, 间隔角度为 12.9度 (见附图 5); C3) The number of fiber fixing holes is 7 and the interval angle is 12.9 degrees (see Figure 5);
根据以上方法设计出支架 (5) 和出支架 (5)上的光纤定位孔 (7) 以及电路板 (3) 上 装有 7只光电三极管 (见附图 4)。 反光条的设计: According to the above method, the fiber positioning holes (7) on the bracket (5) and the out bracket (5) and the seven phototransistors on the circuit board (3) are designed (see Fig. 4). Reflective strip design:
(1) 反光段和非反光段的长度以字轮圆心夹角度量; (1) The length of the reflective segment and the non-reflective segment is the angular amount of the circle of the character wheel;
(2) 每段长度计算: (2) Calculation of each length:
α ΜΚ=360 X (K-l/M) ÷ [ (N- 3) N] α ΜΚ =360 X (Kl/M) ÷ [ (N- 3) N]
a 0=360 ÷ (N-3) a 0 =360 ÷ (N-3)
N=7; M=3; K=l、 2、 3、 4、 5、 6时: N=7; M=3; K=l, 2, 3, 4, 5, 6:
A31= 360 X (1-1/3) ÷ [ (7-3) X7]=8.6; A 31 = 360 X (1-1/3) ÷ [ (7-3) X7]=8.6 ;
a:«= 21.4; a:«= 21.4;
a 33= 34.3; a 33 = 34.3;
a 47.1; a 47.1;
a 60.0; a 60.0;
a 36= 72.9; a 36 = 72.9;
0=360 ÷ (N-3) =360/4-90; . 0=360 ÷ (N-3) =360/4-90;
段长度集合为 {8.6, 21.4, 34.3, 47.1, 60, 72.9, 90} The segment length set is {8.6, 21.4, 34.3, 47.1, 60, 72.9, 90}
(3) 满足全部反光段和非反光段的角度之和等于 360度条件的段长度组合为: (3) The length of the segment that satisfies the condition that the sum of the angles of all the reflective segments and the non-reflective segments is equal to 360 degrees is:
90+90+47.4+47.4+21.4+21.4+21.4+21.4=360 90+90+47.4+47.4+21.4+21.4+21.4+21.4=360
(4) 验证字轮旋转一周时, 由光电传感器读出的所有数据没有重复数据- 当各段长组合按以下顺序组合时, 光电三极管的 '输出信号无重复数据。 {90°, 21.4。, 21.4。, 21.4°, 47.1° , 47.1°, 21.4。, 90。} (见图 6) ' ■ (4) When the verification word wheel rotates one revolution, all data read by the photoelectric sensor has no duplicate data - when the length combinations of the segments are combined in the following order, the output signal of the phototransistor has no duplicate data. {90°, 21.4. , 21.4. , 21.4°, 47.1°, 47.1°, 21.4. , 90. } (see Figure 6) ' ■
(5)验证方法如下: (5) The verification method is as follows:
全部发光二极管 (2) 发光, 分别检测光电三极管 (1'Γ的输出电平, 当光纤定位孔 (7) 位于反光段上方时, 光电三极詧 (1) 的输出电平为 1, 当光纤定位孔 (7)位于非反光段上 方时, 光电三极管 (1) 的输出电平为 0, 将全部光电三极管 (1) 的输出电平按图 1中 D6、 D5、 D4、 D3、 D2、 Dl、 DO的顺序排列成一个十六进制编码数据, 字轮旋转一周时, 光电三极 管依次输出的编码数据如下: . ·'
0 1 3 7 F IF 3F 7F 7E 7C 7D 79 7B 73 72 76 66 64 6C 4C 48 58 18 10 30 31 21 61 63 43 42 46 6 4 C D 9 19 IB 13 All the light-emitting diodes (2) emit light, respectively detecting the output level of the phototransistor (1'Γ, when the fiber positioning hole (7) is located above the reflective section, the output level of the phototransistor (1) is 1, when the fiber When the positioning hole (7) is located above the non-reflective section, the output level of the phototransistor (1) is 0, and the output levels of all the phototransistors (1) are as shown in Figure 1, D6, D5, D4, D3, D2, Dl The order of the DOs is arranged in a hexadecimal coded data. When the word wheel is rotated one week, the coded data output by the phototransistor is as follows: . 0 1 3 7 F IF 3F 7F 7E 7C 7D 79 7B 73 72 76 66 64 6C 4C 48 58 18 10 30 31 21 61 63 43 42 46 6 4 CD 9 19 IB 13
33 37 27 67 6F 4F 4E 5E IE 1C 3C 38 78 70 60 40 33 37 27 67 6F 4F 4E 5E IE 1C 3C 38 78 70 60 40
全部 56个编码数据中无重复数据, 证明 (图 6)所示的段长组合为一组有效组合。 在字 轮旋转一周产生上述数据的同时, 也产生出以下字轮数字与编码数据对照表。 There is no duplicate data in all 56 encoded data, which proves that the segment lengths shown in Figure 6 are combined into a set of valid combinations. While the above data is generated by rotating the word wheel for one week, the following table of characters and coded data is also generated.
将字轮数字与编码数据对照表保存在单片机内, 采用 ¾ 7的信号处理电路读出传感器的 编码数据, 通过査字轮数字与编码数据对照表得到对^的字轮数字, 由单片机控制电路经由 通讯插座以串行方式输出字轮指示数字, 实现了非接 方式读取机械式字轮计数器指示数值 的功能。
The word wheel digital and coded data comparison table is stored in the single chip microcomputer, and the signal processing circuit of the sensor is used to read the coded data of the sensor, and the word wheel number of the ^ is obtained by checking the word wheel digital and the coded data comparison table, by the single chip control circuit The character wheel indicator number is serially output via the communication socket, and the function of reading the mechanical character wheel counter indication value in a non-connected manner is realized.
Claims
1、一种机械字轮计数器非接触读数传感器,它包括字轮(8 )、光纤固定孔 (7)、支架(5)、 反光条(6)、 电路板 (3)、 光纤(4)、 发光二极管 (2)和光电三极管 (1 ), 其特征在于: 支 架 (5) 上部电路板 (3) 上装有光电三极管 (1 ) 、 发光二极管 (2 ) 和信号处理电路, 支 架(5)开有光纤固定孔(7 ), 光电三极管(1 )和发光二极管与支架(5)的光纤固定孔(7 ) 之间采用光纤(4)作为光通道, 且每个光纤囿定孔 (7 )内并列安装 2根光纤, 其中 1根与 光电三极管(1)连接, i根与发光二极管(2)连接, 支架(5)下部装有字轮(8 ) , 字轮(8) 上贴有反光条 (6) 。 1. A mechanical character wheel counter non-contact reading sensor comprising a character wheel (8), a fiber fixing hole (7), a bracket (5), a reflective strip (6), a circuit board (3), an optical fiber (4), The light emitting diode (2) and the phototransistor (1) are characterized in that: the upper circuit board (3) of the bracket (5) is provided with a phototransistor (1), a light emitting diode (2) and a signal processing circuit, and the bracket (5) is opened. The optical fiber fixing hole (7), the phototransistor (1) and the light-emitting diode and the fiber fixing hole (7) of the bracket (5) adopt an optical fiber (4) as an optical channel, and each fiber fixing hole (7) is juxtaposed Install 2 fibers, one of which is connected to the phototransistor (1), the i is connected to the LED (2), the lower part of the bracket (5) is equipped with a character wheel (8), and the character wheel (8) is affixed with a reflective strip ( 6).
2、 根据权利要求 1 所述的一种机械字轮计数器非接触读数传感器, 其特征在于: 光纤 固定孔 (7) 的中心线沿字轮外周法线方向与字轮同心等间隔均布。 2. A mechanical character wheel counter non-contact reading sensor according to claim 1, wherein: the center line of the optical fiber fixing hole (7) is evenly spaced at equal intervals from the word wheel in the normal direction of the outer circumference of the character wheel.
3、 根据权利要求 1 所述的一种机械字轮计数器非接触读数传感器, 其特征在于: 光纤 (4)连接在光电三极管 (1 )、 发光二极管 (2) 与光纤固定孔 (7) 之间作为光通道。 3. A mechanical character wheel counter non-contact reading sensor according to claim 1, wherein: the optical fiber (4) is connected between the phototransistor (1), the light emitting diode (2) and the fiber fixing hole (7). As a light channel.
4、 根据权利要求 1 所述的一种机械字轮计数器非接触读数传感器, 其特征在于: 字轮 (8 ) 上的反光条 (6) 以黑白相间的反光段和非反光段构成。 4. A mechanical character wheel counter non-contact reading sensor according to claim 1, wherein: the reflective strip (6) on the character wheel (8) is formed by a black and white reflective segment and a non-reflective segment.
5、 根据权利要求 1 所述的一种机械字轮计数器非接触读数传感器, 其特征在于: 信号 处理电路包括单片机控制电路和多路开关电路, 光电三极管的输出端与多路开关的输入端相 连, 单片机控制电路的 A、 B、 C端与多路开关的地址逸择 ¾ A、 B、 C相连, 多路开关的输出 端 X与单片机控制电路的 AD-IN端相连,单片机控制电¾的 C0N1端与发光二极管的阴极相连, 单片机控制电路首先拉低 C0N1端使发光二极管发光照亮字轮上的反光条,单片机以扫描方式 依次控制多路幵关的 A、 B、 C地址选择端, 由 AD- IN端将对应的光电三极管的输出信号读入 单片机内组合成编码数据, 再由单片机字轮数字与编码数据对照表将编码数据转换成字轮计 数器指示数字, 通过串行通讯插座输出。 ' 5. The mechanical character wheel counter non-contact reading sensor according to claim 1, wherein: the signal processing circuit comprises a single chip control circuit and a multi-way switch circuit, and an output end of the phototransistor is connected to the input end of the multi-way switch. The A, B, and C terminals of the MCU control circuit are connected to the address selection of the multiplexer 3⁄4 A, B, C. The output terminal X of the multiplexer is connected to the AD-IN terminal of the MCU control circuit, and the MCU controls the power. The C0N1 end is connected to the cathode of the LED, and the MCU control circuit first lowers the C0N1 end to make the LED illuminate the reflective strip on the character wheel, and the MCU sequentially controls the A, B, and C address selection ends of the multi-channel switch by scanning mode. The output signal of the corresponding phototransistor is read into the coded data by the AD-IN terminal, and the coded data is converted into the word wheel counter indication number by the single-character word wheel digital and coded data comparison table, and output through the serial communication socket. . '
6、 根据权利要求 1 所述的一种机械字轮计数器非接触读数传感器, 其特征在于: 所述 传感器中的光电三极管(1 ) 的数量和支架(5)上各光纤固定孔(7)之间的夹角采用以下计 算方法和步骤: ' ·'·'· 6. The mechanical character wheel counter non-contact reading sensor according to claim 1, wherein: the number of the phototransistors (1) in the sensor and the fixing holes (7) of the optical fibers on the bracket (5) The following calculation methods and steps are used: ' ·'·'·
( 1 ) 根据设计需求选定每个字轮对应的光电三椽管 (1)的数量 N; (1) selecting the number N of photoelectric three-tubes (1) corresponding to each character wheel according to design requirements;
(2) 支架(5)上相邻两光纤固定孔〈7)之间的夹角' a =360 ÷ [ (N-3) xN] ; (2) The angle between adjacent two fiber fixing holes <7) on the bracket (5) 'a = 360 ÷ [ (N-3) xN] ;
(3) 支架 (5)的光纤固定孔 (7)的数量与光电三极管 (1)的数量 N相等;
7、根据权利要求 1或 4所述一种机械字轮计数器非接 读数传感器, 其特征在于: 所述 的黑白相间的反光段和非反光段的角度采用以下计算方法和步骤: (3) The number of fiber fixing holes (7) of the bracket (5) is equal to the number N of the phototransistors (1); 7. The non-contact reading sensor for a mechanical character wheel counter according to claim 1 or 4, wherein: the angles of the black and white reflective segments and the non-reflective segments are as follows:
( 1 ) 反光段和非反光段的角度以字轮圆心夹角度量; (1) The angle between the reflective segment and the non-reflective segment is increased by the angle of the circle of the character wheel;
(2) 每段长度是由 360 x (K±l/M) ÷ [ (N-3 ) XN]所确定的角度和 360 ÷ N所确定的 角度组合构成, 其中 K=l、 2、 3··'· (Ν- 1), Μ=3、 4-Ν, Ν为光电三极管数量。 (2) Each length is composed of an angle determined by 360 x (K±l/M) ÷ [ (N-3 ) XN] and an angle determined by 360 ÷ N, where K = 1, 2, 3 · ·'· (Ν-1), Μ=3, 4-Ν, Ν is the number of phototransistors.
(3) 全部反光段和非反光段的角度之和等于 360度; (3) The sum of the angles of all the reflective segments and the non-reflective segments is equal to 360 degrees;
(4) 验证字轮旋转一周时, 由光电传感器读出的所有数据没有重复数据。 (4) When the verification word wheel is rotated one revolution, all data read by the photoelectric sensor has no duplicate data.
( 5) 将 (4) 中确定的数据与字轮计数器的字轮指 ί [字对应起来构成字轮数字与编码 数据对照表。 (5) Correspond to the data determined in (4) and the word wheel of the character wheel counter [words to form a table of numbers and coded data.
(6) 采用图 7所示的传感器信号处理电路读出 ^器的编码数据, 通过査字轮数字与 编码数据对照表得到字轮指示数字, 由单片机控制电路经 通讯插座以串行方式输出字轮指 示数字。
(6) Using the sensor signal processing circuit shown in Fig. 7 to read the coded data of the device, and obtain the word wheel indication number by checking the word wheel digital and the coded data comparison table, and outputting the word serially by the single chip control circuit via the communication socket. The wheel indicates the number.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610046364A CN1835002B (en) | 2006-04-24 | 2006-04-24 | Non-contact reading sensor of mechanical character wheel counter and its design method |
CN200610046364.9 | 2006-04-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007121620A1 true WO2007121620A1 (en) | 2007-11-01 |
Family
ID=37002731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2006/001122 WO2007121620A1 (en) | 2006-04-24 | 2006-05-29 | A contactless read out sensor for mechanical character wheel counter |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN1835002B (en) |
WO (1) | WO2007121620A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101708678B (en) * | 2009-12-08 | 2011-01-26 | 昆明理工大学 | Light-weight solar automobile automatic side-tipping device with shock absorption function |
CN106908109A (en) * | 2017-04-01 | 2017-06-30 | 鞍山晨晖光电科技有限公司 | A kind of combustion gas meter degree code-disc and metering method |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013478B (en) * | 2007-01-25 | 2010-09-08 | 孙小唐 | Electronic numerical transformation method for electromechanical counter |
CN101308550B (en) * | 2008-07-04 | 2010-09-29 | 姜玉明 | Counting digit wheel radial transmitting photoelectric direct-reading apparatus of long distance transmitting meter |
CN101901370B (en) * | 2010-07-21 | 2013-03-13 | 昆明佳晓自来水工程技术有限公司 | Meter reading encoding character wheel device and encoding method thereof |
CN103471640A (en) * | 2013-09-06 | 2013-12-25 | 刁宇浩 | Numerical code direct reader of intelligent meter |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60110092A (en) * | 1983-11-21 | 1985-06-15 | Ricoh Co Ltd | Counter |
JPS63123187A (en) * | 1986-11-12 | 1988-05-26 | Marugo:Kk | Device for resetting to zero for trip meter |
CN2175416Y (en) * | 1993-05-15 | 1994-08-24 | 浙江大学 | Device for quick measuring distribution of light in a three-D space |
CN2426601Y (en) * | 2000-05-19 | 2001-04-11 | 孟庆强 | Digital dial photoelectric reader |
CN2428756Y (en) * | 2000-06-28 | 2001-05-02 | 郑洪� | Electromechanical reading-coding register |
CN1344910A (en) * | 2001-10-10 | 2002-04-17 | 杭州竞达电子有限公司 | Absolute meter reading encoding method |
CN2509566Y (en) * | 2001-11-15 | 2002-09-04 | 周耀良 | Digital sensor of print wheel code wheel reading |
CN2544353Y (en) * | 2002-04-30 | 2003-04-09 | 刘明姣 | Contactless read out device for machanical character wheel counter |
CN2578794Y (en) * | 2002-04-09 | 2003-10-08 | 苑颐萍 | Intellectual metering instrument |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3721806A (en) * | 1971-11-26 | 1973-03-20 | Gulf Research Development Co | Digital encoder for mechanical counters |
CN1147821C (en) * | 2000-04-23 | 2004-04-28 | 孙小唐 | Electronic digitalizing read method of mechanical runner counter |
-
2006
- 2006-04-24 CN CN200610046364A patent/CN1835002B/en not_active Expired - Fee Related
- 2006-05-29 WO PCT/CN2006/001122 patent/WO2007121620A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60110092A (en) * | 1983-11-21 | 1985-06-15 | Ricoh Co Ltd | Counter |
JPS63123187A (en) * | 1986-11-12 | 1988-05-26 | Marugo:Kk | Device for resetting to zero for trip meter |
CN2175416Y (en) * | 1993-05-15 | 1994-08-24 | 浙江大学 | Device for quick measuring distribution of light in a three-D space |
CN2426601Y (en) * | 2000-05-19 | 2001-04-11 | 孟庆强 | Digital dial photoelectric reader |
CN2428756Y (en) * | 2000-06-28 | 2001-05-02 | 郑洪� | Electromechanical reading-coding register |
CN1344910A (en) * | 2001-10-10 | 2002-04-17 | 杭州竞达电子有限公司 | Absolute meter reading encoding method |
CN2509566Y (en) * | 2001-11-15 | 2002-09-04 | 周耀良 | Digital sensor of print wheel code wheel reading |
CN2578794Y (en) * | 2002-04-09 | 2003-10-08 | 苑颐萍 | Intellectual metering instrument |
CN2544353Y (en) * | 2002-04-30 | 2003-04-09 | 刘明姣 | Contactless read out device for machanical character wheel counter |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101708678B (en) * | 2009-12-08 | 2011-01-26 | 昆明理工大学 | Light-weight solar automobile automatic side-tipping device with shock absorption function |
CN106908109A (en) * | 2017-04-01 | 2017-06-30 | 鞍山晨晖光电科技有限公司 | A kind of combustion gas meter degree code-disc and metering method |
CN106908109B (en) * | 2017-04-01 | 2023-12-05 | 鞍山晨晖光电科技有限公司 | Gas meter metering code disc and metering method |
Also Published As
Publication number | Publication date |
---|---|
CN1835002A (en) | 2006-09-20 |
CN1835002B (en) | 2010-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2007121620A1 (en) | A contactless read out sensor for mechanical character wheel counter | |
US4628313A (en) | Apparatus and method for remotely monitoring a utility meter by use of a liquid crystal display | |
WO2019140939A1 (en) | Abrasion detection device for slide bushing of wire rope guide in vertical shaft and detection method thereof | |
CN2919201Y (en) | Direct reading type photoelectric coaxial coding counter of water meter | |
US20070036484A1 (en) | Optical connector | |
US6606906B2 (en) | Digital conversion adapter for magnetically coupled level meters | |
CN2679638Y (en) | Digital display flexible rule having double sensors | |
JPS61111418A (en) | Optical shaft encoder | |
CN2788140Y (en) | Photoelectrical reading decimalized mechanical counter | |
CN203908568U (en) | Reading device of mechanical counter wheel and remote metering device | |
CN106441696A (en) | Telemetering digital pressure gauge | |
CN207036200U (en) | A kind of instrument character wheel device | |
WO2020200009A1 (en) | Intelligent gas meter anti-interference metering system | |
CN2555543Y (en) | Counter | |
CN2282169Y (en) | Photoelectric measurer for conductor length | |
JPH0770000B2 (en) | Meter sensor | |
JP3545120B2 (en) | Integrated rotation speed measurement device and integrated rotation speed measurement method | |
CN101865703A (en) | Coding counter of remote transmission instrument | |
CN218727565U (en) | Universal meter | |
CN1262424A (en) | Sensor for testing rotation of digit wheel and remote-reading system using same | |
CN101122480A (en) | Ternary system clobber-free number wheel code disk sensor | |
CN201772888U (en) | Metering device adopting light reflection information encoding to determine rotational position of character wheel | |
CN2541819Y (en) | Remote transcriber | |
CN2426601Y (en) | Digital dial photoelectric reader | |
US6646731B2 (en) | Flow meter remote reading systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 06742010 Country of ref document: EP Kind code of ref document: A1 |
|
DPE1 | Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101) | ||
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 06742010 Country of ref document: EP Kind code of ref document: A1 |