CN110009898B - Infrared receiving device and infrared receiving system - Google Patents

Infrared receiving device and infrared receiving system Download PDF

Info

Publication number
CN110009898B
CN110009898B CN201910354772.8A CN201910354772A CN110009898B CN 110009898 B CN110009898 B CN 110009898B CN 201910354772 A CN201910354772 A CN 201910354772A CN 110009898 B CN110009898 B CN 110009898B
Authority
CN
China
Prior art keywords
level signal
auxiliary resistor
level
infrared
auxiliary
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.)
Active
Application number
CN201910354772.8A
Other languages
Chinese (zh)
Other versions
CN110009898A (en
Inventor
肖国庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jiayu Mechatronic Co ltd
Original Assignee
Shenzhen Jiayu Mechatronic Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Jiayu Mechatronic Co ltd filed Critical Shenzhen Jiayu Mechatronic Co ltd
Priority to CN201910354772.8A priority Critical patent/CN110009898B/en
Publication of CN110009898A publication Critical patent/CN110009898A/en
Application granted granted Critical
Publication of CN110009898B publication Critical patent/CN110009898B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/16Circuits

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Electronic Switches (AREA)
  • Light Receiving Elements (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

Abstract

The invention discloses an infrared receiving device and an infrared receiving system, wherein the infrared receiving device comprises: the first level signal input end is used for accessing a first level signal; the adjusting circuit is used for defining the default level of the first level signal and comprises a change-over switch and an auxiliary resistance unit, one end of the auxiliary resistance unit is electrically connected with the first level signal input end, the other end of the auxiliary resistance unit is electrically connected with the fixed end of the change-over switch, the movable end of the change-over switch is connected to the grounding end or the first power supply voltage end, and the movable end of the change-over switch corresponds to the PNP and NPN type output infrared photoelectric switches respectively; the level conversion circuit is electrically connected with the first level signal input end and the second level signal output end respectively and is used for converting the first level signal into the second level signal. According to the technical scheme of the invention, the compatibility problem of switching and signal receiving of the infrared photoelectric switches with different output types can be well solved.

Description

Infrared receiving device and infrared receiving system
Technical Field
The invention relates to the field of gate channels, in particular to an infrared receiving device and an infrared receiving system.
Background
The existing infrared gate channel control system generally has 2 output type infrared photoelectric switches of NPN type and PNP type, and the signals sent by the 2 photoelectric switches are different, so that the gate channel control system cannot be compatible, and different photoelectric switches are generally implemented by using different circuits at present. Drawbacks of the prior art solutions include:
1. different photoelectric switches are used, and different infrared conversion circuits are needed to be used;
2. different infrared conversion circuits are different, and different gate control systems are needed to be manufactured.
Disclosure of Invention
Aiming at the problems in the background technology, the invention provides an infrared receiving device and an infrared receiving system which can be compatible with photoelectric switches with different output types and can switch between a high-level signal state and a low-level signal state and detect the signals.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
an infrared receiving device comprises a first level signal input end, an adjusting circuit, a level converting circuit and a second level signal output end,
the first level signal input end is used for accessing a first level signal output by the infrared photoelectric switch;
the adjusting circuit is used for defining a default level of the first level signal, and comprises a change-over switch and at least one path of auxiliary resistance unit, wherein one end of each path of auxiliary resistance unit is electrically connected with the first level signal input end, the other end of each path of auxiliary resistance unit is electrically connected with the fixed end of the change-over switch, and the movable end of the change-over switch is connected to the grounding end or the first power supply voltage end and corresponds to PNP and NPN type output infrared photoelectric switches respectively;
the level conversion circuit is respectively connected with the first level signal input end and the second level signal output end and is used for converting the first level signal into the second level signal and outputting the second level signal through the second level signal output end.
Further, the level conversion circuit comprises a level conversion chip, and the level conversion chip adopts a first power supply voltage and a second power supply voltage to supply power simultaneously; wherein the first supply voltage is different from the second supply voltage.
Further, each path of auxiliary resistor unit comprises an auxiliary resistor, one end of the auxiliary resistor is connected with the first level signal input end, and the other end of the auxiliary resistor is connected with the fixed end of the change-over switch; the input end of the level conversion chip is directly connected with the first level signal input end.
Further, the adjusting circuit comprises a plurality of auxiliary resistor units, one end of each auxiliary resistor is connected to the fixed end of the change-over switch, and the other end of each auxiliary resistor is respectively connected with the corresponding first level signal input end.
Further, each path of auxiliary resistor unit comprises two auxiliary resistors, namely a first auxiliary resistor and a second auxiliary resistor,
the first level signal input end is respectively connected with one ends of the first auxiliary resistor and the second auxiliary resistor, and the other ends of the first auxiliary resistor and the second auxiliary resistor are connected to the input end of the level conversion chip;
the first auxiliary resistor is also connected to the fixed end of the change-over switch through a first diode; the second auxiliary resistor is also connected to the fixed end of the change-over switch through a second diode.
Further, the level conversion chip is a photoelectric coupler, a light emitting end of the photoelectric coupler is used as an input end of the level conversion chip and is powered by the first power supply voltage, and a light receiving end of the photoelectric coupler is used as an output end of the level conversion chip and is powered by the second power supply voltage; the first auxiliary resistor and the second auxiliary resistor are both connected to the light emitting end.
Further, the adjusting circuit comprises a plurality of auxiliary resistor units, wherein one end of the first auxiliary resistor and one end of the second auxiliary resistor in each auxiliary resistor unit are connected to the fixed end of the change-over switch through the corresponding first diode and second diode respectively; the other ends of the first auxiliary resistor and the second auxiliary resistor are connected in parallel and then are used for being connected with the corresponding first level signal input ends.
The infrared receiving system comprises an infrared photoelectric switch, a detection module and the infrared receiving device, wherein the infrared receiving device comprises a first level signal input end and a second level signal output end;
the output end of the infrared photoelectric switch is electrically connected with the first level signal input end, and the input end of the detection module is electrically connected with the second level signal output end and is used for detecting the change of the second level signal and controlling an external system to respond.
Further, the infrared photoelectric switch is powered by a first power supply voltage; the detection module is powered by a second power supply voltage.
Further, the detection module comprises a singlechip for identifying the change of the level signal.
The infrared receiving device and the infrared receiving system provided by the invention can detect signals output by the infrared photoelectric switches with different output types, and can be compatible with the infrared photoelectric switches with NPN and PNP output types.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope of the present invention.
Fig. 1 is a schematic diagram of a first structure of an infrared receiving device according to embodiment 1 of the present invention;
fig. 2 is a schematic diagram of a second structure of an infrared receiving device according to embodiment 1 of the present invention;
fig. 3 is a schematic structural diagram of an infrared receiving device according to embodiment 2 of the present invention;
fig. 4 is a schematic structural diagram of an infrared receiving system according to embodiment 3 of the present invention.
Detailed Description
Hereinafter, various embodiments of the present invention will be described more fully. The invention is capable of various embodiments and of modifications and variations therein. However, it should be understood that: there is no intention to limit the various embodiments of the invention to the specific embodiments disclosed herein, but rather the invention is to be understood to cover all modifications, equivalents, and/or alternatives falling within the spirit and scope of the various embodiments of the invention.
Hereinafter, the terms "comprises" or "comprising" as may be used in various embodiments of the present invention indicate the presence of the disclosed functions, operations or elements, and are not limiting of the addition of one or more functions, operations or elements. Furthermore, as used in various embodiments of the invention, the terms "comprises," "comprising," and their cognate terms are intended to refer to a particular feature, number, step, operation, element, component, or combination of the foregoing, and should not be interpreted as first excluding the existence of or increasing likelihood of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
In various embodiments of the invention, the expression "or" at least one of a or/and B "includes any or all combinations of the words listed simultaneously. For example, the expression "a or B" or "at least one of a or/and B" may include a, may include B or may include both a and B.
Expressions (such as "first", "second", etc.) used in the various embodiments of the invention may modify various constituent elements in the various embodiments, but the respective constituent elements may not be limited. For example, the above description does not limit the order and/or importance of the elements. The above description is only intended to distinguish one element from another element. For example, the first user device and the second user device indicate different user devices, although both are user devices. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of various embodiments of the present invention.
It should be noted that: in the present invention, unless explicitly specified and defined otherwise, terms such as "mounted," "connected," "secured," and the like are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium; may be a communication between the interiors of the two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, it should be understood by those of ordinary skill in the art that the terms indicating an orientation or a positional relationship are based on the orientation or positional relationship shown in the drawings, and are merely for convenience of description and simplicity of description, not to indicate or imply that the apparatus or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the invention.
The terminology used in the various embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the various embodiments of the invention. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the invention belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having a meaning that is the same as the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in connection with the various embodiments of the invention.
Example 1
Fig. 1 shows a schematic structural diagram of an infrared receiving device according to an embodiment of the present invention, where the infrared receiving device 10 includes a first level signal input end IN, an adjusting circuit 101, a level converting circuit 102 and a second level signal output end OUT, which are electrically connected IN sequence and together support the operation of the infrared receiving device 10.
In this embodiment, the output types of the infrared photoelectric switch include NPN type and PNP type. For example, when the infrared photoelectric switch is of an NPN output type, the output signal of the switch is in a low-level and high-impedance suspended state under the open output; when the PNP type infrared photoelectric switch is used, the output signal of the PNP type infrared photoelectric switch comprises a high level state and a high impedance suspended state under the open set output. And when the infrared photoelectric switch is not in an open set output, the infrared photoelectric switch can output two states of high level and low level. It should be understood that the open-collector output referred to herein refers to an output form resembling an open collector of a transistor, i.e. without a collector resistor on the collector, but rather directed to the outside as an output. Therefore, a pull-up resistor is externally connected to form a complete logic circuit for the normal operation of the device.
The first level signal input terminal IN is used for accessing the first level signal output by the infrared photoelectric switch. The adjusting circuit 101 is electrically connected to the first level signal input terminal IN, and is used for defining a default level of the accessed first level signal. The level conversion circuit 102 is connected to the first level signal input terminal and the second level signal output terminal, respectively, and is configured to convert the first level signal into the second level signal. The second level signal output terminal OUT is used for accessing the second level signal output by the level conversion circuit 102 to the detection module for detection.
In this embodiment, the adjusting circuit 101 includes a switch and at least one auxiliary resistor unit, and each auxiliary resistor unit includes an auxiliary resistor. The switch is used for switching the high level and the low level of the circuit, and the auxiliary resistance unit is used for defining and limiting the potential. It will be appreciated that if the connected ir photoelectric switch is an open output, the auxiliary resistor will become the external pull-up resistor described above. Illustratively, the switch may be a conventional two-way switch, such as a two-way switch. And the auxiliary resistor R can use resistors with different resistance values such as 10K-20K.
In this embodiment, the level conversion circuit 102 adopts a level conversion chip, and the level conversion chip adopts a first power supply voltage VCC1 and a second power supply voltage to perform VCC2 to supply power simultaneously; wherein the first power supply voltage VCC1 is different from the second power supply voltage VCC2, i.e. the magnitudes are different. For example, the level conversion chip may be a level converter of a different model, such as MC14504, or may be a level conversion chip of another model of another brand, which may be specifically selected according to actual needs, and therefore is not limited herein.
As shown IN fig. 2, the adjusting circuit 101 includes a switch SW1 and an auxiliary resistor R, wherein one end of the auxiliary resistor R is electrically connected to the first level signal input terminal IN, the other end of the auxiliary resistor R is electrically connected to the fixed end of the switch SW1, and the movable end of the switch SW1 is connected to the ground or the first power supply voltage terminal, which corresponds to the PNP and NPN output types of the infrared photoelectric switches, respectively. The input end of the level conversion chip is directly connected to the corresponding first level signal input end IN, and the first supply voltage end is used for being connected with a first supply voltage VCC1.
Specifically, when the infrared photoelectric switch is an NPN-type open-collector output, the output has two states of low level and high impedance floating, wherein the change-over switch SW1 is turned on with the first power supply voltage terminal for providing the high level voltage in consideration of detection of the high impedance floating state.
When the infrared photoelectric switch is PNP type open-collector output, the output of the infrared photoelectric switch is in a high-level and high-impedance suspended state, wherein the detection of the high-impedance suspended state is considered, and the change-over switch SW1 is connected with the grounding terminal at the moment and used for providing low-level voltage.
For the first case described above, i.e. the infrared photoelectric switch is an NPN type open output, then there are: when the infrared photoelectric switch outputs, namely outputs a low level, the first level signal accessed at the moment is a low level, and then the first level signal is converted into a second level signal through the level conversion circuit 102 and is provided for a CPU of the detection module to be detected. When the infrared photoelectric switch does not output, namely, is in a high-impedance suspended state, the output is pulled up to the first power supply voltage VCC1 by the auxiliary resistor R, at the moment, the first level signal is high level, and then is converted into the second level signal through the level conversion circuit 102 and is provided for the CPU of the detection module for detection. The detection module mainly comprises a CPU single chip microcomputer and is used for detecting the change of the second level signal.
For the second case described above, i.e. the infrared photoelectric switch is a PNP-type open-set output, then there is: when the infrared photoelectric switch outputs, namely outputs high level, the first level signal accessed at the moment is high level, and then the first level signal is converted into the second level signal through the level conversion circuit 102 and is provided for the CPU of the detection module to detect. When the infrared photoelectric switch does not output, namely, is in a high-impedance suspended state, the output is pulled down to the ground by the auxiliary resistor R, at the moment, the first level signal is low level, and then is converted into the second level signal through the level conversion circuit 102 and is provided for the CPU of the detection module for detection.
When the infrared photoelectric switch is not in the open-set output, the output of the infrared photoelectric switch is in a low level state and a high level state, no matter in an NPN type or a PNP type, and the resistance value of the auxiliary resistor R is large, so that the output state of the infrared photoelectric switch cannot be changed, the change-over switch SW1 is connected to the ground terminal or the first power supply voltage terminal and does not generate a level signal influencing the input, namely, the first level signal connected in the adjusting circuit 101 is determined by the output of the infrared photoelectric switch. For example, when the output signal of the infrared photoelectric switch is at a high level, the first level signal accessed by the adjusting circuit 101 is at a high level; when the output signal of the infrared photoelectric switch is at a low level, the first level signal accessed by the adjusting circuit 101 is at a low level in the same manner.
In the embodiment of the invention, the infrared photoelectric switch uses a first power supply voltage VCC1, for example, 12V, and the CPU of the detection module may use a second power supply voltage VCC2 smaller than the first power supply voltage VCC1 to supply power, for example, 3.3V,5V, etc. Exemplarily, the circuit logic correspondence relationship of the infrared receiving circuit is: when a high level is input (VCC 1=12v), the output is a high level (VCC 2=3.3v); when a low level is input (VCC 1=12v), the output is a low level (VCC 2=3.3v). Because the high level and the low level can be converted and input, the CPU can detect different types of infrared photoelectric switch signals output by the high level and the low level and control the corresponding infrared receiving system to respond.
As a further preferred option, the infrared receiving device 10 may further comprise a plurality of auxiliary circuit units, i.e. a plurality of auxiliary resistors R, when it is desired to detect the output signals of the plurality of infrared photoelectric switches simultaneously. One end of each auxiliary resistor R is connected to the fixed end of the switch SW1, and the other end is respectively connected to the corresponding first level signal input end IN, so as to form parallel multi-path infrared photoelectric switch receiving conversion, and the paths do not affect each other. It will be appreciated that only one of the switches SW1 is required, i.e. sharing of the switch SW1 is achieved.
Through the infrared receiving device provided by the embodiment of the invention, the signal level of the infrared photoelectric switch of the first level is converted into the second level which can be detected by the CPU, meanwhile, the switch and the auxiliary resistor are adopted to meet different types of infrared photoelectric switches, so that the compatible detection of two signal states of high level and low level is realized, and the device has better engineering practicability, reduced cost and the like. In addition, a plurality of circuits can be simultaneously connected in parallel, only one change-over switch is needed for the multi-path infrared photoelectric switch signals, the paths are not mutually influenced, the resource sharing is realized, and the cost is further reduced.
Example 2
Referring to fig. 3, an embodiment of the present invention provides an infrared receiving device, which is different from embodiment 1 above in that each path of auxiliary resistor unit in the adjusting circuit 101 includes two auxiliary resistors, a first auxiliary resistor R1 and a second auxiliary resistor R2, respectively, and the level conversion chip is implemented by using a photo coupler U1. The light emitting end of the photo coupler U1 is used as an input end of the level conversion chip and is powered by a first power supply voltage VCC1, and the light receiving end of the photo coupler U1 is used as an output end of the level conversion chip and is powered by a second power supply voltage VCC 2.
Exemplarily, as shown IN fig. 3, the input terminal of the level shift chip, that is, the light emitting terminal is connected to one ends of the first auxiliary resistor R1 and the second auxiliary resistor R2, respectively, and the other ends of the first auxiliary resistor R1 and the second auxiliary resistor R2 are connected to the first level signal input terminal IN. The first auxiliary resistor R1 is also connected to the fixed end of the change-over switch SW1 through a first diode D1; the second auxiliary resistor R2 is also connected to the fixed end of the switch SW1 through a second diode D2. The movable end of the change-over switch SW1 is connected to the grounding end or the first power supply voltage end and corresponds to PNP and NPN type output infrared photoelectric switches respectively. Further, the fixed end of the switch SW1 is respectively connected with the anode of the first diode D1 and the cathode of the second diode D2, the cathode of the first diode D1 is simultaneously connected with one end of the first auxiliary resistor R1 and the anode of the light emitting end of the photo coupler U1, and the other end of the first auxiliary resistor R1 is connected with the first level signal input end IN; the anode of the second diode D2 is connected to both one end of the second auxiliary resistor R2 and the cathode of the light emitting end of the photo coupler U1.
The light receiving end of the photo coupler U1 is powered by a second power supply voltage VCC2 and is output connected with a pull-up resistor R3, wherein the second power supply voltage VCC2 is unequal to the first power supply voltage VCC1 of the light emitting end. The second level signal output end OUT is connected with the light receiving end of the photoelectric coupler U1 and is used for receiving the second level signal and outputting the second level signal to the detection module.
In the embodiment of the invention, the optocoupler U1 is simply called an optocoupler, which is a device for transmitting electric signals by taking light as a medium, and encapsulates an infrared Light Emitting Diode (LED) serving as a light emitter and a photosensitive semiconductor tube or a photosensitive resistor serving as a light receiver in the same tube shell container. The optical coupler is divided into an optical transmitting end and an optical receiving end, when the optical transmitting end is powered on, light is emitted, and the optical receiving end receives the light and then generates photocurrent and flows out of the output end, so that 'electric-optical-electric' conversion is realized, and the signal coupling of the input end to the output end by taking light as a medium is realized.
In this embodiment, the first power supply voltage terminal is used to provide the high level voltage when the switch SW1 is turned on; the ground GND1 is used for providing a low level voltage when the switch SW1 is turned on.
For example, if the infrared photoelectric switch is an NPN open-collector output, the output has two states of low level and high impedance floating, and at this time, the switch SW1 is connected to the first supply voltage terminal to be used for providing the high level voltage. Specifically, when the infrared photoelectric switch has an output, i.e. the low level is active, the current is shunted after passing through the first power supply voltage terminal, the switch SW1 and the first diode D1, wherein one part of the current passes through the first auxiliary resistor R1 and returns to the first level signal input terminal IN, and the other part of the current passes through the light emitting terminal of the photoelectric coupler U1 and the second auxiliary resistor R2 and returns to the first level signal input terminal IN. Then, the light receiving terminal of the photo coupler U1 detects the current signal and outputs the detected second level signal through the second level signal output terminal OUT to be supplied to the CPU for detection. When the first level signal input terminal IN has no input signal, the light emitting terminal of the photo coupler U1 has no current, so the light receiving terminal cannot detect the current signal and no detection signal is output.
It should be understood that if the infrared photoelectric switch is a PNP type open-collector output, the output is high, and since the first level signal input terminal IN and the first power supply voltage terminal are both high, the positive and negative poles of the light emitting terminal of the photoelectric coupler U1 are both high, and no loop current can be formed. Then, the second level signal output terminal OUT is maintained in a high level state by the pull-up resistor R3, and the CPU cannot detect the valid signal.
When the infrared photoelectric switch is a PNP type open-collector output, the output has two states of high level and high impedance, and at this time, the switch SW1 is connected to the ground terminal to provide a low level voltage. Specifically, when the infrared photoelectric switch has an output, i.e. the high level is effective, at this time, a current is output from the first level signal input terminal IN, a part of the current flows through the second auxiliary resistor R2 and then flows to the second diode D2, another part of the current flows through the first auxiliary resistor R1 and the light emitting terminal of the photoelectric coupler U1 and then flows to the second diode D2, and finally flows through the switch SW1 to the ground terminal. Then, the light receiving terminal of the photo coupler U1 detects the current signal and outputs the detected second level signal through the second level signal output terminal OUT to be supplied to the CPU for detection. Similarly, when the first level signal input terminal IN has no input signal, the light emitting terminal of the photo coupler U1 has no current, so the light receiving terminal cannot detect the current signal and no detection signal is output.
It should be understood that if the infrared photoelectric switch is a PNP type open output, the output is high, and since the first level signal input terminal IN and the ground terminal GND1 are both low, the positive and negative poles of the light emitting terminal of the photoelectric coupler U1 are both low, and no loop current can be formed. Then, the second level signal output terminal OUT is maintained in a high level state by the pull-up resistor R3, and the CPU cannot detect the valid signal.
It can be understood that the first diode D1 and the second diode D2 perform a switching function, each input signal has 2 diodes, and the unidirectional conductivity of the diodes realizes the function of controlling the connection object of the switch SW1 to adapt to the PNP and NPN output type infrared photoelectric switches. The first auxiliary resistor R1 and the second auxiliary resistor R2 also play a role in current limiting protection.
In this embodiment, the light emitting end and the light receiving end of the photocoupler respectively use different power supply voltages, so that the conversion between the first level signal and the second level signal can be realized. The photoelectric coupler U1 is used for converting effective signals output by the PNP and NPN type infrared photoelectric switches into low-level second-level signals for detection by the CPU, and meanwhile, the photoelectric coupler U1 is used for isolating input signals from output signals, so that the reliability of a circuit is improved, and the like.
As a further preferred solution, when it is required to detect the output signals of multiple infrared photoelectric switches at the same time, the adjusting circuit 101 in the infrared receiving device may include multiple auxiliary resistor units, where each auxiliary resistor unit corresponds to a photoelectric coupler U1. As shown IN fig. 3, for each path of auxiliary resistor unit, one ends of the first auxiliary resistor R1 and the second auxiliary resistor R2 are respectively connected to the fixed end of the switch SW1 through the corresponding first diode D1 and the second diode D2 to realize the sharing of the switch SW1, and the other ends of the first auxiliary resistor R1 and the second auxiliary resistor R2 are connected IN parallel and then are used for connecting the first level signal input ends IN corresponding to each path of auxiliary resistor unit. Thus, parallel multi-path infrared photoelectric switch receiving conversion can be formed, and the paths do not influence each other.
The infrared receiving device provided by the embodiment of the invention can be compatible with signal receiving and conversion of different types of infrared photoelectric switches, and can convert level signals generated by different types of infrared photoelectric switches into low level signals for subsequent CPU detection by adopting the photoelectric coupler, and can isolate input and output by using the photoelectric coupler, so that the reliability of a circuit and the like are improved. In addition, a plurality of circuits can be parallel at the same time, only one change-over switch SW1 is needed for a plurality of paths of infrared photoelectric switch signals, the paths are not mutually affected, and the like, so that the resource sharing of a switch, a power supply and the like is realized, and the cost and the like are further reduced.
Example 3
Referring to fig. 4, the embodiment of the invention further provides an infrared receiving system 100, where the infrared receiving system 100 includes an infrared photoelectric switch 20, a detection module 30 and an infrared receiving device 10, and the infrared receiving device 10 may adopt the infrared receiving device in the above embodiment 1 or embodiment 2.
Specifically, the infrared receiving device 10 includes a first level signal input terminal IN and a second level signal output terminal OUT. The output end of the infrared photoelectric switch 20 is electrically connected to the first level signal input end IN, and the input end of the detection module 30 is electrically connected to the second level signal output end OUT, so as to detect the change of the second level signal and control the external system to respond.
In this embodiment, the infrared photoelectric switch 20 is powered by a first power supply voltage VCC1, and the detection module 30 is powered by a second power supply voltage VCC 2. The detection module 30 includes a single chip microcomputer for identifying the change of the level signal. It is understood that the infrared photoelectric switch 20 and the detection module 30 in this embodiment are the same as those in the above-described embodiment 1 or embodiment 2, and thus the description thereof will not be repeated here.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An infrared receiving device, comprising: a first level signal input end, an adjusting circuit, a level conversion circuit and a second level signal output end,
the first level signal input end is used for accessing a first level signal output by the infrared photoelectric switch;
the adjusting circuit is used for defining a default level of the first level signal, and comprises a change-over switch and at least one path of auxiliary resistance unit, wherein one end of each path of auxiliary resistance unit is electrically connected with the first level signal input end, the other end of each path of auxiliary resistance unit is electrically connected with the fixed end of the change-over switch, and the movable end of the change-over switch is connected to the grounding end or the first power supply voltage end and corresponds to PNP and NPN type output infrared photoelectric switches respectively;
the level conversion circuit is respectively connected with the first level signal input end and the second level signal output end and is used for converting the first level signal into the second level signal and outputting the second level signal through the second level signal output end.
2. The infrared receiver of claim 1, wherein the level shifting circuit comprises a level shifting chip that is powered simultaneously with a first supply voltage and a second supply voltage; wherein the first supply voltage is different from the second supply voltage.
3. The infrared receiver of claim 2, wherein each auxiliary resistor unit comprises an auxiliary resistor, one end of the auxiliary resistor is connected with the first level signal input end, and the other end of the auxiliary resistor is connected with the fixed end of the change-over switch; the input end of the level conversion chip is directly connected with the first level signal input end.
4. The infrared receiving device according to claim 3, wherein the adjusting circuit comprises a plurality of auxiliary resistors, one end of each auxiliary resistor is connected to the fixed end of the switch, and the other end is respectively connected to the corresponding first level signal input end.
5. The infrared receiver of claim 2, wherein each auxiliary resistor unit comprises two auxiliary resistors, a first auxiliary resistor and a second auxiliary resistor,
the first level signal input end is respectively connected with one ends of the first auxiliary resistor and the second auxiliary resistor, and the other ends of the first auxiliary resistor and the second auxiliary resistor are connected to the input end of the level conversion chip;
the first auxiliary resistor is also connected to the fixed end of the change-over switch through a first diode; the second auxiliary resistor is also connected to the fixed end of the change-over switch through a second diode.
6. The infrared receiving device according to claim 5, wherein the level conversion chip is a photo-coupler, a light emitting end of the photo-coupler is used as an input end of the level conversion chip and is powered by the first power supply voltage, and a light receiving end of the photo-coupler is used as an output end of the level conversion chip and is powered by the second power supply voltage; the first auxiliary resistor and the second auxiliary resistor are both connected to the light emitting end.
7. The infrared receiver of claim 5, wherein the adjustment circuit comprises a plurality of auxiliary resistor units, each auxiliary resistor unit corresponding to a photo coupler;
one end of the first auxiliary resistor and one end of the second auxiliary resistor in each path of auxiliary resistor unit are connected to the fixed end of the change-over switch through the corresponding first diode and second diode respectively; the other ends of the first auxiliary resistor and the second auxiliary resistor are connected in parallel and then are used for being connected with the corresponding first level signal input ends.
8. An infrared receiving system, comprising: an infrared photoelectric switch, a detection module and an infrared receiving device according to any one of claims 1-7, wherein the infrared receiving device comprises a first level signal input end and a second level signal output end;
the output end of the infrared photoelectric switch is electrically connected with the first level signal input end, and the input end of the detection module is electrically connected with the second level signal output end and is used for detecting the change of the second level signal and controlling an external system to respond.
9. The infrared receiving system according to claim 8, wherein the infrared photoelectric switch is powered by a first power supply voltage; the detection module is powered by a second power supply voltage.
10. The infrared receiving system according to claim 8, wherein the detection module includes a single-chip microcomputer for identifying a change in the level signal.
CN201910354772.8A 2019-04-29 2019-04-29 Infrared receiving device and infrared receiving system Active CN110009898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910354772.8A CN110009898B (en) 2019-04-29 2019-04-29 Infrared receiving device and infrared receiving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910354772.8A CN110009898B (en) 2019-04-29 2019-04-29 Infrared receiving device and infrared receiving system

Publications (2)

Publication Number Publication Date
CN110009898A CN110009898A (en) 2019-07-12
CN110009898B true CN110009898B (en) 2024-02-06

Family

ID=67175030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910354772.8A Active CN110009898B (en) 2019-04-29 2019-04-29 Infrared receiving device and infrared receiving system

Country Status (1)

Country Link
CN (1) CN110009898B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001217703A (en) * 2000-01-31 2001-08-10 Nippon Signal Co Ltd:The Dc signal receiving circuit
CN201210722Y (en) * 2008-02-29 2009-03-18 四川长虹电器股份有限公司 System auxiliary reset circuit
KR20120077130A (en) * 2010-12-30 2012-07-10 주식회사 디그린 Control device for auto table
CN203444468U (en) * 2013-09-27 2014-02-19 国家电网公司 Communication convertor
CN203466907U (en) * 2013-10-17 2014-03-05 福建捷联电子有限公司 Circuit structure capable of reducing remote-controller power-off power of display device
CN103684385A (en) * 2013-11-05 2014-03-26 杭州优迈科技有限公司 Anti-interference photoelectric switch circuit
CN203658773U (en) * 2013-11-29 2014-06-18 Tcl空调器(中山)有限公司 Signal control circuit and signal control device
CN203859335U (en) * 2014-04-22 2014-10-01 Tcl集团股份有限公司 Alternating-current power-saving switch control device
JP2014202632A (en) * 2013-04-05 2014-10-27 シャープ株式会社 Zero-crossing detection circuit
CN105446327A (en) * 2016-01-06 2016-03-30 青岛海信电器股份有限公司 Satellite control signal detection method and apparatus
CN106781424A (en) * 2017-01-09 2017-05-31 上海胤祺集成电路有限公司 Infrared receiving circuit
CN206370152U (en) * 2017-01-09 2017-08-01 上海胤祺集成电路有限公司 Infrared receiving circuit
CN206921254U (en) * 2017-05-11 2018-01-23 广州视琨电子科技有限公司 A kind of pulsed IR signal change-over circuit
CN108173537A (en) * 2018-01-02 2018-06-15 京东方科技集团股份有限公司 Restart circuit and electronic equipment
CN108181578A (en) * 2017-12-28 2018-06-19 珠海格力电器股份有限公司 Detection circuit and detection method of switch equipment and IO controller
CN209543569U (en) * 2019-04-29 2019-10-25 深圳市嘉昱机电有限公司 A kind of infrared receiving device and infrared receiving system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102175943B (en) * 2011-02-12 2013-12-11 中兴通讯股份有限公司 Load overcurrent protector state detection device and method

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001217703A (en) * 2000-01-31 2001-08-10 Nippon Signal Co Ltd:The Dc signal receiving circuit
CN201210722Y (en) * 2008-02-29 2009-03-18 四川长虹电器股份有限公司 System auxiliary reset circuit
KR20120077130A (en) * 2010-12-30 2012-07-10 주식회사 디그린 Control device for auto table
JP2014202632A (en) * 2013-04-05 2014-10-27 シャープ株式会社 Zero-crossing detection circuit
CN203444468U (en) * 2013-09-27 2014-02-19 国家电网公司 Communication convertor
CN203466907U (en) * 2013-10-17 2014-03-05 福建捷联电子有限公司 Circuit structure capable of reducing remote-controller power-off power of display device
CN103684385A (en) * 2013-11-05 2014-03-26 杭州优迈科技有限公司 Anti-interference photoelectric switch circuit
CN203658773U (en) * 2013-11-29 2014-06-18 Tcl空调器(中山)有限公司 Signal control circuit and signal control device
CN203859335U (en) * 2014-04-22 2014-10-01 Tcl集团股份有限公司 Alternating-current power-saving switch control device
CN105446327A (en) * 2016-01-06 2016-03-30 青岛海信电器股份有限公司 Satellite control signal detection method and apparatus
CN106781424A (en) * 2017-01-09 2017-05-31 上海胤祺集成电路有限公司 Infrared receiving circuit
CN206370152U (en) * 2017-01-09 2017-08-01 上海胤祺集成电路有限公司 Infrared receiving circuit
CN206921254U (en) * 2017-05-11 2018-01-23 广州视琨电子科技有限公司 A kind of pulsed IR signal change-over circuit
CN108181578A (en) * 2017-12-28 2018-06-19 珠海格力电器股份有限公司 Detection circuit and detection method of switch equipment and IO controller
CN108173537A (en) * 2018-01-02 2018-06-15 京东方科技集团股份有限公司 Restart circuit and electronic equipment
CN209543569U (en) * 2019-04-29 2019-10-25 深圳市嘉昱机电有限公司 A kind of infrared receiving device and infrared receiving system

Also Published As

Publication number Publication date
CN110009898A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
US7359640B2 (en) Optical coupling device and method for bidirectional data communication over a common signal line
US8541908B2 (en) Powered device capable of working in continuation in case of power failure
US10901041B2 (en) Semiconductor device, battery monitoring system and semiconductor device activation method
US8766221B1 (en) Isolation system for a bi-directional communication bus line
MXPA02002773A (en) I2C OPTOminus;ISOLATOR CIRCUIT.
US7359433B1 (en) Data transmission system
CN113606761A (en) Current loop communication circuit and air conditioner
US9603224B2 (en) Interface circuit for signal transmission
CN110009898B (en) Infrared receiving device and infrared receiving system
US11355946B2 (en) Communication architecture between ear bud device and charging device based on fewer pins
US8097841B2 (en) Conversion circuit for converting data of signal line between an air-conditioner and a computer
US6407402B1 (en) I2C opto-isolator circuit
CN111355593A (en) Support PD equipment of multi-mode PoE power supply
CN211702477U (en) Wireless weak current dry contact adapter
US9401821B2 (en) Powered device, power supply system, and operation mode selection method
CN209543569U (en) A kind of infrared receiving device and infrared receiving system
CN103118143A (en) Multiplex circuit of serial interface and Ethernet interface
CN210640867U (en) Conversion device and system for infrared photoelectric switch signals
RU63148U1 (en) PHYSICAL IMPLEMENTATION OF THE CAN 2.0V INTERFACE TRANSMITTER MODULE ON A TWO-WAY CURRENT LINE
CN220775389U (en) Solid-state circuit breaker with current direction protection
US20050100046A1 (en) Cross-level digital signal transmission devic
CN216313069U (en) Level conversion system
US20060020722A1 (en) Circuit of a serial communication port pair
CN217643546U (en) Multifunctional interface of projector and projector
CN217335574U (en) Communication circuit and equipment

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