CN106908109A - A kind of combustion gas meter degree code-disc and metering method - Google Patents
A kind of combustion gas meter degree code-disc and metering method Download PDFInfo
- Publication number
- CN106908109A CN106908109A CN201710211896.1A CN201710211896A CN106908109A CN 106908109 A CN106908109 A CN 106908109A CN 201710211896 A CN201710211896 A CN 201710211896A CN 106908109 A CN106908109 A CN 106908109A
- Authority
- CN
- China
- Prior art keywords
- disc
- meter degree
- code
- degree code
- photoelectric coupling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 239000000567 combustion gas Substances 0.000 title claims abstract description 20
- 238000001514 detection method Methods 0.000 claims abstract description 38
- 239000007789 gas Substances 0.000 claims abstract description 8
- 230000008878 coupling Effects 0.000 claims description 59
- 238000010168 coupling process Methods 0.000 claims description 59
- 238000005859 coupling reaction Methods 0.000 claims description 59
- 230000005764 inhibitory process Effects 0.000 claims description 34
- 230000001737 promoting effect Effects 0.000 claims description 34
- 239000011159 matrix material Substances 0.000 claims description 14
- 230000036581 peripheral resistance Effects 0.000 claims description 6
- 238000004088 simulation Methods 0.000 claims description 6
- 125000004122 cyclic group Chemical group 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 3
- TVEXGJYMHHTVKP-UHFFFAOYSA-N 6-oxabicyclo[3.2.1]oct-3-en-7-one Chemical compound C1C2C(=O)OC1C=CC2 TVEXGJYMHHTVKP-UHFFFAOYSA-N 0.000 description 2
- 230000000750 progressive effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
- G01F15/06—Indicating or recording devices
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
- G01F15/07—Integration to give total flow, e.g. using mechanically-operated integrating mechanism
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Optical Transform (AREA)
Abstract
The present invention provides a kind of this combustion gas meter degree code-disc and metering method.Described meter degree code-disc includes meter degree code-disc and its control board, and described meter degree code-disc is circular configuration, and centre is provided with mounting hole, circumference outer is toothed around, and each two gear teeth are a meter degree code, from 09 arrangements, each code-disc is a metering position, according to metering position (such as:It is individual, when, hundred, thousand, ten thousand) the code-disc quantity of the remote gas meter is set, described meter degree code-disc is provided with the semi arch annular additional one circular loophole for being used for data latch of loophole for Data Detection.Described metering method is the coding method to combustion gas meter degree encoder digital position, and error code rate is considerably reduced during single-chip microcomputer reads coding using the design of this loophole and the coding method of meter degree code-disc.
Description
Technical field
The present invention relates to combustion gas meter degree code-disc and method, more particularly to a kind of combustion gas meter degree code-disc and metering method.
Background technology
General domestic gas table is all mechanical character wheel register, and it can only be as use be checked, if will be to civilian on the spot
Gas meter, flow meter carries out remote meter reading or carries out digital-scroll technique, then need to be improved this gas meter, flow meter, makes the meter number of degrees of register
Word can become electric signal and be transmitted, and could realize remote meter reading and digital-scroll technique.
The method that the existing mechanical character wheel register to gas meter, flow meter is improved is that register is designed into multiple loopholes,
The digit position of register is transformed into electric signal with photoelectric coupling circuit coded system.
At present, many methods are occurred in that in loophole and the coded system design of register, but these methods are all present
Due to alignment error and photoelectric coupling position is inaccurate and other factors are caused error code situation.
The content of the invention
In order to overcome the deficiencies in the prior art, the present invention to provide a kind of combustion gas meter degree code-disc and metering method.Described
Meter degree code-disc employs the semi arch annular additional one circular loophole for being used for data latch of loophole for Data Detection
Design, described metering method is the coding method to combustion gas meter degree encoder digital position, using setting for this loophole
The coding method of meter and meter degree code-disc considerably reduces error code rate during single-chip microcomputer reads coding.
In order to achieve the above object, the present invention is realized using following technical scheme:
A kind of combustion gas meter degree code-disc, including meter degree code-disc and its control board, described meter degree code-disc are tied for circular
Structure, centre is provided with mounting hole, and circumference outer is toothed around, and each two gear teeth are a meter degree code, from 0-9 arrangements, each code-disc
It is a metering position, according to metering position (such as:It is individual, when, hundred, thousand, ten thousand) the code-disc quantity of the gas meter, flow meter is set.
Semi arch annular loophole is provided with described meter degree code-disc disk, is equipped with the range of each meter degree code wheel tooth
Circular loophole.
Described meter degree code-disc control board include singlechip chip, analog switch chip, photoelectric coupling matrix circuit,
Triode row selection circuit and its peripheral resistance and electric capacity.
Described photoelectric coupling matrix circuit is often classified as a metering position, and columns sets according to metering digit, contains in each column
There are six photoelectric coupling unit for promoting inhibition, each photoelectric coupling unit includes a pair of infrarede emitting diodes and phototriode, wherein
Five photoelectric coupling unit for promoting inhibition are Data Detection position, and another photoelectric coupling unit for promoting inhibition is data latched bit.
Described meter degree code-disc control board is arranged as a master board and several detection circuit boards, detects circuit
Plate is arranged on base plate, is connected with master board by signal cable, and each detection circuit board respectively detects a bit code disk position
Data, detection circuit board quantity is configured according to metering position, and described detection circuit board side is provided with half slot, by light thermocouple
Five photoelectric coupling unit for promoting inhibition closed in six photoelectric coupling unit for promoting inhibition of each column in matrix circuit are arranged in a detection circuit board
It is evenly arranged above and by semi-circumference, the semi arch annular loophole with meter degree code-disc is corresponding, carries out Data Detection, another light
It is electrically coupled unit to be arranged in outside semi-circumference, the circular loophole with meter degree code-disc is corresponding, carries out data latch.
The master board of described meter degree code-disc control board is provided with singlechip chip, analog switch chip, three poles
Pipe row selection circuit and its peripheral resistance and electric capacity, the preferred model of described singlechip chip:STM32, analog switch chip
It is preferred that model:CD4051.
Described analog switch chip connects the row output signal of photoelectric coupling matrix circuit by I0/O0-I4/O4 terminals
End, the D7-D9 terminals of singlechip chip are connected by digital output port A0-A2, and the A/D ends of single-chip microcomputer are connected by I5/O5
Son, sends column selection and instructs by the D7-D9 terminals of single-chip microcomputer, and the A0-A2 of analog switch chip receives column selection instruction, detection
The signal condition of each row, sends the data for detecting to by simulation output port I5/O5 the FPDP of singlechip chip
A/D。
Described singlechip chip also passes through FPDP D1-D6 connecting triode row selection circuits, and by triode
Row selection circuit connects the row input of photoelectric coupling matrix circuit, by light in the break-make each row of control for controlling each triode
Whether the infrarede emitting diode for being electrically coupled unit is lit.
A kind of metering method of combustion gas meter degree code-disc, comprises the following steps:
Step one, by the detection circuit board in described meter degree code-disc control board by metering digit order arrange, make
The semi arch center of circle of each detection circuit board is corresponding with the center of circle of each meter degree code-disc, makes the semi arch annular on meter degree code-disc
Loophole is corresponding by five photoelectric coupling unit for promoting inhibition of semi-circumference arrangement with detection circuit board.
Step 2, send a pulse first by the data terminal D1 of singlechip chip, triode switch T1 conductings make each
The infrarede emitting diode electrified light emitting of the photoelectric coupling unit for promoting inhibition of the first row of position is measured, at this moment, if this infraluminescence two
Pole pipe is located in meter degree code-disc semi arch annular loophole, and the phototriode corresponding to it is to receive signal, and signal
It is sent to the I/O receiving terminals of analog switch chip.
Step 3, column selection instruction is sent by the D7-D9 terminals of single-chip microcomputer, the A0-A2 of analog switch chip receives row
After selection instruction, the signal condition of each row is detected, by simulation output port I5/O5 the data for detecting by column selection order
Send the FPDP A/D of singlechip chip to.
Step 4, by above-mentioned steps two and step 3 method successively by the infrared of the second row-fifth line photoelectric coupling unit for promoting inhibition
Light emitting diode is lighted, and its data message is also finally received by the digital input port of single-chip microcomputer successively, is carried out during scanning
Progressive scan, makes photoelectric coupling signal not disturbed by surrounding closing signal, reduces error rate.
Further, while the infrarede emitting diode of the photoelectric coupling unit for promoting inhibition of each row is lighted every time, by monolithic
The D6 terminals of machine send pulse, light the infrarede emitting diode of the photoelectric coupling unit for promoting inhibition of the 6th row, and this control bit is number
According to latched bit, when data latched bit is connected to Continuity signal, the signal that each row are received just is sent to the I/O of analog switch chip
Receiving terminal, data latched bit can make meter degree code-disc just be transmitted signal when going to, it is to avoid when not going to, by
In the signal error for installing the two positions edge for causing.
When data latched bit is connected to signal and the signal that each row are received is sent to the I/O receiving terminals of analog switch chip
Afterwards, single-chip microcomputer terminates the pulse output of one's own profession, and starts the pulse output of next line, it is ensured that the accuracy of data receiver.
Step 5, single-chip microcomputer read the signal condition of all row of a line every time, and are preserved by each row, by signal
Condition adjudgement meter degree code-disc position, and by the position judgment register reading of meter degree code-disc.
Further, meter degree code-disc positional information is encoded and sentenced by the data message whether photoelectric coupling circuit is connected
It is disconnected, preferably carry out following coding.
When the semi arch annular loophole of meter degree code-disc rotates to five infrarede emitting diodes and all exposes, i.e. signal
For 11111 when, be encoded to 0.
Meter degree code-disc carries out rotate counterclockwise, when semi arch annular loophole rotates to the infrarede emitting diode of bottom four
All expose, and uppermost infrarede emitting diode when that is, signal is 01111, is encoded to 1 when being blocked;
By that analogy, meter degree code-disc is position encoded as follows:
This meter degree code-disc and the design of coding method make data conversion when, make code-disc rotate when, every time only
There is a data bit to change, contrast binary cyclic coded system, this coded system is not easily susceptible to disturb and number occurs
According to mistake, error rate is substantially reduced.
Compared with prior art, the beneficial effects of the invention are as follows:
1st, the design of combustion gas meter degree code-disc of the invention and its control board is selected using Single-chip Controlling triode row
Circuit is selected, the time of control row scanning, is only just scanned when needing to check meter, reduce the power consumption of equipment.In addition, scanning
Shi Jinhang is progressively scanned, and photoelectric coupling signal is not disturbed by surrounding closing signal, reduces error rate.
2nd, combustion gas meter degree code-disc of the invention and metering method devise data latched bit, are led when data latched bit is connected to
During messenger, the signal that each row are received just is sent to the I/O receiving terminals of analog switch chip, data latched bit can make meter degree
Just be transmitted for signal when going to by code-disc, it is to avoid when not going to, the two positions edge caused due to installation
Signal error.
3rd, combustion gas meter degree code-disc of the present invention and metering method, the design of the loophole and coding of use make becoming for data
When changing, make code-disc when rotating, each only one of which data bit changes, and contrasts binary cyclic coded system, this volume
Code mode is not easily susceptible to disturb and error in data occurs, and error rate is substantially reduced.
Brief description of the drawings
Fig. 1 is meter degree code-disc structural representation of the invention;
Fig. 2 is detection board structure of circuit schematic diagram of the invention;
Fig. 3 is detection circuit board layout structural representation of the invention;
Fig. 4 is control circuit theory diagrams of the invention;
Fig. 5 is coding principle schematic diagram of the invention.
Wherein:The circle loophole 3- detecting positions semi arch annular loophole 4- mounting holes 5- inspections of 1- gear teeth 2- latched bits
Location photoelectric coupling unit for promoting inhibition 6- latched bit photoelectric coupling unit for promoting inhibition 7- detects circuit board 8- base plates
Specific embodiment
The specific embodiment that the present invention is provided is described in detail below in conjunction with accompanying drawing.
A kind of combustion gas meter degree code-disc, including meter degree code-disc and its control board.
As shown in figure 1, described meter degree code-disc is circular configuration, centre is provided with mounting hole 4, and circumference outer is toothed around 1,
The each two gear teeth are a meter degree code, and from 0-9 arrangements, each code-disc is a metering position, according to metering position (such as:It is individual, when, hundred,
Ten thousand) the thousandth, the code-disc quantity of the gas meter, flow meter is set.
Semi arch annular loophole 3 is provided with meter degree code-disc disk, circle is equipped with the range of each meter degree code wheel tooth
Loophole 2.
As shown in figure 4, described meter degree code-disc control board includes singlechip chip, analog switch chip, light thermocouple
Close matrix circuit, triode row selection circuit and its peripheral resistance and electric capacity.
Described photoelectric coupling matrix circuit is often classified as a metering position, and columns sets according to metering digit, contains in each column
There are six photoelectric coupling unit for promoting inhibition, each photoelectric coupling unit includes a pair of infrarede emitting diodes and phototriode, wherein
Five photoelectric coupling unit for promoting inhibition are Data Detection position, and another photoelectric coupling unit for promoting inhibition is data latched bit.
As shown in Figure 2,3, described meter degree code-disc control board is arranged as a master board and several detection electricity
Road plate 7, detection circuit board 7 is arranged on base plate 8, is connected with master board by signal cable 9, each detection circuit board 7
One bit code disk position data of each detection, the detection quantity of circuit board 7 is configured according to metering position, described detection circuit board 7 one
Side is provided with half slot, by five photoelectric coupling unit for promoting inhibition in six photoelectric coupling unit for promoting inhibition of each column in photoelectric coupling matrix circuit
5 are arranged on a detection circuit board 7 and are evenly arranged by semi-circumference, and the semi arch annular loophole 3 with meter degree code-disc is relative
Should, Data Detection is carried out, another photoelectric coupling unit for promoting inhibition 6 is arranged in outside semi-circumference, the phase of circular loophole 2 with meter degree code-disc
Correspondence, carries out data latch.
As shown in figure 4, the master board of described meter degree code-disc control board is provided with singlechip chip, analog switch
Chip, triode row selection circuit and its peripheral resistance and electric capacity, the preferred model of described singlechip chip:STM32, simulation
The preferred model of switch chip:CD4051.
Described analog switch chip connects the row output signal of photoelectric coupling matrix circuit by I0/O0-I4/O4 terminals
End, the D7-D9 terminals of singlechip chip are connected by digital output port A0-A2, and the A/D ends of single-chip microcomputer are connected by I5/O5
Son, sends column selection and instructs by the D7-D9 terminals of single-chip microcomputer, and the A0-A2 of analog switch chip receives column selection instruction, detection
The signal condition of each row, sends the data for detecting to by simulation output port I5/O5 the FPDP of singlechip chip
A/D。
Described singlechip chip also passes through FPDP D1-D6 connecting triode row selection circuits, and by triode
Row selection circuit connects the row input of photoelectric coupling matrix circuit, by light in the break-make each row of control for controlling each triode
Whether the infrarede emitting diode for being electrically coupled unit 5 is lit.
A kind of metering method of combustion gas meter degree code-disc, comprises the following steps:
Step one, by the detection circuit board 7 in described meter degree code-disc control board by metering digit order arrange, make
The semi arch center of circle of each detection circuit board 7 is corresponding with the center of circle of each meter degree code-disc, makes the semicircle arc ring on meter degree code-disc
Shape loophole 3 is corresponding by five photoelectric coupling unit for promoting inhibition 5 of semi-circumference arrangement with detection circuit board.
Step 2, send a pulse first by the data terminal D1 of singlechip chip, triode switch T1 conductings make each
The infrarede emitting diode electrified light emitting of the photoelectric coupling unit for promoting inhibition 5 of the first row of position is measured, at this moment, if this infraluminescence two
Pole pipe is located in meter degree code-disc semi arch annular loophole 3, and the phototriode corresponding to it is to receive signal, and signal
It is sent to the I/O receiving terminals of analog switch chip.
Step 3, column selection instruction is sent by the D7-D9 terminals of single-chip microcomputer, the A0-A2 of analog switch chip receives row
After selection instruction, the signal condition of each row is detected, by simulation output port I5/O5 the data for detecting by column selection order
Send the FPDP A/D of singlechip chip to.
Step 4, by above-mentioned steps two and step 3 method successively by the infrared of the second row-fifth line photoelectric coupling unit for promoting inhibition 5
Light emitting diode is lighted, and its data message is also finally received by the digital input port of single-chip microcomputer successively;Carried out during scanning
Progressive scan, makes photoelectric coupling signal not disturbed by surrounding closing signal, reduces error rate.
Further, while the infrarede emitting diode of the photoelectric coupling unit for promoting inhibition of each row is lighted every time, by monolithic
The D6 terminals of machine send pulse, light the infrarede emitting diode of the photoelectric coupling unit for promoting inhibition 6 of the 6th row, and this control bit is number
According to latched bit, when data latched bit is connected to Continuity signal, the signal that each row are received just is sent to the I/O of analog switch chip
Receiving terminal, data latched bit can make meter degree code-disc just be transmitted signal when going to, it is to avoid when not going to, by
In the signal error for installing the two positions edge for causing.
When data latched bit is connected to signal and the signal that each row are received is sent to the I/O receiving terminals of analog switch chip
Afterwards, single-chip microcomputer terminates the pulse output of one's own profession, and starts the pulse output of next line, it is ensured that the accuracy of data receiver.
Step 5, single-chip microcomputer read the signal condition of all row of a line every time, and are preserved by each row, by signal
Condition adjudgement meter degree code-disc position, and by the position judgment register reading of meter degree code-disc.
Further, meter degree code-disc positional information is encoded and sentenced by the data message whether photoelectric coupling circuit is connected
It is disconnected, preferably carry out following coding:
As shown in figure 5, all revealing when the semi arch annular loophole 3 of meter degree code-disc rotates to five infrarede emitting diodes
When going out, i.e., when signal is 11111, it is encoded to 0.
Meter degree code-disc carries out rotate counterclockwise, when semi arch annular loophole 3 rotates to the pole of infraluminescence two of bottom four
Pipe all exposes, and uppermost infrarede emitting diode when that is, signal is 01111, is encoded to 1 when being blocked.
By that analogy, meter degree code-disc is position encoded as follows:
This meter degree code-disc and the design of coding method make data conversion when, make code-disc rotate when, every time only
There is a data bit to change, contrast binary cyclic coded system, this coded system is not easily susceptible to disturb and number occurs
According to mistake, error rate is substantially reduced.
Above example is implemented under premised on technical solution of the present invention, gives detailed implementation method and tool
The operating process of body, but protection scope of the present invention is not limited to the above embodiments.Method therefor is such as without spy in above-described embodiment
Do not mentionlet alone and bright be conventional method.
Claims (5)
1. a kind of combustion gas meter degree code-disc, including meter degree code-disc and its control board, it is characterised in that described meter degree code-disc
It is circular configuration, centre is provided with mounting hole, and circumference outer is toothed around, each two gear teeth are a meter degree code, from 0-9 arrangements,
Each code-disc is a metering position, according to metering position (such as:It is individual, when, hundred, thousand, ten thousand) the code-disc quantity of the gas meter, flow meter is set;
Semi arch annular loophole is provided with described meter degree code-disc disk, circle is equipped with the range of each meter degree code wheel tooth
Loophole;
Described meter degree code-disc control board includes singlechip chip, analog switch chip, photoelectric coupling matrix circuit, three poles
Pipe row selection circuit and its peripheral resistance and electric capacity;
Described photoelectric coupling matrix circuit is often classified as a metering position, and columns is set according to metering digit, and six are contained in each column
Individual photoelectric coupling unit for promoting inhibition, each photoelectric coupling unit includes a pair of infrarede emitting diodes and phototriode, wherein five
Photoelectric coupling unit for promoting inhibition is Data Detection position, and another photoelectric coupling unit for promoting inhibition is data latched bit;
Described meter degree code-disc control board is arranged as a master board and several detection circuit boards, detection circuit board peace
On base plate, it is connected with master board by signal cable, each detection circuit board respectively detects a bit code disk position data,
Detection circuit board quantity is configured according to metering position, and described detection circuit board side is provided with half slot, by photoelectric coupling square
Five photoelectric coupling unit for promoting inhibition in six photoelectric coupling unit for promoting inhibition of each column in battle array circuit are arranged on a detection circuit board simultaneously
It is evenly arranged by semi-circumference, the semi arch annular loophole with meter degree code-disc is corresponding, carries out Data Detection, another light thermocouple
Close unit to be arranged in outside semi-circumference, the circular loophole with meter degree code-disc is corresponding, carries out data latch.
2. a kind of combustion gas meter degree code-disc according to claim 1, it is characterised in that described meter degree code disk control circuit
The master board of plate is provided with singlechip chip, analog switch chip, triode row selection circuit and its peripheral resistance and electric capacity,
The preferred model of described singlechip chip:STM32, the preferred model of analog switch chip:CD4051.
3. a kind of combustion gas meter degree code-disc according to claim 1, it is characterised in that described analog switch chip passes through
I0/O0-I4/O4 terminals connect the row output signal end of photoelectric coupling matrix circuit, connect single by digital output port A0-A2
The D7-D9 terminals of piece movement piece, the A/D terminals of single-chip microcomputer are connected by I5/O5, and column selection is sent by the D7-D9 terminals of single-chip microcomputer
Instruction is selected, the A0-A2 of analog switch chip receives column selection instruction, the signal condition of each row detected, by analog output
Mouth I5/O5 sends the data for detecting to the FPDP A/D of singlechip chip.
4. a kind of combustion gas meter degree code-disc according to claim 1, it is characterised in that described singlechip chip also passes through
FPDP D1-D6 connecting triode row selection circuits, and photoelectric coupling matrix circuit is connected by triode row selection circuit
Row input, by control the break-make of each triode control photoelectric coupling unit for promoting inhibition in each row infrarede emitting diode whether
It is lit.
5. a kind of metering method of combustion gas meter degree code-disc, it is characterised in that comprise the following steps:
Step one, by the detection circuit board in described meter degree code-disc control board by metering digit order arrange, make each
Detect that the semi arch center of circle of circuit board is corresponding with the center of circle of each meter degree code-disc, make the semi arch annular printing opacity on meter degree code-disc
Hole is corresponding by five photoelectric coupling unit for promoting inhibition of semi-circumference arrangement with detection circuit board;
Step 2, send a pulse first by the data terminal D1 of singlechip chip, triode switch T1 conductings measure each
The infrarede emitting diode electrified light emitting of the photoelectric coupling unit for promoting inhibition of the first row of position, at this moment, if this infrarede emitting diode
In meter degree code-disc semi arch annular loophole, the phototriode corresponding to it is to receive signal, and signal is sent
To the I/O receiving terminals of analog switch chip;
Step 3, column selection instruction is sent by the D7-D9 terminals of single-chip microcomputer, the A0-A2 of analog switch chip receives column selection
After instruction, the signal condition of each row is detected, the data for detecting are transmitted by column selection order by simulation output port I5/O5
To the FPDP A/D of singlechip chip;
Step 4, by above-mentioned steps two and step 3 method successively by the infraluminescence of the second row-fifth line photoelectric coupling unit for promoting inhibition
Diode is lighted, and its data message is also finally received by the digital input port of single-chip microcomputer successively;Carried out line by line during scanning
Scanning, makes photoelectric coupling signal not disturbed by surrounding closing signal, reduces error rate;
Further, while the infrarede emitting diode of the photoelectric coupling unit for promoting inhibition of each row is lighted every time, by single-chip microcomputer
D6 terminals send pulse, light the infrarede emitting diode of the photoelectric coupling unit for promoting inhibition of the 6th row, and this control bit is locked for data
Position is deposited, when data latched bit is connected to Continuity signal, is just received the I/O that the signal that each row are received is sent to analog switch chip
End, data latched bit can make meter degree code-disc just be transmitted signal when going to, it is to avoid when not going to, due to peace
The signal error at two positions edge that dress is caused;
It is single after data latched bit is connected to signal and the signal that each row are received is sent into the I/O receiving terminals of analog switch chip
Piece machine terminates the pulse output of one's own profession, and starts the pulse output of next line, it is ensured that the accuracy of data receiver;
Step 5, single-chip microcomputer read the signal condition of all row of a line every time, and are preserved by each row, by the shape of signal
State judges the position of meter degree code-disc, and by the position judgment register reading of meter degree code-disc;
Further, meter degree code-disc positional information is encoded and judged by the data message whether photoelectric coupling circuit is connected,
Preferably carry out following coding:
When the semi arch annular loophole of meter degree code-disc rotates to five infrarede emitting diodes all to be exposed, i.e., signal is
When 11111,0 is encoded to;
Meter degree code-disc carries out rotate counterclockwise, when semi arch annular loophole rotates to the infrarede emitting diode whole of bottom four
Expose, and uppermost infrarede emitting diode when that is, signal is 01111, is encoded to 1 when being blocked;
By that analogy, meter degree code-disc is position encoded as follows:
0:11111 1:01111 2:00111 3:00011 4:00001 5:00000
6:10000 7:11000 8:11100 9:11110
This meter degree code-disc and the design of coding method make data in conversion, make code-disc when rotating, every time only one
Individual data bit changes, and contrasts binary cyclic coded system, and this coded system is not easily susceptible to disturb and data mistake occurs
By mistake, error rate is substantially reduced.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710211896.1A CN106908109B (en) | 2017-04-01 | 2017-04-01 | Gas meter metering code disc and metering method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710211896.1A CN106908109B (en) | 2017-04-01 | 2017-04-01 | Gas meter metering code disc and metering method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106908109A true CN106908109A (en) | 2017-06-30 |
CN106908109B CN106908109B (en) | 2023-12-05 |
Family
ID=59195398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710211896.1A Active CN106908109B (en) | 2017-04-01 | 2017-04-01 | Gas meter metering code disc and metering method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106908109B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2704822Y (en) * | 2004-03-30 | 2005-06-15 | 宁波市科技园区中智科技发展有限公司 | Remote gauge tables |
CN1825068A (en) * | 2005-02-25 | 2006-08-30 | 唐有林 | Code wheel number direct reader |
CN1835002A (en) * | 2006-04-24 | 2006-09-20 | 张安戈 | Non-contact reading sensor of mechanical character wheel counter and its design method |
CN201196581Y (en) * | 2008-05-12 | 2009-02-18 | 郑州安然测控设备有限公司 | Wireless cluster recording direct-reading gas meter |
CN101901370A (en) * | 2010-07-21 | 2010-12-01 | 昆明佳晓自来水工程技术有限公司 | Meter reading encoding character wheel device and encoding method thereof |
CN206876241U (en) * | 2017-04-01 | 2018-01-12 | 鞍山晨晖光电科技有限公司 | A kind of combustion gas meter degree code-disc |
-
2017
- 2017-04-01 CN CN201710211896.1A patent/CN106908109B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2704822Y (en) * | 2004-03-30 | 2005-06-15 | 宁波市科技园区中智科技发展有限公司 | Remote gauge tables |
CN1825068A (en) * | 2005-02-25 | 2006-08-30 | 唐有林 | Code wheel number direct reader |
CN1835002A (en) * | 2006-04-24 | 2006-09-20 | 张安戈 | Non-contact reading sensor of mechanical character wheel counter and its design method |
WO2007121620A1 (en) * | 2006-04-24 | 2007-11-01 | Ange Zhang | A contactless read out sensor for mechanical character wheel counter |
CN201196581Y (en) * | 2008-05-12 | 2009-02-18 | 郑州安然测控设备有限公司 | Wireless cluster recording direct-reading gas meter |
CN101901370A (en) * | 2010-07-21 | 2010-12-01 | 昆明佳晓自来水工程技术有限公司 | Meter reading encoding character wheel device and encoding method thereof |
CN206876241U (en) * | 2017-04-01 | 2018-01-12 | 鞍山晨晖光电科技有限公司 | A kind of combustion gas meter degree code-disc |
Also Published As
Publication number | Publication date |
---|---|
CN106908109B (en) | 2023-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101951263B (en) | Key scanning method and system | |
CN206876241U (en) | A kind of combustion gas meter degree code-disc | |
CN104006857B (en) | A kind of method that photoelectric direct-reading water meter sensor suppresses bubble interference | |
CN106908109A (en) | A kind of combustion gas meter degree code-disc and metering method | |
CN106643822A (en) | Character wheel encoder and direct reading method | |
CN1835002B (en) | Non-contact reading sensor of mechanical character wheel counter and its design method | |
CN103176418A (en) | Address coding method for intelligent feeder switch module in power system | |
CN107479579A (en) | A kind of spacing detection method and system of the framework photoelectric stable platform of two axle four | |
CN203908568U (en) | Reading device of mechanical counter wheel and remote metering device | |
CN203719720U (en) | Direct-reading and far-transmitting water meter | |
CN102706374A (en) | Angle measuring and reading device of disk photoelectric encoder | |
CN201255731Y (en) | Road tunnel carbon monoxide concentration detection device having network interface | |
CN207718203U (en) | A kind of 24 channel 4-20mA data collectors of full isolation | |
CN100422693C (en) | Single ring coded directly reading type radio remote transmitting water meter | |
CN100405314C (en) | Method and apparatus for testing mainboard of computer | |
CN102013600A (en) | Singlechip for finishing nonpolar 485 communication function | |
CN106197669A (en) | A kind of employing color sensor remote reading systems | |
CN102373838A (en) | Electronic coded lock controlled by single chip microcomputer | |
CN202710083U (en) | Disk photoelectric coding angle measurement reading apparatus | |
CN205537698U (en) | Mechanical counter's reading device | |
CN201622523U (en) | Rotating-disc password input device capable of inputting characters | |
CN100408979C (en) | Code wheel number direct reader | |
CN2578794Y (en) | Intellectual metering instrument | |
CN206862436U (en) | A kind of charging water meter based on technology of Internet of things | |
CN201673528U (en) | Passive print wheel counting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 114044, No. 368, Qianshan Road, hi tech Zone, Liaoning, Anshan Patentee after: Liaoning Chenhui Intelligent Energy Co.,Ltd. Country or region after: China Address before: 114044, No. 368, Qianshan Road, hi tech Zone, Liaoning, Anshan Patentee before: ANSHAN CHENHUI PHOTOELECTRIC TECHNOLOGY Co.,Ltd. Country or region before: China |