Infrared communication circuit for water meter

By designing infrared communication circuits in the water meter and using transistors to control the conduction state between the infrared receiving tube and the receiving pin, the problem of infrared spontaneous self-receiving phenomenon is solved, communication efficiency is improved, and misoperation and delay are prevented.

CN222029937UActive Publication Date: 2024-11-19ZHEJIANG WEIXING INTELLIGENT METER STOCK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420676919.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-03
Publication Date
2024-11-19
Estimated Expiration
2034-04-03

Smart Images

  • Figure CN222029937U_ABST
    Figure CN222029937U_ABST
Patent Text Reader

Abstract

The utility model discloses an infrared communication circuit for a water meter, the circuit comprises a transmitting unit, an infrared receiving tube, a receiving pin and a triode, the transmitting unit is connected with a base electrode of the triode; a first port of the infrared receiving tube is connected with an emitting electrode of the triode; a second port of the infrared receiving tube is connected with a grounding end; a third port of the infrared receiving tube is connected with the power supply voltage; and a collector electrode of the triode is connected with the receiving pin and is connected with the power supply voltage. According to the application, the conduction state between the first port of the infrared receiving tube and the receiving pin is controlled through the triode, so that the level signal change of the first port of the infrared receiving tube caused by the level signal change of the transmitting unit does not influence the level signal received by the receiving pin; therefore, the self-transmitting and self-receiving phenomenon of the infrared circuit is prevented.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to an infrared communication circuit for a water meter. Background Art

[0002] During infrared communication with water meters, infrared self-transmission and self-reception often occur. This occurs when the signal emitted by the infrared transmitter is received by the infrared receiver inside the water meter itself, potentially leading to erroneous operation or incorrect data recording. The current solution to this problem is to filter out erroneous data through software in the water meter's built-in microprocessor.

[0003] However, filtering data through software adds additional latency, which in turn makes communication less efficient. Utility Model Content

[0004] To address the aforementioned issues of the water meter's spontaneous infrared transmission and reception, as well as the additional delay caused by software data filtering, which in turn leads to decreased communication efficiency, an embodiment of the present application provides an infrared communication circuit for a water meter, the technical solution of which is as follows:

[0005] In a first aspect, an embodiment of the present application provides an infrared communication circuit for a water meter, including a transmitting unit, an infrared receiving tube, a receiving pin, and a transistor, wherein:

[0006] The transmitting unit is connected to the base of the transistor;

[0007] The first port of the infrared receiving tube is connected to the emitter of the triode; the second port of the infrared receiving tube is connected to the ground terminal; the third port of the infrared receiving tube is connected to the power supply voltage;

[0008] The collector of the transistor is connected to the receiving pin and to the power supply voltage.

[0009] In an optional solution of the first aspect, the transmitting unit includes an infrared transmitting tube, a transmitting pin, and a modulation pin, wherein:

[0010] The anode of the infrared emitting tube is connected to the modulation pin;

[0011] The cathode of the infrared emitting tube is connected to the emission pin and is also connected to the base of the transistor.

[0012] In yet another optional solution of the first aspect, the transmitting unit further includes a first current-limiting resistor, wherein:

[0013] One end of the first current limiting resistor is connected to the modulation pin, and the other end of the first current limiting resistor is connected to the infrared emitting tube.

[0014] In another optional solution of the first aspect, the infrared communication circuit further includes a second current limiting resistor, wherein:

[0015] One end of the second current limiting resistor is connected to the emission pin and is also connected to the infrared emission tube;

[0016] The other end of the second current limiting resistor is connected to the base of the transistor.

[0017] In another optional solution of the first aspect, the infrared communication circuit further includes a pull-up resistor, wherein:

[0018] One end of the pull-up resistor is connected to the receiving pin, and the other end of the pull-up resistor is connected to the power supply voltage.

[0019] In another optional solution of the first aspect, the infrared communication circuit further includes a filter resistor and a filter capacitor, wherein:

[0020] One end of the filter resistor is connected to the third port of the infrared receiving tube and to the filter capacitor;

[0021] The other end of the filter resistor is connected to the power supply voltage;

[0022] The filter capacitor is connected to the third port of the infrared receiving tube and is also connected to the ground terminal.

[0023] In yet another optional solution of the first aspect, the transistor is an NPN transistor.

[0024] In yet another alternative of the first aspect, the power supply voltage is 3.3 volts.

[0025] In yet another optional solution of the first aspect, the filter capacitor is 0.1 microfarad.

[0026] In yet another optional solution of the first aspect, the resistance of the filter resistor is 100 ohms.

[0027] The beneficial effects of the technical solutions provided by some embodiments of this specification include at least:

[0028] The present application proposes an infrared communication circuit for a water meter, comprising a transmitting unit, an infrared receiving tube, a receiving pin, and a transistor, wherein: the transmitting unit is connected to the base of the transistor; the first port of the infrared receiving tube is connected to the emitter of the transistor; the second port of the infrared receiving tube is connected to a ground terminal; the third port of the infrared receiving tube is connected to a power supply voltage; and the collector of the transistor is connected to the receiving pin and to the power supply voltage. The conduction state between the first port of the infrared receiving tube and the receiving pin is controlled by the transistor, so that changes in the level signal of the first port of the infrared receiving tube caused by changes in the level signal of the transmitting unit do not affect the level signal received by the receiving pin, thereby preventing the occurrence of self-transmission and self-reception in the infrared circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0030] Figure 1 A schematic structural diagram of an infrared communication circuit for a water meter provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.

[0032] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application. Different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments described. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, even though the embodiment may not be clearly described in the following text.

[0033] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the elements described without departing from the scope of the present application. Various examples may appropriately omit, replace, or add various processes or components. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted, or combined. In addition, features described in some examples may be combined in other examples.

[0034] In the existing infrared communication process of water meters, because the infrared transmitter and receiver inside the water meter are too close or on the same circuit board (for example, the pin responsible for receiving data is directly connected to the output port of the infrared receiving tube), the transmitted signal may be directly received by the receiver, resulting in a phenomenon of self-transmission and self-reception, which may lead to misreading or ineffective communication.

[0035] The existing solution for the above-mentioned infrared self-transmission and self-reception phenomenon is mainly to filter out the erroneous data generated by the self-transmission and self-reception phenomenon through software, and does not prevent the occurrence of the self-transmission and self-reception phenomenon through hardware, such as improving the structure of the infrared communication circuit used for water meters.

[0036] To solve the above technical problems, the present application proposes an infrared communication circuit for a water meter. The infrared communication circuit for a water meter includes a transmitting unit, an infrared receiving tube U1, a receiving pin IR_RX and a transistor Q1, wherein:

[0037] The transmitting unit is connected to the base of transistor Q1; the first port OUT of infrared receiving tube U1 is connected to the emitter of transistor Q1; the second port of infrared receiving tube U1 is connected to ground terminal GND; the third port of infrared receiving tube U1 is connected to power supply voltage VDD_IR; the collector of transistor Q1 is connected to receiving pin IR_RX and also to power supply voltage VDD_IR. Transistor Q1 controls the conduction state between the first port OUT of infrared receiving tube U1 and receiving pin IR_RX, so that changes in the level signal of the first port OUT of infrared receiving tube U1 caused by changes in the level signal of the transmitting unit do not affect the level signal received by receiving pin IR_RX, thereby preventing the occurrence of self-transmission and self-reception in the infrared circuit.

[0038] Specifically, the infrared receiving tube U1 can be, but is not limited to, a photodiode or phototransistor for receiving infrared light signals and converting them into electrical signals, such as BPW34, SFH 4512, TLP181, and PT4115, etc.; the receiving pin IR_RX is responsible for receiving infrared signals transmitted from the outside, and when the infrared receiving tube U1 captures the infrared light signal and converts it into an electrical signal, this signal will be sent to the receiving pin IR_RX for decoding processing, and then the original data information will be obtained; the transistor Q1 is used as an electronic switch, which controls the conduction or cutoff between the collector and the emitter by changing the base voltage to realize the opening and closing of the circuit; the transmitting unit is responsible for outputting high and low level signals to control the conduction state of the transistor Q1.

[0039] It can be understood that when the base voltage is high enough (that is, the transmitting unit outputs a high level), the transistor Q1 is turned on, and a low-resistance state (close to a short-circuit state) is presented between the collector and the emitter, that is, the receiving pin IR_RX and the first port OUT of the infrared receiving tube U1 are connected, and the two maintain the same level state (in this application, mainly a high-level state); when the base voltage is insufficient (that is, the transmitting unit outputs a low level), the transistor is cut off, and a high-resistance state (close to an open-circuit state) is presented between the collector and the emitter, that is, the receiving pin IR_RX and the first port OUT of the infrared receiving tube U1 are disconnected, and the level states of the two are not affected by each other.

[0040] As an option in the embodiment of the present application, the transmitting unit includes an infrared transmitting tube, a transmitting pin and a modulating pin, wherein:

[0041] The anode of the infrared emitting tube is connected to the modulation pin;

[0042] The cathode of the infrared emitting tube is connected to the emission pin and is also connected to the base of the transistor.

[0043] Specifically, the transmitting unit includes an infrared transmitting tube D1, a transmitting pin IR_TX, and a modulation pin IR_PWM. The infrared transmitting tube D1 is a special light-emitting diode (LED) that converts electrical signals into infrared light signals and emits infrared light beams that are invisible to the human eye. The transmitting pin IR_TX and the modulation pin IR_PWM jointly control the infrared transmitting tube D1 to send encoded infrared signals.

[0044] It can be understood that the transmitting pin IR_TX is used to output a high level or a low level to control the conduction state of the infrared transmitting tube D1; the modulation pin IR_PWM is used to output a PWM signal with a specific frequency and duty cycle. Among them, the specific frequency can make the infrared signal transmit farther, and the infrared signal can be encoded by changing the duty cycle of the infrared signal (that is, the ratio of the high level time to the cycle time).

[0045] It should be noted that the modulation pin IR_PWM outputs a square wave signal (an electrical signal that periodically changes between high and low levels). When the transmitting pin IR_TX outputs a high level, no forward current flows through the infrared emitting tube D1, and it is in the cut-off state. At this time, the current flows from the transmitting pin IR_TX to the base of the transistor Q1. The base of the transistor Q1 is also in a high level state because it is connected to the transmitting pin IR_TX, so the transistor Q1 is turned on; when the transmitting pin IR_TX outputs a low level, a forward current flows through the infrared emitting tube D1, and it is in the on state. At this time, the current flows from the modulation pin IR_PWM to the infrared emitting tube D1, and then flows to the transmitting pin IR_TX. No current flows through the transistor Q1 and it is in a low level state, so the transistor Q1 is cut off.

[0046] It's worth noting that when the transmit pin IR_TX outputs a high level, the infrared emitting diode D1 is not emitting light, so the voltage level at the first port OUT of the infrared receiving diode U1 is low. When the transmit pin IR_TX outputs a low level, the infrared emitting diode D1 is emitting light, so the voltage level at the first port OUT of the infrared receiving diode U1 is high. Combining the above, it can be seen that when the transmit pin IR_TX outputs a high level, transistor Q1 is turned off, and the receive pin IR_RX is in a high level state due to its connection to the power supply voltage. When the transmit pin IR_TX outputs a low level, transistor Q1 is turned on, and the receive pin IR_RX is in a high level state due to its connection to the first port OUT of the infrared receiving diode U1. Therefore, regardless of whether the transmit pin IR_TX outputs a high level or a low level, the receive pin IR_RX remains high, and thus cannot generate corresponding data for parsing (the receive pin IR_RX needs to receive a changing level signal to parse the corresponding data), thus eliminating the phenomenon of self-transmission and self-reception.

[0047] As another optional embodiment of the present application, the transmitting unit further includes a first current limiting resistor, wherein:

[0048] One end of the first current limiting resistor is connected to the modulation pin, and the other end of the first current limiting resistor is connected to the infrared emitting tube.

[0049] Specifically, there is a first current limiting resistor R1 between the infrared emitting tube D1 of the emitting unit and the modulation pin IR_PWM, which is mainly used to limit the current passing through the infrared emitting tube D1 to prevent the infrared emitting tube D1 from overheating or being damaged due to excessive current.

[0050] As another option of the embodiment of the present application, the infrared communication circuit further includes a second current limiting resistor, wherein:

[0051] One end of the second current limiting resistor is connected to the emission pin and is also connected to the infrared emission tube;

[0052] The other end of the second current limiting resistor is connected to the base of the transistor.

[0053] Specifically, in the infrared communication circuit, there is a second current limiting resistor R4 between the transmitting pin IR_TX and the base of the transistor Q1, which is mainly used to limit the current at the base of the transistor Q1 to prevent the transistor Q1 from overheating or being damaged due to excessive base current.

[0054] As another option of the embodiment of the present application, the infrared communication circuit further includes a pull-up resistor, wherein:

[0055] One end of the pull-up resistor is connected to the receiving pin, and the other end of the pull-up resistor is connected to the power supply voltage.

[0056] Specifically, in the infrared communication circuit, there is a pull-up resistor R3 between the receiving pin IR_RX and the power supply voltage VDD_IR, which is mainly used to provide a high-level output path so that the receiving pin IR_RX remains in a high-level state when the transistor Q1 is turned off.

[0057] As another option of the embodiment of the present application, the infrared communication circuit further includes a filter resistor and a filter capacitor, wherein:

[0058] One end of the filter resistor is connected to the third port of the infrared receiving tube and to the filter capacitor;

[0059] The other end of the filter resistor is connected to the power supply voltage;

[0060] The filter capacitor is connected to the third port of the infrared receiving tube and is also connected to the ground terminal.

[0061] Specifically, in this infrared communication circuit, there is also a filter composed of a filter resistor R2 and a filter capacitor C1, which is mainly used to process the input signal so that the signals in certain frequency ranges are retained or enhanced, while the signals in other frequency ranges are attenuated or suppressed, so as to extract useful signals and reduce unnecessary noise and interference.

[0062] As another option in the embodiment of the present application, the transistor is an NPN transistor.

[0063] Specifically, the transistor Q1 can be but is not limited to an NPN transistor, that is, a bipolar transistor formed by stacking three layers of semiconductor materials (N-type semiconductor-P-type semiconductor-N-type semiconductor), and has three pins, namely, an emitter, a base, and a collector.

[0064] Here, you can refer to Figure 1 , Figure 1 A schematic structural diagram of an infrared communication circuit for a water meter provided in an embodiment of the present application is shown.

[0065] like Figure 1As shown, the transmitting pin IR_TX, the modulating pin IR_PWM, the first current-limiting resistor R1 and the infrared transmitting tube D1 together constitute a transmitting unit to control the voltage at the base of the transistor Q1; the second current-limiting resistor R4 is used to prevent excessive current passing through the base of the transistor Q1 and causing damage to the transistor Q1; the receiving pin IR_RX is connected to the power supply voltage VDD_IR through the pull-up resistor R3 to maintain its own high-level state when the transistor Q1 is turned off; the first port OUT of the infrared receiving tube U1 is connected to the emitter of the transistor Q1 to be in a high-level state together with the receiving pin IR_RX when the transistor Q1 is turned on; the second port of the infrared receiving tube U1 is connected to the ground terminal GND for outputting a low-level signal; the third port of the infrared receiving tube U1 is connected to the power supply voltage VDD_IR through a filter composed of a filter resistor R2 and a filter capacitor C1 for outputting a high-level signal.

[0066] As another option in the embodiment of the present application, the power supply voltage is 3.3 volts.

[0067] Specifically, the power supply voltage VDD_IR is mainly used to provide an operating voltage for an infrared transmitting tube or an infrared receiving tube and its auxiliary circuits (such as an amplifier, a demodulator circuit, etc.), and can be but is not limited to a DC voltage of 3.3 volts.

[0068] As another option in the embodiment of the present application, the filter capacitor is 0.1 microfarad.

[0069] Specifically, the filter capacitor C1 is used to form a filter with the filter resistor R2, which can selectively pass or block current according to frequency, thereby improving signal quality and removing unnecessary frequency components. The filter capacitor C1 can be, but is not limited to, 0.1 microfarad.

[0070] As another optional embodiment of the present application, the resistance of the filter resistor is 100 ohms.

[0071] Specifically, the filter resistor R2 is used to form a filter with the filter capacitor C1, which can selectively pass or block current according to frequency, thereby improving signal quality and removing unnecessary frequency components. The resistance of the filter resistor R2 can be but is not limited to 100 ohms.

[0072] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure herein, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art that are not recorded in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. An infrared communication circuit for a water meter, characterized in that: It includes a transmitting unit, an infrared receiving tube, a receiving pin and a triode, among which: The transmitting unit is connected to the base of the triode; The first port of the infrared receiving tube is connected to the emitter of the triode; the second port of the infrared receiving tube is connected to the ground terminal; the third port of the infrared receiving tube is connected to the power supply voltage; The collector of the transistor is connected to the receiving pin and to the power supply voltage.

2. The infrared communication circuit for water meter according to claim 1, characterized in that: The transmitting unit includes an infrared transmitting tube, a transmitting pin and a modulating pin, wherein: The anode of the infrared emitting tube is connected to the modulation pin; The cathode of the infrared emitting tube is connected to the emitting pin and to the base of the triode.

3. The infrared communication circuit for water meter according to claim 2, characterized in that: The transmitting unit further includes a first current limiting resistor, wherein: One end of the first current limiting resistor is connected to the modulation pin, and the other end of the first current limiting resistor is connected to the infrared emitting tube.

4. The infrared communication circuit for a water meter according to claim 2, characterized in that: The infrared communication circuit further comprises a second current limiting resistor, wherein: One end of the second current limiting resistor is connected to the transmitting pin and connected to the infrared transmitting tube; The other end of the second current limiting resistor is connected to the base of the transistor.

5. The infrared communication circuit for water meter according to claim 1, characterized in that: The infrared communication circuit further includes a pull-up resistor, wherein: One end of the pull-up resistor is connected to the receiving pin, and the other end of the pull-up resistor is connected to the power supply voltage.

6. The infrared communication circuit for a water meter according to claim 1, characterized in that: The infrared communication circuit further includes a filter resistor and a filter capacitor, wherein: One end of the filter resistor is connected to the third port of the infrared receiving tube and to the filter capacitor; The other end of the filter resistor is connected to the power supply voltage; The filter capacitor is connected to the third port of the infrared receiving tube and is also connected to the ground terminal.

7. The infrared communication circuit for a water meter according to claim 1, characterized in that: The transistor is an NPN transistor.

8. The infrared communication circuit for a water meter according to claim 1, characterized in that: The power supply voltage is 3.3 volts.

9. The infrared communication circuit for a water meter according to claim 6, characterized in that: The filter capacitor is 0.1 microfarad.

10. The infrared communication circuit for a water meter according to claim 6, characterized in that: The resistance of the filter resistor is 100 ohms.