CN113890610B - Infrared communication system, infrared communication method and electronic equipment - Google Patents

Infrared communication system, infrared communication method and electronic equipment Download PDF

Info

Publication number
CN113890610B
CN113890610B CN202111113713.5A CN202111113713A CN113890610B CN 113890610 B CN113890610 B CN 113890610B CN 202111113713 A CN202111113713 A CN 202111113713A CN 113890610 B CN113890610 B CN 113890610B
Authority
CN
China
Prior art keywords
infrared
circuit
signal
receiving
tube
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
CN202111113713.5A
Other languages
Chinese (zh)
Other versions
CN113890610A (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 JIAHUA LIDAO NEW TECHNOLOGY DEVELOPMENT CO LTD
Original Assignee
SHENZHEN JIAHUA LIDAO NEW TECHNOLOGY DEVELOPMENT 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 JIAHUA LIDAO NEW TECHNOLOGY DEVELOPMENT CO LTD filed Critical SHENZHEN JIAHUA LIDAO NEW TECHNOLOGY DEVELOPMENT CO LTD
Priority to CN202111113713.5A priority Critical patent/CN113890610B/en
Publication of CN113890610A publication Critical patent/CN113890610A/en
Application granted granted Critical
Publication of CN113890610B publication Critical patent/CN113890610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/114Indoor or close-range type systems
    • H04B10/1141One-way transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/50Transmitters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/60Receivers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The application discloses an infrared communication system, an infrared communication method and electronic equipment. The infrared communication system comprises an infrared transmitting circuit, an infrared receiving circuit and a signal processing circuit, wherein the signal processing circuit is connected with the infrared transmitting circuit, the signal processing circuit is used for sending an infrared transmitting driving signal to the infrared transmitting circuit, the infrared transmitting circuit is used for transmitting at least one transmitting signal according to the infrared transmitting driving signal, the infrared receiving circuit is used for receiving at least one receiving signal and sending the at least one receiving signal to the signal processing circuit, the signal processing circuit comprises at least one logic gate circuit, and the signal processing circuit is further used for outputting a target receiving signal according to the at least one receiving signal; therefore, mutual interference among circuits is reduced, the accuracy of signal transmission is ensured, and the reliability of infrared communication is ensured.

Description

Infrared communication system, infrared communication method and electronic equipment
Technical Field
The present application relates to the field of electronic circuit technologies, and in particular, to an infrared communication system, an infrared communication method, and an electronic device.
Background
In the related art, in order to increase the coverage of infrared communication, it is necessary to provide a plurality of infrared transmitting tubes and/or a plurality of infrared receiving tubes. However, since the level signals of the plurality of infrared transmitting tubes or the plurality of infrared receiving tubes are not completely synchronized, when the plurality of infrared transmitting tubes or the plurality of infrared receiving tubes are used in the circuit, a situation in which line interference easily occurs between the plurality of infrared transmitting tubes or between the plurality of infrared receiving tubes may occur, and in a serious situation, a short circuit may even occur. Therefore, it is an urgent need to solve the problem of reducing the line interference between a plurality of infrared transmitting tubes or between a plurality of infrared receiving tubes while increasing the coverage of infrared communication.
Disclosure of Invention
The embodiment of the application provides an infrared communication system, which is beneficial to reducing mutual interference among circuits and ensuring reliability of infrared communication.
A first aspect of an embodiment of the present application provides an infrared communication system, including: an infrared transmitting circuit, an infrared receiving circuit and a signal processing circuit, wherein,
the signal processing circuit is connected with the infrared emission circuit and is used for sending an infrared emission driving signal to the infrared emission circuit;
the infrared emission circuit comprises at least one infrared emission tube and is used for emitting at least one emission signal according to the infrared emission driving signal;
the infrared receiving circuit comprises at least one infrared receiving tube, the infrared receiving circuit is connected with the signal processing circuit, and the infrared receiving circuit is used for receiving at least one receiving signal and sending the at least one receiving signal to the signal processing circuit;
the signal processing circuit comprises at least one logic gate circuit and is further used for outputting a target receiving signal according to the at least one receiving signal.
In one embodiment, the signal processing circuit is configured to:
determining an idle state of the infrared receiving circuit;
and determining the type of the logic gate circuit according to the idle state.
In one embodiment, the logic gate circuit comprises at least one of: and gate circuits and or gates.
In one embodiment, the signal processing circuit further comprises at least one switching circuit.
In one embodiment, the infrared receiving circuit includes a first infrared receiving tube and a second infrared receiving tube, and the infrared receiving circuit is configured to start the first infrared receiving tube according to a first start signal, and to close the first infrared receiving tube and/or start the second infrared receiving tube when the first infrared receiving tube does not receive the receiving signal for more than a first preset time.
In one embodiment, the infrared transmitting circuit includes a first infrared transmitting tube and a second infrared transmitting tube, and the infrared transmitting circuit is configured to start the first infrared transmitting tube according to a second start signal, and is configured to turn off the first infrared transmitting tube and/or turn on the second infrared transmitting tube when the infrared receiving circuit does not receive a feedback signal of the transmitting signal for more than a second preset time.
In one embodiment, the infrared emission circuit comprises a plurality of infrared emission tubes uniformly distributed on the emission surface.
In one embodiment, the infrared receiving circuit comprises a plurality of infrared receiving tubes which are uniformly distributed on the receiving surface
A second aspect of the present application provides an infrared communication method applied to the infrared communication system disclosed in the first aspect of the present application, where the infrared communication method includes:
starting a first infrared receiving tube according to the first starting signal;
when the first infrared receiving tube does not receive the receiving signal after exceeding the first preset time, closing the first infrared receiving tube and/or opening a second infrared receiving tube; alternatively, the first and second liquid crystal display panels may be,
starting the first infrared transmitting tube according to the second starting signal;
and when the infrared receiving circuit does not receive the feedback signal of the transmitting signal within the second preset time, closing the first infrared transmitting tube and/or opening the second infrared transmitting tube.
A third aspect of the present application provides an electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the infrared communication method as disclosed in the second aspect of the embodiments of the present application.
In an embodiment of the present application, an infrared communication system includes: the infrared emission circuit comprises at least one infrared emission tube, the infrared emission circuit is used for emitting at least one emission signal according to the infrared emission driving signal, the infrared receiving circuit comprises at least one infrared receiving tube, the infrared receiving circuit is connected with the signal processing circuit, the infrared receiving circuit is used for receiving at least one receiving signal and sending the at least one receiving signal to the signal processing circuit, the signal processing circuit comprises at least one logic gate circuit, and the signal processing circuit is further used for outputting a target receiving signal according to the at least one receiving signal; so, on the one hand, adopt logic gate circuit in signal processing circuit, be favorable to reducing the mutual interference between the circuit, ensure signal transmission's accuracy, ensure infrared communication's reliability, on the other hand, infrared transmitting circuit includes at least one infrared transmitting tube, and infrared receiving circuit includes at least one infrared receiving tube, is favorable to increasing infrared communication's coverage, is favorable to improving infrared communication's convenience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings referred to in the embodiments or the background art of the present application will be briefly described below.
Fig. 1 is a schematic structural diagram of an infrared communication system according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an infrared communication mechanism according to an embodiment of the present application;
fig. 3 is a schematic circuit diagram of an infrared communication system according to an embodiment of the present disclosure;
FIG. 4 is a circuit diagram of a signal processing circuit according to an embodiment of the present disclosure;
fig. 5 is a schematic circuit diagram of an infrared communication system according to an embodiment of the present disclosure;
fig. 6 is a schematic circuit diagram of an infrared receiving circuit according to an embodiment of the present disclosure;
FIG. 7 is a schematic circuit diagram of an infrared emitting circuit according to an embodiment of the present disclosure;
fig. 8 is a schematic circuit diagram of an infrared communication system according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of an infrared emitting surface provided in an embodiment of the present application;
FIG. 10 is a schematic view of a red-receiving face configuration provided by an embodiment of the present application;
fig. 11A is a schematic flowchart of an infrared communication method according to an embodiment of the present application;
fig. 11B is a schematic flowchart of an infrared communication method according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, system, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an infrared communication system 10 according to an embodiment of the present disclosure. The infrared communication system 10 includes an infrared transmitting circuit 110, an infrared receiving circuit 120 and a signal processing circuit 130, wherein the signal processing circuit 130 is connected to the infrared transmitting circuit 110, the signal processing circuit 130 is configured to send an infrared transmitting driving signal to the infrared transmitting circuit 110, the infrared transmitting circuit 110 includes at least one infrared transmitting tube, the infrared transmitting circuit 110 is configured to transmit at least one transmitting signal according to the infrared transmitting driving signal, the infrared receiving circuit 120 includes at least one infrared receiving tube, the infrared receiving circuit 120 is connected to the signal processing circuit 130, the infrared receiving circuit 120 is configured to receive at least one receiving signal and send the at least one receiving signal to the signal processing circuit 130, the signal processing circuit 130 includes at least one logic gate, and the signal processing circuit 130 is further configured to output a target receiving signal according to the at least one receiving signal.
Specifically, referring to fig. 2, when using infrared light beams for communication, it is necessary to ensure that the signal receiving area of the infrared receiving tube and the signal transmitting area of the infrared transmitting tube at least partially overlap. In the related art, in order to increase the coverage area of infrared communication, an optical device is generally used to diffuse or diffuse an infrared beam, or a steering engine is mounted on a fixed support of an infrared transmitting tube or an infrared receiving tube, and the steering engine is moved to adjust the angle of the infrared transmitting tube or the infrared receiving tube. However, with the optical device solution, it is difficult to expand the infrared coverage to any angle. The scheme of increasing the steering engine needs to correspondingly increase a motor for driving the steering engine, so that the structure of a driving circuit and a product is more complicated, and the anti-seismic performance of the product is reduced.
In this embodiment, the infrared transmitting circuit 110 includes at least one infrared transmitting tube, the infrared transmitting circuit 110 is connected to the signal processing circuit 130, the signal processing circuit 130 encodes the infrared transmitting driving signal and then sends the encoded infrared transmitting driving signal to the infrared transmitting circuit 110, and the infrared transmitting circuit 110 receives the infrared transmitting driving signal and controls the at least one infrared transmitting tube to transmit the transmitting signal according to the infrared transmitting driving signal.
One or more infrared emission tubes may be provided, which is not limited herein. In the case where there is one infrared transmitting tube in the infrared transmitting circuit 110, correspondingly, the transmitting signals transmitted by the infrared transmitting circuit 110 are one at a time. In the case where there are a plurality of infrared transmitting tubes in the infrared transmitting circuit 110, one or more transmitting signals may be transmitted from the infrared transmitting circuit 110 at the same time.
The infrared receiving circuit 120 includes at least one infrared receiving tube, the infrared receiving circuit 120 is connected to the signal processing circuit 130, the infrared receiving circuit 120 receives a receiving signal through the infrared receiving tube and sends the receiving signal to the signal processing circuit 130, and the signal processing circuit 130 processes the receiving signal and outputs a target receiving signal.
One or more infrared receiving tubes may be provided, which is not limited herein. In the case where there is one infrared receiving tube in the infrared receiving circuit 120, correspondingly, there is one infrared receiving tube participating in the infrared reception at the same time. In the case where a plurality of infrared receiving tubes are present in the infrared receiving circuit 120, one or a plurality of infrared receiving tubes may be involved in the reception by the infrared receiving circuit 120 at the same time.
Further, the infrared transmitting tube and the infrared receiving tube may be integrated in one circuit, or may be disposed in pairs, which is not limited herein. For example, the first device may be provided with an integrated circuit of an infrared transmitting tube and an infrared receiving tube, and the second device may be provided with an integrated circuit of an infrared transmitting tube and an infrared receiving tube. For another example, the first device communicates with the second device, an infrared transmitting tube may be disposed on the first device, an infrared receiving tube may be disposed on the second device, and the number of the infrared transmitting tubes and the number of the infrared receiving tubes are the same.
The signal processing circuit 130 may also include a Microcontroller (MCU). The signal processing circuit 130 may decode the received signal received by the infrared receiving circuit 120, or encode an infrared emission driving signal to be sent, that is, the signal processing circuit 130 encodes the infrared emission driving signal and sends the encoded infrared emission driving signal to the infrared emitting circuit 110.
It can be seen that, in the embodiment of the present application, the infrared communication system 10 includes an infrared transmitting circuit 110, an infrared receiving circuit 120, and a signal processing circuit 130, where the signal processing circuit 130 is connected to the infrared transmitting circuit 110, the signal processing circuit 130 is configured to send an infrared transmission driving signal to the infrared transmitting circuit 110, the infrared transmitting circuit 110 includes at least one infrared transmitting tube, the infrared transmitting circuit 110 is configured to transmit at least one transmitting signal according to the infrared transmission driving signal, and the infrared transmission driving signal is generated by the signal processing circuit 130 and then sent to the infrared transmitting tube to drive the infrared transmitting tube to send the transmitting signal. The signal processing circuit 130 comprises at least one logic gate circuit, the infrared receiving circuit 120 comprises at least one infrared receiving tube, the infrared receiving circuit 120 is connected with the signal processing circuit 130, the infrared receiving circuit 120 is used for receiving at least one receiving signal and sending the at least one receiving signal to the signal processing circuit 130, and the signal processing circuit 130 is further used for outputting a target receiving signal according to the at least one receiving signal; therefore, on the one hand, the signal processing circuit 130 adopts a logic gate circuit, which is beneficial to reducing mutual interference between circuits, ensuring accuracy of signal transmission and reliability of infrared communication, and on the other hand, the infrared transmitting circuit 110 comprises at least one infrared transmitting tube, and the infrared receiving circuit 120 comprises at least one infrared receiving tube, which is also beneficial to increasing coverage area of infrared communication and improving convenience of infrared communication.
In one possible example, the signal processing circuit 130 is configured to:
determining an idle state of the infrared receiving circuit 120;
and determining the type of the logic gate circuit according to the idle state.
In one possible example, the logic gate circuit includes at least one of: and gate circuits and or gates.
The idle state of the ir receiving circuit 120 may represent a level state of the data line when the ir receiving circuit 120 does not receive the receiving signal. The idle state may be a high level or a low level, and is not limited herein.
Specifically, referring to fig. 3, in the case where the idle state is a high level, the logic gate circuit may use an and circuit to process a plurality of receiving signals RXD1, RXD2, and RXD3 at the same time. The plurality of reception signals RXD1, RXD2, and RXD3 output a target reception signal IR _ RXD after passing through the gate circuit. And gate circuits are used for processing, namely, in the same time, if any one level signal in the plurality of signal lines is at low level, the output signal is at low level, and if all the level signals in the plurality of signal lines are at high level, the output signal is at high level.
For example, the infrared receiving circuit 120 may include an infrared receiving tube U1, an infrared receiving tube U2, and an infrared receiving tube U3, where pins 1 in the infrared receiving tubes U1, U2, and U3 are all output pins OUT, pins 2 are all ground pins GND, and pins 3 are all power pins VDD. The idle states of the infrared receiving tubes U1, U2 and U3 are all high levels. At a certain time, the infrared receiving tubes U1 and U2 do not receive the receiving signal, and the infrared receiving tube U3 receives the receiving signal, so that the level of the data line corresponding to the infrared receiving tubes U1 and U2 is high level, and the level of the data line corresponding to the infrared receiving tube U3 is low level. The and circuit in the signal processing circuit 130 outputs a target reception signal at a low level according to the levels of the data lines corresponding to the infrared receiving tubes U1, U2, and U3. Thus, when the infrared receiving circuit 120 includes a plurality of infrared receiving tubes, and operation is performed on a plurality of received signals received at the same time, which is beneficial to reducing mutual interference among the plurality of received signals, ensuring accuracy of signal transmission, and ensuring reliability of infrared communication.
Further, when the idle state is low, the or gate circuit may be used in the logic gate circuit to process a plurality of received signals at the same time. That is, at the same time, if any one of the level signals in the plurality of signal lines is at a high level, the output signal is at a high level, and if all the level signals in the plurality of signal lines are at a low level, the output signal is at a low level.
For example, the infrared receiving circuit 120 may include an infrared receiving tube U1', an infrared receiving tube U2', and an infrared receiving tube U3', and the idle states of the infrared receiving tubes U1', U2', and U3' are all low levels. At a certain time, the infrared receiving tubes U1 'and U2' do not receive the receiving signal, and the infrared receiving tube U3 'receives the receiving signal, and then the level of the data line corresponding to the infrared receiving tubes U1' and U2 'is low level, and the level of the data line corresponding to the infrared receiving tube U3' is high level. The or gate circuit in the signal processing circuit 130 outputs a target reception signal at a high level according to the levels of the data lines corresponding to the infrared receiving tubes U1', U2', and U3 '. Thus, when the infrared receiving circuit 120 includes a plurality of infrared receiving tubes, performing an or operation on a plurality of received signals received at the same time is beneficial to reducing mutual interference among the plurality of received signals, ensuring accuracy of signal transmission, and ensuring reliability of infrared communication.
It should be understood that the aforementioned multiple received signals received at the same time means that the multiple received signals are received at the same time. The type of the logic gate circuit can be determined according to the idle state, and considering that the idle state of the infrared receiving circuit in the industry is mostly high level, the logic gate circuit can be preferably used for processing.
In one possible example, referring to fig. 4, the signal processing circuit 130 further includes at least one switching circuit.
Specifically, the signal processing circuit 130 may employ a switch circuit to process the received signal by way of connection or disconnection.
Referring to fig. 4 and 5, the infrared emission driving signal output by the signal processing circuit 130 is sent to the infrared emission module through the electronic switch, and the plurality of emission signals TXD1, TXD2, TXD3 of the infrared emission circuit 110 are obtained after the infrared emission driving signal is processed by the switch circuit.
Similarly, the infrared receiving circuit 120 sends the infrared signals received by the plurality of infrared receiving tubes to the signal processing circuit 130 via the electronic switch, which is not illustrated here.
It can be seen that, in the embodiment of the present application, when the infrared transmitting circuit 110 includes a plurality of infrared transmitting tubes and/or the infrared receiving circuit 120 includes a plurality of infrared receiving tubes, electronic switch switching selection is performed on a plurality of transmitting signals transmitted at the same time or a plurality of receiving signals received at the same time, which is beneficial to reducing mutual interference between a plurality of transmitting signals or a plurality of receiving signals, ensuring accuracy of signal transmission, and ensuring reliability of infrared communication.
In one possible example, the signal processing circuit directly controls the on-off of the module power supply to realize the independent alternate operation (time-sharing operation) of the modules.
Specifically, the signal processing circuit 130 may process the power supply of the receiving module or the power supply of the transmitting module by using a switching circuit. The switch circuit performs a connection or disconnection operation on the power supply lines of the infrared transmitting circuit 110 and the infrared receiving circuit 120, thereby obtaining a transmitting signal or a target receiving signal.
For example, referring to fig. 6, the infrared receiving circuit 120 may include an infrared receiving tube U1, an infrared receiving tube U2, and an infrared receiving tube U3, wherein pins 1 of the infrared receiving tubes U1, U2, and U3 are all output pins OUT, pins 2 are all ground pins GND, and pins 3 are all power pins VDD. Signal transmission in U1, U2 and U3 is controlled by SD1, SD2 and SD3 signals, respectively. When SD1 is high level, the switch is off, the infrared receiving module U1 power supply is off, the infrared receiving module U1 can not work, when SD1 is low level, the switch is on, the infrared receiving module U1 power supply is on, and the infrared receiving module U1 can work. SD2 and SD3 are the same, and will not be described herein. SD1, SD2 and SD3 may be in different level states, depending on the switching device selected. And the power supply circuits in the U1, the U2 and the U3 are controlled to be switched on and off through the SD1, the SD2 and the SD3 signals, so that the infrared receiving of a plurality of infrared receiving modules is controlled, and finally, a target receiving signal is determined according to the IR _ RXD level. In this way, separate alternate reception of the received signals is facilitated.
For another example, referring to fig. 7, the infrared emitting circuit 110 may include an infrared emitting tube LED1', an infrared emitting tube LED2', and an infrared emitting tube LED3', and signal transmission in the LED1', the LED2', and the LED3' is controlled by SD4, SD5, and SD6 signals, respectively. The switch is switched off when the SD4 is at a high level, the power supply of the infrared emission module is switched off, the switch is switched on when the SD4 is at a low level, the power supply of the infrared emission module is switched on, and the infrared emission module can work. SD5 and SD6 are the same, and will not be described in detail here. SD4, SD5 and SD6 may be in different level states, depending on the switching device selected. The power supply circuits in the LED1', the LED2' and the LED3' are controlled to be switched on and off through the SD4, SD5 and SD6 signals, so that the transmission of a plurality of emission signals is controlled, and finally the emission signals are determined according to the TXD level. In this way, it is facilitated to achieve a single alternate transmission of the transmitted signals.
It can be seen that, in the embodiment of the present application, it is helpful to implement separate rotation operations (time-sharing operations) of multiple transmitted signals or multiple received signals, and it is helpful to reduce mutual interference between circuits, ensure accuracy of signal transmission, and ensure reliability of infrared communication.
In addition, the signal processing circuit 130 may also be a programmable chip. The use of multiple communication ports in the programmable chip facilitates the separate transmission of multiple infrared transmission signals in turn or simultaneously.
Similarly, the received signals received by the infrared receiving circuit 120 are checked and analyzed by using a plurality of communication ports in the programmable chip, so as to obtain correct data, which is helpful for realizing separate alternate reception or simultaneous reception of a plurality of infrared received signals. Wherein, the received signal can be checked and analyzed through a communication protocol, such as CRC8, CRC16, etc., to determine whether the received signal of the infrared receiving circuit 120 is correct.
In one possible example, the infrared receiving circuit 120 includes a first infrared receiving tube and a second infrared receiving tube, the signal processing circuit 130 generates a first start signal after being powered on, the infrared receiving circuit 120 starts the first infrared receiving tube according to the first start signal, and when the first infrared receiving tube does not receive a receiving signal for more than a first preset time, the first infrared receiving tube is turned off and/or the second infrared receiving tube is turned on.
In one possible example, the infrared transmitting circuit 110 includes a first infrared transmitting tube and a second infrared transmitting tube, and the infrared transmitting circuit 110 is configured to activate the first infrared transmitting tube according to the second activation signal, and to turn off the first infrared transmitting tube and/or turn on the second infrared transmitting tube when the infrared receiving circuit 120 does not receive the feedback signal of the transmission signal for more than the second preset time.
The first start signal may be a signal sent to the infrared receiving circuit 120 inside the infrared communication system 10, for example, after the signal processing circuit 130 is powered on, the signal processing circuit 130 sends the first start signal to the infrared receiving circuit 120. The first start signal may also be a signal received by the infrared communication system 10 from the outside, which is not limited herein. The first preset time may be determined according to a usage scenario of the infrared communication system 10, a user requirement, a processor performance of the infrared communication system 10, and the like, and is not limited herein, and may be, for example, 100 milliseconds, 200 milliseconds, 300 milliseconds, 500 milliseconds, 700 milliseconds, 1 second, 2 seconds, 3 seconds, 5 seconds, 8 seconds, 10 seconds, and the like.
The second start signal may be a signal sent to the infrared transmitting circuit 110 inside the infrared communication system 10, or may be a signal received by the infrared communication system 10 from the outside, which is not limited herein. The second preset time may be determined according to a usage scenario of the infrared communication system 10, a user requirement, a processor performance of the infrared communication system 10, and the like, and is not limited herein, and may be, for example, 100 milliseconds, 200 milliseconds, 300 milliseconds, 500 milliseconds, 700 milliseconds, 1 second, 2 seconds, 3 seconds, 5 seconds, 8 seconds, 10 seconds, and the like. The second preset time may be the same as the first preset time, and is not limited herein.
In one possible example, the infrared transmitting tube and the infrared receiving tube are integrated in one chip.
Specifically, referring to fig. 8, an infrared transmitting circuit 110 and an infrared receiving circuit 120 are integrated in the infrared communication system 10, wherein the infrared transmitting tube and the infrared receiving tube are integrated in a chip. In the figure, U1 and U2 are chips integrating an infrared emission tube and an infrared receiving tube. The circuits in U1 and U2 are controlled to work or not by the enable signals of SD1 and SD2, the plurality of infrared transmitting tubes in the infrared transmitting circuit 110 can separately transmit transmitting signals in turn, and the plurality of infrared receiving tubes in the infrared receiving circuit 120 can separately receive receiving signals in turn.
After the signal processing circuit 130 is powered on, the infrared receiving circuit 120 starts the first infrared receiving tube, and when the first infrared receiving tube does not receive the receiving signal after exceeding a first preset time, the first infrared receiving tube is closed and/or the second infrared receiving tube is opened.
For example, a first device communicates with a second device, the first device sends a transmission signal to the second device through its own infrared transmitting circuit 110, and the second device receives the transmission signal sent by the first device through its own infrared receiving circuit 120. The infrared receiving circuit 120 of the second device includes a first infrared receiving tube and a second infrared receiving tube, and when the first infrared receiving tube of the second device does not receive the transmission signal sent by the first device for more than a first preset time, the second device may switch to the second infrared receiving tube to attempt to receive the transmission signal sent by the first device until the communication environment is established successfully. Meanwhile, the first infrared receiving tube may continue to receive the transmission signal sent by the first device, and may also be closed, which is not limited herein.
It can be seen that the infrared receiving circuit 120 includes a first infrared receiving tube and a second infrared receiving tube, and the signal processing circuit 130 is powered on to start the first infrared receiving tube and is configured to close the first infrared receiving tube and/or open the second infrared receiving tube when the first infrared receiving tube does not receive a received signal for more than a first preset time, so that, on one hand, a plurality of infrared receiving tubes in the infrared receiving circuit 120 can receive a received signal individually in turn, thereby being beneficial to reducing mutual interference among a plurality of received signals, ensuring accuracy of signal transmission and ensuring reliability of infrared communication, and on the other hand, the infrared receiving circuit 120 includes at least one infrared receiving tube, thereby being beneficial to increasing coverage area of infrared communication and improving convenience of infrared communication
After the signal processing circuit 130 is powered on, the infrared transmitting circuit 110 starts the first infrared transmitting tube, and when the infrared receiving circuit 120 does not receive the feedback signal of the transmitting signal after the second preset time, the first infrared transmitting tube is closed and/or the second infrared transmitting tube is opened.
For example, a first device communicates with a second device, the first device sends a transmission signal to the second device through its own infrared transmitting circuit 110, and the second device receives the transmission signal sent by the first device through its own infrared receiving circuit 120. The infrared transmitting circuit 110 of the first device includes a first infrared transmitting tube and a second infrared transmitting tube, the first infrared transmitting tube of the first device sends a transmitting signal to the second device, after the second device receives the transmitting signal sent by the first device, the second device sends a feedback signal to the first device through its own infrared transmitting circuit 110, and the feedback signal may be used to indicate that the second device has received the transmitting signal sent by the first device. If the infrared receiving circuit 120 in the first device does not receive the feedback signal of the transmitting signal at the second preset time, the first device may switch to the second infrared transmitting tube to transmit the transmitting signal, and at the same time, the first infrared transmitting tube may continue to transmit the transmitting signal, or may close the first infrared transmitting tube, which is not limited herein.
It can be seen that the infrared transmitting circuit 110 includes a first infrared transmitting tube and a second infrared transmitting tube, and the infrared transmitting circuit 110 starts the first infrared transmitting tube after the signal processing circuit 130 is powered on, and is configured to close the first infrared transmitting tube and/or open the second infrared transmitting tube when the infrared receiving circuit 120 does not receive the feedback signal of the transmitted signal over the second preset time, so on the one hand, a plurality of infrared transmitting tubes in the infrared transmitting circuit 110 may transmit signals individually in turn, which is beneficial to reducing mutual interference among a plurality of transmitted signals, ensuring accuracy of signal transmission, and ensuring reliability of infrared communication, on the other hand, the infrared transmitting circuit 110 includes at least one infrared transmitting tube, which is beneficial to increasing a coverage area of infrared communication, and is beneficial to improving convenience of infrared communication.
Further, in the case where a plurality of infrared transmitting tubes and a plurality of infrared receiving tubes are present in the infrared communication system 10, the infrared transmitting tubes and the infrared receiving tubes may be respectively provided in pairs. For example, when the first device communicates with the second device, infrared transmitting tubes may be provided in the first device, infrared receiving tubes may be provided in the second device, and the numbers of the infrared transmitting tubes and the infrared receiving tubes may be the same. The transmission signal can be started by the infrared transmitting tube corresponding to the infrared receiving tube which finally establishes the communication environment. For example, when the first infrared receiving tube does not establish a communication environment and the second infrared receiving tube establishes a communication environment, that is, the first infrared receiving tube does not receive the received signal beyond the first preset time, and the second infrared receiving tube receives the received signal within the first preset time, the second infrared transmitting tube corresponding to the second infrared receiving tube participates in transmitting the signal.
Illustratively, the plurality of infrared emission tubes may be activated individually or simultaneously as desired. The infrared communication system 10 has a high interference rejection when activated alone. Under the condition of simultaneous starting, the infrared communication system 10 can quickly establish communication with other infrared communication systems 10, and the communication efficiency is high.
In one possible example, the infrared emission circuit 110 includes a plurality of infrared emission tubes uniformly distributed over the emission surface.
In one possible example, the infrared receiving circuit 120 includes a plurality of infrared receiving tubes, and the plurality of infrared receiving tubes are uniformly distributed on the receiving surface.
Specifically, as described above, when the infrared beam is used for communication, it is necessary to ensure that the signal receiving area of the infrared receiving tube and the signal emitting area of the infrared emitting tube at least partially overlap, that is, to ensure the coverage area of infrared communication.
When the infrared transmitting circuit 110 includes a plurality of infrared transmitting tubes, the plurality of infrared transmitting tubes are uniformly distributed on the transmitting surface. The distribution of the infrared emission tubes on the emission surface may be any one of the manners capable of ensuring that the signal emission area can cover the entire emission surface, which is not limited herein. For example, referring to fig. 9, when the infrared emitting circuit 110 includes 3 infrared emitting tubes LED1, LED2 and LED3, the distribution of the infrared emitting tubes on the emitting surface 90 may be in a regular triangle shape.
It can be seen that, when the infrared transmitting circuit 110 includes a plurality of infrared transmitting tubes, the plurality of infrared transmitting tubes are uniformly distributed on the transmitting surface, so that the coverage area of the infrared transmitting circuit 110 is increased, the range of a signal transmitting area is ensured, and the convenience of infrared communication is improved.
When the infrared receiving circuit 120 includes a plurality of infrared receiving tubes, the plurality of infrared receiving tubes are uniformly distributed on the receiving surface. The distribution of the infrared receiving tubes on the receiving surface may be any one of the ways that can ensure that the signal receiving area can cover the whole receiving surface, and is not limited herein. For example, referring to fig. 10, when the infrared receiving circuit 120 includes 3 infrared receiving tubes U1, U2, and U3, the distribution of the infrared receiving tubes on the receiving surface 100 may be a regular triangle.
It can be seen that, when the infrared receiving circuit 120 includes a plurality of infrared receiving tubes, the plurality of infrared receiving tubes are uniformly distributed on the receiving surface, so that the coverage area of the infrared receiving circuit 120 is increased, the range of the signal receiving area is ensured, and the convenience of infrared communication is improved.
Referring to fig. 11A, fig. 11A is a schematic flowchart of an infrared communication method according to an embodiment of the present application, which is used in the infrared communication system 10 according to any of the embodiments of the present application. The infrared communication method comprises the following steps:
101A, starting a first infrared receiving tube according to a first starting signal;
102A, when the first infrared receiving tube does not receive the receiving signal after exceeding the first preset time, closing the first infrared receiving tube and/or opening the second infrared receiving tube.
Referring to fig. 11B, fig. 11B is a schematic flowchart of an infrared communication method according to an embodiment of the present application, which is used in the infrared communication system 10 according to any of the embodiments of the present application. The infrared communication method comprises the following steps:
101B, starting the first infrared transmitting tube according to the second starting signal;
102B, when the infrared receiving circuit does not receive the feedback signal of the transmitting signal beyond the second preset time, closing the first infrared transmitting tube and/or opening the second infrared transmitting tube.
The above-mentioned infrared communication method is substantially the same as the implementation principle of the infrared communication system 10 described in any of the embodiments of the foregoing application, and reference may be made to the foregoing embodiments, which are not described herein.
In accordance with the foregoing embodiments, please refer to fig. 12, fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
after the signal processing circuit 130 is powered on, the first infrared receiving tube is started;
when the first infrared receiving tube does not receive a receiving signal within a first preset time, closing the first infrared receiving tube and opening a second infrared receiving tube; alternatively, the first and second electrodes may be,
after the signal processing circuit 130 is powered on, the first infrared transmitting tube is started;
and when the infrared receiving circuit does not receive the feedback signal of the transmitting signal within the second preset time, closing the first infrared transmitting tube and/or opening the second infrared transmitting tube.
It can be seen that, in the electronic device described in this embodiment of the application, after the signal processing circuit 130 is powered on, the first infrared receiving tube may be started, and when the first infrared receiving tube does not receive a received signal after exceeding a first preset time, the first infrared receiving tube may be closed and/or the second infrared receiving tube may be opened, or after the signal processing circuit 130 is powered on, the first infrared transmitting tube may be started, and when the infrared receiving circuit does not receive a feedback signal of a transmitted signal after exceeding a second preset time, the first infrared transmitting tube may be closed and/or the second infrared transmitting tube may be opened; so, on the one hand, adopt logic gate circuit in signal processing circuit, be favorable to reducing the mutual interference between the circuit, ensure signal transmission's accuracy, ensure infrared communication's reliability, on the other hand, infrared transmitting circuit includes at least one infrared transmitting tube, and infrared receiving circuit includes at least one infrared receiving tube, is favorable to increasing infrared communication's coverage, is favorable to improving infrared communication's convenience.
It should be noted that, for the sake of simplicity, the embodiments of the present application are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art will recognize that the embodiments described in this specification are preferred embodiments and that acts or modules referred to are not necessarily required for this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application with specific examples, and the above description of the embodiments is only provided to help understand the present application and its core ideas; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (6)

1. An infrared communication system, comprising: an infrared transmitting circuit, an infrared receiving circuit and a signal processing circuit, wherein,
the signal processing circuit is connected with the infrared emission circuit and is used for coding an infrared emission driving signal and sending the coded infrared emission driving signal to the infrared emission circuit;
the infrared transmitting circuit comprises a first infrared transmitting tube and a second infrared transmitting tube, and the infrared transmitting circuit is used for starting the first infrared transmitting tube according to a second starting signal and starting the second infrared transmitting tube when the infrared receiving circuit does not receive a feedback signal of a transmitting signal within second preset time; the second starting signal comprises a signal sent by the infrared communication system and a signal sent by electronic equipment communicating with the infrared communication system;
the infrared emission circuit is also used for emitting at least one emission signal according to the coded infrared emission driving signal;
the infrared receiving circuit comprises a first infrared receiving tube and a second infrared receiving tube, and the infrared receiving circuit is used for starting the first infrared receiving tube according to a first starting signal and starting the second infrared receiving tube when the first infrared receiving tube does not receive a receiving signal for more than a first preset time; the first starting signal comprises a signal sent by the infrared communication system and a signal sent by electronic equipment communicating with the infrared communication system;
the infrared receiving circuit is connected with the signal processing circuit and is also used for receiving at least one receiving signal and sending the at least one receiving signal to the signal processing circuit;
the signal processing circuit is further configured to output a target received signal according to the at least one received signal;
the signal processing circuit comprises at least one logic gate circuit, the logic gate circuit comprises at least one of an AND gate circuit and an OR gate circuit, and the signal processing circuit is used for determining the type of the logic gate circuit according to the idle state of the infrared receiving circuit;
the signal processing circuit controls the on-off of the power supply of the infrared receiving circuit to realize the alternate work of at least one infrared receiving tube, and controls the on-off of the power supply of the infrared transmitting circuit to realize the alternate work of at least one infrared transmitting tube.
2. The infrared communication system of claim 1, wherein the signal processing circuit further comprises at least one switching circuit.
3. The infrared communication system of claim 1, wherein the infrared emission circuit comprises a plurality of infrared emission tubes, and the plurality of infrared emission tubes are uniformly distributed on the emission surface.
4. The infrared communication system according to claim 1 or 3, wherein the infrared receiving circuit includes a plurality of infrared receiving tubes, and the plurality of infrared receiving tubes are uniformly distributed on the receiving surface.
5. An infrared communication method applied to the infrared communication system according to any one of claims 1 to 4, the infrared communication method comprising:
starting a first infrared receiving tube according to the first starting signal;
when the first infrared receiving tube does not receive the receiving signal after exceeding the first preset time, closing the first infrared receiving tube and/or opening a second infrared receiving tube; alternatively, the first and second electrodes may be,
starting the first infrared transmitting tube according to the second starting signal;
and when the infrared receiving circuit does not receive the feedback signal of the transmitting signal within the second preset time, closing the first infrared transmitting tube and/or opening the second infrared transmitting tube.
6. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of claim 5.
CN202111113713.5A 2021-09-22 2021-09-22 Infrared communication system, infrared communication method and electronic equipment Active CN113890610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111113713.5A CN113890610B (en) 2021-09-22 2021-09-22 Infrared communication system, infrared communication method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111113713.5A CN113890610B (en) 2021-09-22 2021-09-22 Infrared communication system, infrared communication method and electronic equipment

Publications (2)

Publication Number Publication Date
CN113890610A CN113890610A (en) 2022-01-04
CN113890610B true CN113890610B (en) 2023-04-07

Family

ID=79010228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111113713.5A Active CN113890610B (en) 2021-09-22 2021-09-22 Infrared communication system, infrared communication method and electronic equipment

Country Status (1)

Country Link
CN (1) CN113890610B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978325A (en) * 2022-05-31 2022-08-30 天津市山石机器人有限责任公司 Free space high frequency infrared light communication device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN213210476U (en) * 2020-10-21 2021-05-14 深圳市德明新微电子有限公司 Infrared sensor
CN213754803U (en) * 2020-12-29 2021-07-20 江阴华慧源电子技术有限公司 Infrared RS485 and RS232 communication circuit that changes

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0629927A (en) * 1992-07-06 1994-02-04 Hitachi Ltd Power-saving optical transmission system
JPH0936805A (en) * 1995-07-17 1997-02-07 Nippon Telegr & Teleph Corp <Ntt> Infrared ray communication equipment
CN101866013A (en) * 2009-04-16 2010-10-20 上海天马微电子有限公司 Neutron detector, flat-plate neutron detector and detection method thereof
CN102420655A (en) * 2011-11-14 2012-04-18 深圳市理邦精密仪器股份有限公司 Medical anti-jamming infrared communication method and device
CN104218996B (en) * 2013-05-29 2017-03-08 华为技术有限公司 Optical module
CN106452600B (en) * 2016-10-18 2019-09-06 新华三技术有限公司 A kind of optical interface power-economizing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN213210476U (en) * 2020-10-21 2021-05-14 深圳市德明新微电子有限公司 Infrared sensor
CN213754803U (en) * 2020-12-29 2021-07-20 江阴华慧源电子技术有限公司 Infrared RS485 and RS232 communication circuit that changes

Also Published As

Publication number Publication date
CN113890610A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN105786742B (en) Server serial port switching device and method and server
US6346047B1 (en) Radio frequency remote game controller
CN103495979B (en) Explosive-handling robot controlled through wireless and wired channels
EP3161974A1 (en) Streaming display data from a mobile device using backscatter communications
CN113890610B (en) Infrared communication system, infrared communication method and electronic equipment
CN101171105A (en) A robot control system comprising a portable operating device with safety equipment
KR20180019544A (en) UART with automated protocol
CN101308381B (en) Tandem type control system
CN104270188A (en) Beidou satellite communication equipment
JP5244219B2 (en) Communication apparatus and communication method
KR101815333B1 (en) Apparatus for RS-232C and RS-485 Serial Communication using Common Communication Port
US7647442B2 (en) Series-connected control system
US20070170784A1 (en) Lamp system having power frequency carrier
KR100369728B1 (en) Multi LAN card
TW200721736A (en) Automatic configuration system
KR20040005289A (en) Apparatus and method for duplication of communication control module
JPH0442634A (en) Transmission equipment
KR200283044Y1 (en) Apparatus for serial data transmission by subscriber line interface boards in a exchange system
JP2001352296A (en) Infrared communication apparatus and communication method
JP4859284B2 (en) Pulse transmission line control system
JP2006085263A (en) Computer operating system
KR0124185B1 (en) Global bus in electronic exchange
JP2002209014A (en) Information transmitter
KR20030021599A (en) Method of loopback mode setting by programmable logic device
KR100241781B1 (en) Dual mode mobile communication terminal using a man machine interface in dual mode

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