One-in-five light-emitting and conducting circuit and use method thereof
By designing a one-receiver five-light conductive circuit and using an angle positioner and a micro-control unit to simplify the transmission of photoelectric signals, it solves the problems of complex and high power consumption of existing photoconductive water and gas meter equipment, and achieves simplified structure, reduced power consumption and production Improved efficiency.
Patent Information
- Application Number
- CN202111132994.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-09-27
AI Technical Summary
The photoelectric direct-reading modules in existing photoconductive water meters and photoconductive gas meters require welding of sampling lamp panels. The equipment is complex and consumes a lot of manpower. The production speed cannot be increased and the power consumption cannot be reduced.
A one-receiver five-light conductive circuit is designed, including a transmitting component and a light guide receiving component. The optical signal is transmitted through the angle positioner and the light-transmitting hole, which simplifies the circuit structure. The voltage value is collected through the micro-control unit to generate the coded value. Determining the reading eliminates the need to weld the sampling light panel.
It achieves simplification of circuit structure and reduction of power consumption, shortens sampling time, saves manpower, improves production efficiency, and maintains reading accuracy when some emitting lamps are damaged.
Smart Images

Figure CN113706852B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic circuit design, and in particular to a one-in-five light-emitting and conducting circuit and a use method thereof. Background Art
[0002] At present, the photoelectric direct reading module in the optical water meter and optical gas meter on the market needs to weld the sampling light board, such as Figure 1 As shown, the existing sampling lamp board specifically has one transmitting tube corresponding to one receiving tube, with a total of five groups of transmitting tubes and receiving tubes. The equipment is relatively complex, and manual welding of the sampling lamp board is required during production, which consumes a lot of manpower. In addition, the existing technology cannot increase the production speed and reduce power consumption.
[0003] Therefore, there is an urgent need for a photoconductive circuit with a simple structure and low power consumption. Summary of the invention
[0004] The object of the present invention is to provide a one-in-five light-emitting-conducting circuit and a method of using the same, which has a simple circuit structure and low power consumption.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] The present invention provides a one-in-five light-emitting and conducting circuit, the one-in-five light-emitting and conducting circuit comprises: a transmitting component and a light-guiding receiving component;
[0007] The optical receiving component includes a photoelectric receiving element; the transmitting component includes a first transmitting element, a second transmitting element, a third transmitting element, a fourth transmitting element and a fifth transmitting element; an angle positioner is arranged between the optical receiving component and the transmitting component, the angle positioner includes a character wheel and a code disk and a light-transmitting hole is arranged on the angle positioner, and the transmitting component transmits a light signal to the optical receiving component through the light-transmitting hole;
[0008] The input ends of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element and the fifth emitting element are respectively connected to a micro control unit, and the micro control unit is used to provide a high level to the first emitting element, the second emitting element, the third emitting element, the fourth emitting element and the fifth emitting element; the output ends of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element and the fifth emitting element are connected and grounded;
[0009] The input end of the optical waveguide receiving component is connected to the micro control unit, and the output end of the optical waveguide receiving component is grounded; the micro control unit is used to provide a high level to the optical waveguide receiving component; the output end of the optical waveguide receiving component is connected to the micro control unit, and the micro control unit is used to collect the output end voltage value of the optical waveguide receiving component, generate a corresponding coding value according to the voltage value, and determine a corresponding reading value according to the coding value.
[0010] Optionally, the output ends of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element are connected to the micro control unit; the micro control unit is used to collect voltage values of the output ends, and determine whether the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element are damaged according to the voltage values.
[0011] Optionally, the circuit further includes:
[0012] A first resistor, wherein an input end of the first resistor is connected to an output end of the optical receiving component, and an output end of the first resistor is grounded.
[0013] Optionally, the circuit further comprises: a second resistor and a third resistor;
[0014] The third resistor has an input end connected to the output end of the transmitting component, and an output end connected to the input end of the second resistor;
[0015] The second resistor has an input end connected to the output end of the third resistor, and an output end connected to the ground.
[0016] Optionally, the photoconductive receiving element is an infrared receiving tube.
[0017] Optionally, the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element are infrared emitting tubes or LEDs.
[0018] To achieve the above object, the present invention also provides the following solution:
[0019] A method for using a one-into-five light-emitting and conducting circuit, applied to the one-into-five light-emitting and conducting circuit according to any one of claims 1 to 6, the method comprising:
[0020] Input a high level signal to the input end of the optical receiving component, and input a high level signal to the input ends of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element in sequence;
[0021] The output terminal voltage values of the optical receiving components are respectively collected, corresponding coding values are generated according to the voltage values, and corresponding reading values are determined according to the coding values.
[0022] Optionally, by collecting voltage values at output ends of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element, it is determined whether the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element are damaged according to the voltage values.
[0023] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0024] The present invention provides a one-receive five-light-emitting-conducting circuit and a method of use, the circuit comprising: a transmitting component and a light-conducting receiving component; the light-conducting receiving component comprising a photoelectric receiving element; the transmitting component comprising a first transmitting element, a second transmitting element, a third transmitting element, a fourth transmitting element and a fifth transmitting element; an angle positioner is arranged between the light-conducting receiving component and the transmitting component, and a light-transmitting hole is arranged on the angle positioner, and the transmitting component transmits a light signal to the light-conducting receiving component through the light-transmitting hole; the input end of each of the transmitting elements is respectively connected to a micro-control unit, and the micro-control unit is used to provide a high level to each of the transmitting elements; the output end of each of the transmitting elements is connected and grounded; the input end of the light-conducting receiving component is connected to the micro-control unit, and the output end of the light-conducting receiving component is grounded; the micro-control unit is used to provide a high level to the light-conducting receiving component; the output end of the light-conducting receiving component is connected to the micro-control unit, and the micro-control unit is used to collect the output end voltage value of the light-conducting receiving component, generate a corresponding coding value according to the voltage value, and determine the corresponding reading value according to the coding value. The present invention simplifies the circuit structure by setting one photoelectric receiving element to correspond to five transmitting elements, compared with the five groups of one-receive and one-transmit sampling boards in the existing photoelectric water meter. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0026] Figure 1 It is a structural schematic diagram of a sampling lamp board in an existing photoelectric water meter;
[0027] Figure 2 This is a circuit diagram of the one-in-five-light-emitting-conducting circuit of the present invention;
[0028] Figure 3 It is a structural schematic diagram of the one-in-five-light-emitting-conducting circuit of the present invention.
[0029] Explanation of symbols:
[0030] Transmitting component-1, first transmitting element-F1, second transmitting element-F2, third transmitting element-F3, fourth transmitting element-F4, fifth transmitting element-F5, optical receiving component-2, photoelectric receiving element-S, first resistor-R1, second resistor-R2, third resistor-R3. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] The purpose of the present invention is a one-in-five light-emitting-conducting circuit and a method of using the same, which has a simple circuit structure and low power consumption.
[0033] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0034] like Figure 2 As shown, the present invention provides a one-receiver five-light-emitting and conducting circuit, comprising: a transmitting component 1 and a light-conducting receiving component 2.
[0035] The optical receiving component 2 includes a photoelectric receiving element S; the transmitting component 1 includes a first transmitting element F1, a second transmitting element F2, a third transmitting element F3, a fourth transmitting element F4 and a fifth transmitting element F5; an angle positioner is arranged between the optical receiving component 2 and the transmitting component 1, and a light-transmitting hole is arranged on the angle positioner, and the transmitting component 1 transmits a light signal to the optical receiving component 2 through the light-transmitting hole. Specifically, the angle positioner includes a character wheel and a code disk, and three light-transmitting holes at a certain angle are arranged in the middle of the angle positioner, which can be transmitted from one side of the angle positioner to the other side of the angle positioner. The photoelectric transmitting component and the optical receiving component are respectively located on both sides of the angle positioner, and the positions of the transmitting component and the optical receiving component are fixed after installation. When the angle positioner rotates, the angle of the light-transmitting hole of the angle positioner changes, and the amount and position of the light emitted by the corresponding emitting element that passes through the angle positioner and irradiates the other side of the angle positioner will also change accordingly. That is, when the angle positioner is at each reading of 0-9, the amount and position of the light that passes through the angle positioner and irradiates the other side of the angle positioner will be different. Encoding is performed based on this principle, and then the actual data of the water meter is read out by decoding by the control unit.
[0036] The input terminals of the first emitting element F1, the second emitting element F2, the third emitting element F3, the fourth emitting element F4 and the fifth emitting element F5 (the input terminals are as follows) Figure 1The T1, T2, T3, T4, T5 shown are connected to the micro control unit respectively, and the micro control unit is used to provide a high level to the first emitting element F1, the second emitting element F2, the third emitting element F3, the fourth emitting element F4 and the fifth emitting element F5; the output ends of the first emitting element F1, the second emitting element F2, the third emitting element F3, the fourth emitting element F4 and the fifth emitting element F5 are connected and grounded. Among them, T1, T2, T3, T4, T5 are all connected to the IO pins of the MCU (micro control unit).
[0037] The input end S1 of the optical receiving component 2 is connected to the micro control unit, and the output end of the optical receiving component 2 is grounded; the micro control unit is used to provide a high level to the optical receiving component 2; the output end of the optical receiving component 2 is connected to the micro control unit, and the micro control unit is used to collect the output end voltage value of the optical receiving component 2, generate a corresponding coding value according to the voltage value, and determine a corresponding reading value according to the coding value. Among them, S1 is connected to the IO pin of the MCU.
[0038] Further, the output ends of the first emitting element F1, the second emitting element F2, the third emitting element F3, the fourth emitting element F4 and the fifth emitting element F5 are the first detection point ADT, and the first detection point ADT is connected to the micro control unit; the micro control unit is used to collect the voltage value of ADT at the first detection point, and judge whether the first emitting element F1, the second emitting element F2, the third emitting element F3, the fourth emitting element F4 and the fifth emitting element F5 are damaged according to the voltage value.
[0039] Furthermore, the output terminal ADR of the optical receiving component 2 is a second detection point, which is connected to the micro control unit through the second detection point ADR, and the micro control unit is used to collect the voltage value at the second detection point. Among them, ADR and ADT are AD detection points, both connected to the AD pin of the MCU.
[0040] Furthermore, the circuit further includes: a first resistor R1.
[0041] The input end of the first resistor R1 is connected to the output end of the optical receiving component 2, and the output end of the first resistor R1 is grounded. The first resistor R1 is used as a current limiter and can be used to adjust the sensitivity of the optical receiving component.
[0042] Furthermore, the circuit further includes: a second resistor R2 and a third resistor R3.
[0043] The third resistor R3 has an input end connected to the output end of the transmitting component, and an output end connected to the input end of the second resistor.
[0044] The second resistor R2 has an input end connected to the output end of the third resistor R3, and an output end grounded. The second resistor R2 and the third resistor R3 are used as current limiters and can be used to adjust the emission intensity of the emission component.
[0045] Specifically, the photoconductive receiving element 2 is an infrared receiving tube. The infrared receiving tube is affected by light. When there is light, the infrared receiving tube is turned on, and when there is no light, the infrared receiving tube is turned off. The infrared receiving tube can be a PT receiving tube, a PD receiving tube, or other infrared receiving tubes that can achieve this function.
[0046] Specifically, the first emitting element F1, the second emitting element F2, the third emitting element F3, the fourth emitting element F4 and the fifth emitting element F5 are infrared emitting tubes or LEDs, or other emitting tubes that can realize this function, and can emit infrared light or bright light when powered on.
[0047] To achieve the above object, the present invention also provides the following solution:
[0048] A method for using a one-into-five light-emitting and conducting circuit, applied to the one-into-five light-emitting and conducting circuit according to any one of claims 1 to 5, the method comprising:
[0049] A high level signal is input to the input end of the optical receiving component 2, and high level signals are input to the input ends of the first emitting element F1, the second emitting element F2, the third emitting element F3, the fourth emitting element F4 and the fifth emitting element F5 in sequence.
[0050] The output terminal voltage values of the optical receiving components are respectively collected, corresponding coding values are generated according to the voltage values, and corresponding reading values are determined according to the coding values.
[0051] Furthermore, by collecting voltage values at the output ends of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element, it is determined whether the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element are damaged according to the voltage values.
[0052] Specifically, each time sampling occurs, F1 to F5 are lit up in sequence instead of at the same time (lit up means inputting a high level), one emitting element is lit up to detect the high and low levels of ADR, and then the emitting element is turned off and the next emitting element is lit up.
[0053] In addition, the light guide receiving component and the transmitting component of the present invention are directly mounted on the main board in the photoelectric water meter, and there is no need to weld the sampling light board, and there is no deformation problem. Figure 3 shown.
[0054] Working process of the present invention:
[0055] A high level is input to the input ends of the first transmitting element F1, the second transmitting element F2, the third transmitting element F3, the fourth transmitting element F4 and the fifth transmitting element F5 respectively, and a high level is input to the input end of the optical receiving component 2. Since an angle positioner is arranged between the optical receiving component 2 and the transmitting component 1, the angle positioner includes a character wheel and a code disk and a light-transmitting hole is arranged on the angle positioner, the transmitting component 1 transmits a light signal to the optical receiving component 2 through the light-transmitting hole. When the first transmitting element F1 is lit, if the angle of rotation of the angle positioner at this time is just enough to irradiate the light emitted by the first transmitting element F1 to the photoelectric receiving component S through the light-transmitting hole, the photoelectric receiving component S meets the conduction condition (the light signal and the high level are input at the same time), then the voltage value of its output end is a high level, the microcontroller collects the high level signal, and encodes it according to the high level signal to obtain the code value 1. Next, each of the emitting elements F2, F3, F4, and F5 is lit up respectively, and finally the code value corresponding to the corresponding level signal is obtained and stored in the microcontroller unit. The microcontroller unit performs corresponding decoding according to the 5-bit code value sequence formed by each of the emitting elements F2, F3, F4, and F5 to obtain a reading result.
[0056] The present invention has the following advantages:
[0057] 1) Energy consumption: reduce the sampling power consumption of photoelectric water meters and shorten the photoelectric sampling time. Compared with the existing technology, for the same working current, the existing technology needs to turn on the transmitting element and the receiving element in turn during sampling, and needs to turn on the chip select end of the receiving element five times (the chip select end is the connection end with the microcontroller unit). The specific process is: turn on the chip select, light up the transmitting element and then detect the AD value of the receiving element. If it takes 20us to turn on the chip select stably, it takes 20us to light up an transmitting element and detect the AD value once, then the whole sampling process time includes: one chip select turn on + 5 times to light up the transmitting element + time to detect the AD value, then the total time is 20us + 20us * 5 = 120us - compared with the existing technology, 4 times of turning on the chip select time are saved, and the overall sampling time is greatly shortened, reducing the actual power consumption of the product.
[0058] 2) Cost: The sampling part can be machine-mounted (all materials can be placed on the main board), which saves manpower for light board welding and improves production efficiency.
[0059] 3) Function: The photoelectric panel is very thin and is easily deformed during installation, which affects the accuracy of readings. However, the transmitting tube and the receiving tube of the present invention are integrated with the main board. The transmitting tube and the receiving tube are directly attached to the main board, and there is no need for a sampling board, so there is no deformation problem. The structural diagram of the present invention is shown in FIG. Figure 3 .
[0060] 4) Process: The existing technology needs to add a small light board, which is attached to the main board through bridging technology. The transmitting component and the receiving component of the present invention are both mounted on the main board, which simplifies the installation and is suitable for mass production.
[0061] 5) Through coding group comparison, the readings can still be accurate even if some of the transmitting lamps are damaged.
[0062] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0063] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A one-in-five-light-emitting-conducting circuit, characterized in that: The one-receiver-five-light-emitting-conducting circuit comprises: a transmitting component and a light-guiding receiving component; The optical receiving assembly includes a photoelectric receiving element; the transmitting assembly includes a first transmitting element, a second transmitting element, a third transmitting element, a fourth transmitting element and a fifth transmitting element; an angle positioner is arranged between the optical receiving assembly and the transmitting assembly, and a light-transmitting hole is arranged on the angle positioner, and the transmitting assembly transmits a light signal to the optical receiving assembly through the light-transmitting hole; the angle positioner includes a character wheel and a code disk, and three light-transmitting holes at a certain angle are arranged in the middle of the angle positioner, and when the angle positioner rotates, the number and position of light rays passing through the angle positioner to reach the other side of the angle positioner will be different; The input ends of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element and the fifth emitting element are respectively connected to a micro control unit, and the micro control unit is used to provide a high level to the first emitting element, the second emitting element, the third emitting element, the fourth emitting element and the fifth emitting element; the output ends of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element and the fifth emitting element are connected and grounded; The input end of the optical waveguide receiving component is connected to the micro control unit, and the output end of the optical waveguide receiving component is grounded; the micro control unit is used to provide a high level to the optical waveguide receiving component; the output end of the optical waveguide receiving component is connected to the micro control unit, and the micro control unit is used to collect the output end voltage value of the optical waveguide receiving component, generate a corresponding coding value according to the voltage value, and determine a corresponding reading value according to the coding value.
2. The one-in-five-light-emitting-conducting circuit according to claim 1, characterized in that: The output ends of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element and the fifth emitting element are connected to the micro control unit; the micro control unit is used to collect the voltage value of the output end and determine whether the first emitting element, the second emitting element, the third emitting element, the fourth emitting element and the fifth emitting element are damaged according to the voltage value.
3. The one-in-five-light-emitting-conducting circuit according to claim 1, characterized in that: The circuit further comprises: A first resistor, wherein an input end of the first resistor is connected to an output end of the optical receiving component, and an output end of the first resistor is grounded.
4. The one-in-five-light-emitting-conducting circuit according to claim 3, characterized in that: The circuit further includes: a second resistor and a third resistor; The third resistor has an input end connected to the output end of the transmitting component, and an output end connected to the input end of the second resistor; The second resistor has an input end connected to the output end of the third resistor, and an output end connected to the ground.
5. The one-in-five-light-emitting-conducting circuit according to claim 1, characterized in that: The light guide receiving component is an infrared receiving tube.
6. The one-in-five-light-emitting-conducting circuit according to claim 1, characterized in that: The first emitting element, the second emitting element, the third emitting element, the fourth emitting element and the fifth emitting element are infrared emitting tubes or LEDs.
7. A method for using a one-in-five-light-emitting-conducting circuit, characterized in that: The one-in-five light-emitting conductive circuit applied to any one of claims 1 to 6, the method comprising: Input a high level signal to the input end of the optical receiving component, and input a high level signal to the input ends of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element in sequence; The output terminal voltage values of the optical receiving components are respectively collected, corresponding coding values are generated according to the voltage values, and corresponding reading values are determined according to the coding values.
8. The method for using the one-in-five-light-emitting-conducting circuit according to claim 7, characterized in that: By collecting voltage values of output terminals of the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element, it is determined whether the first emitting element, the second emitting element, the third emitting element, the fourth emitting element, and the fifth emitting element are damaged according to the voltage values.
