CN112562307A - IIC signal transmission system, IIC signal transmission method, and storage medium - Google Patents
IIC signal transmission system, IIC signal transmission method, and storage medium Download PDFInfo
- Publication number
- CN112562307A CN112562307A CN202011419773.5A CN202011419773A CN112562307A CN 112562307 A CN112562307 A CN 112562307A CN 202011419773 A CN202011419773 A CN 202011419773A CN 112562307 A CN112562307 A CN 112562307A
- Authority
- CN
- China
- Prior art keywords
- infrared
- receiving
- signal
- iic
- chip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000008054 signal transmission Effects 0.000 title claims abstract description 38
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000005540 biological transmission Effects 0.000 claims abstract description 8
- 238000001514 detection method Methods 0.000 claims description 51
- 238000001914 filtration Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 5
- 238000012790 confirmation Methods 0.000 claims description 2
- 239000003990 capacitor Substances 0.000 description 6
- 102100040862 Dual specificity protein kinase CLK1 Human genes 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 102100040844 Dual specificity protein kinase CLK2 Human genes 0.000 description 2
- 101000749294 Homo sapiens Dual specificity protein kinase CLK1 Proteins 0.000 description 2
- 101000749291 Homo sapiens Dual specificity protein kinase CLK2 Proteins 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 101150111792 sda1 gene Proteins 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Optical Communication System (AREA)
Abstract
The invention provides an IIC signal transmission system, an IIC signal transmission method and a storage medium, wherein the IIC signal transmission system comprises a sending device and a receiving device, and the receiving device is connected with IIC equipment for receiving IIC signals of an integrated circuit bus; the sending device is used for sending an infrared signal to the receiving device according to a control instruction sent by the outside when the control instruction is received; the receiving device is used for receiving the infrared signal and transmitting the IIC signal to the IIC equipment after converting the infrared signal into the IIC signal. Through setting up transmitting device and receiving arrangement, can transmit the IIC signal through infrared signal, solve the restriction to IIC equipment space setting in the wired transmission, make things convenient for the technical staff to carry out more various settings to IIC equipment.
Description
Technical Field
The present invention relates to the field of signal transmission, and in particular, to an IIC signal transmission system, an IIC signal transmission method, and a storage medium.
Background
The IIC signal in the prior art is transmitted by using a cable or the like, however, the setting mode of the IIC device is greatly limited by such a transmission mode, which brings inconvenience to technical personnel.
Disclosure of Invention
The invention mainly aims to provide an IIC signal transmission system, an IIC signal transmission method and a storage medium, and aims to solve the problem that the transmission mode of IIC equipment in the prior art is inconvenient.
In order to achieve the above object, the present invention provides an IIC signal transmission system, which includes a transmitting device and a receiving device, wherein the receiving device is connected to an IIC device for receiving an IIC signal of an integrated circuit bus;
the sending device is used for sending an infrared signal to the receiving device according to a control instruction sent by the outside when the control instruction is received;
the receiving device is used for receiving the infrared signal and transmitting the IIC signal to the IIC equipment after converting the infrared signal into the IIC signal.
Optionally, the transmitting device includes a chip module and two infrared transmitting modules;
the chip module is used for receiving a control instruction and respectively and correspondingly sending a clock control signal and a data control signal to a first infrared sending module and a second infrared sending module of the two infrared sending modules according to the control instruction;
the first infrared transmitting module is used for receiving the clock control signal and transmitting a clock infrared signal to the receiving device at a first carrier frequency according to the clock control signal;
and the second infrared transmitting module is used for receiving the data control signal and transmitting a data infrared signal to the receiving device at a second carrier frequency according to the data control signal.
Optionally, each infrared transmitting module includes a coding chip, an infrared light emitting diode, a first resistor, a second resistor, and a resetting unit;
the output end of the coding chip is connected with the cathode of the infrared light-emitting diode, the anode of the infrared light-emitting diode is connected with a first power supply through the first resistor, the power end of the coding chip is connected with a second power supply, the reset end of the coding chip is connected with the second power supply through the second resistor, the reset end of the coding chip is also connected with the reset unit, and the grounding end of the coding chip is grounded; the first input end of the coding chip is connected with the clock output end of the chip module, and the second input end of the coding chip is connected with the data output end of the chip module.
Optionally, the receiving device includes two infrared receiving modules;
the two infrared receiving modules are used for respectively receiving the clock infrared signal and the data infrared signal and correspondingly sending the clock signal and the data signal to the IIC equipment when respectively receiving the clock infrared signal and the data infrared signal.
Optionally, each infrared receiving module comprises an infrared receiving chip, a first filtering unit, a third resistor and a fourth resistor,
the power end of the infrared receiving chip is connected with a fourth power supply through the third resistor, the power end of the infrared receiving chip is also connected with the first filtering unit, the power end of the infrared receiving chip is also connected with the output end of the infrared receiving chip through the fourth resistor, and the grounding end of the infrared receiving chip is grounded; and the output ends of the infrared receiving chips in the two infrared receiving modules are correspondingly connected with the clock input end and the data input end of the IIC equipment.
Optionally, the receiving apparatus further comprises a phase detection module, the phase detection module comprises a single-way exclusive-or gate chip,
the first input end of the single-way exclusive-OR gate chip is connected with the clock input end of the IIC device, the second input end of the single-way exclusive-OR gate chip is connected with the data input end of the IIC device, the output end of the single-way exclusive-OR gate chip is connected with the phase detection end of the chip module, the power supply end of the single-way exclusive-OR gate chip is connected with a power supply, and the grounding end of the single-way exclusive-OR gate chip is grounded.
In addition, to achieve the above object, the present invention also provides an IIC signal transmission method, including:
receiving a control instruction sent from the outside through a sending device, so that the sending device sends an infrared signal to a receiving device corresponding to the sending device according to the control instruction;
and receiving the infrared signal through the receiving device, so that the receiving device converts the infrared signal into an integrated circuit bus IIC signal and then sends the integrated circuit bus IIC signal to IIC equipment.
Optionally, the transmitting device includes a chip module, a first infrared transmitting module and a second infrared transmitting module; the receiving device comprises a first infrared receiving module and a second infrared receiving module;
the step of receiving a control instruction sent from the outside through a sending device so that the sending device sends an infrared signal to a receiving device corresponding to the sending device according to the control instruction comprises the following steps:
receiving the control instruction through a chip module, so that the chip module respectively sends a clock control signal and a data control signal according to the external control instruction;
receiving the clock control signal through the first infrared sending module, so that the first infrared sending module sends a clock infrared signal to the first infrared receiving module at a first carrier frequency according to the clock control signal;
and receiving the data control signal through the second infrared sending module, so that the second infrared sending module sends a data infrared signal to the second infrared receiving module according to the data control signal and a second carrier frequency.
Optionally, before the step of receiving, by the sending device, the control instruction sent from the outside, the method includes:
sending a data detection infrared signal to the receiving device by the sending device with a preset data delay time, and sending a clock detection infrared signal to the receiving device by the sending device with a preset clock delay time;
respectively sending a data detection infrared signal and a clock detection infrared signal to the receiving device by the sending device according to corresponding preset data delay time and preset clock delay time;
judging whether the phases of the data detection infrared signal and the clock detection infrared signal are consistent or not through a phase detection module in the receiving device;
if yes, sending a confirmation signal to the sending device, and executing the following steps: receiving a control instruction through a sending device;
if not, adjusting the preset data delay time and the preset clock delay time.
Further, to achieve the above object, the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program, which when executed by a processor, implements the steps of the IIC signal transmission method as described above.
The IIC signal transmission system comprises a sending device and a receiving device, wherein the receiving device is connected with IIC equipment used for receiving IIC signals of an integrated circuit bus; the sending device is used for sending an infrared signal to the receiving device according to a control instruction sent by the outside when the control instruction is received; the receiving device is used for receiving the infrared signal and transmitting the IIC signal to the IIC equipment after converting the infrared signal into the IIC signal. Through setting up transmitting device and receiving arrangement for with the help of infrared signal transmission IIC signal, solved the restriction to IIC equipment space setting among the wired transmission, make things convenient for the technical staff to carry out more diversified setting to IIC equipment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a circuit diagram of an embodiment of an IIC signal transmission system according to the present invention;
FIG. 2 is a schematic diagram of an IIC signal transmission system according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
The reference numbers illustrate:
reference numerals | Name (R) | Reference numerals | Name (R) | |
100 | Transmitting apparatus | R1~R4 | First to |
|
110 | First infrared transmitting module | U1 | Coding chip | |
111 | Reset unit | U2 | Single-way exclusive- |
|
120 | Second infrared transmitting module | LED1 | Infrared |
|
200 | Receiving apparatus | | Reset switch | |
210 | First infrared receiving module | C1 | |
|
211 | First filter unit | C2 | |
|
212 | Second filter unit | | IIC equipment | |
220 | Second infrared receiving module | Q1 | Infrared receiving |
|
300 | Phase detection module |
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
It should be noted that all directional indicators (such as up, down, left, right, front, and back) in the embodiments of the present invention are only used to explain the relative position relationship between the components, the motion situation, and the like in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1 and 2 together, fig. 1 is a circuit structure diagram of an embodiment of an IIC signal transmission system according to the present invention. In this embodiment, the IIC signal transmission system includes a transmitting apparatus 100 and a receiving apparatus 200, the receiving apparatus 200 being connected to an IIC device P1 for receiving the integrated circuit bus IIC signal;
the transmitting device 100 is configured to transmit an infrared signal to the receiving device 200 according to a control instruction sent from the outside when receiving the control instruction;
the receiving device 200 is configured to receive the infrared signal, and after converting the infrared signal into an IIC signal, send the IIC signal to the IIC device P1.
IIC (Inter-Integrated Circuit bus), which is abbreviated IICBus, is a serial communication bus. The IIC signal refers to a signal for transmission on the IIC bus that conforms to the IIC bus signal transmission standard. The IIC device P1 is a device that performs communication through an IIC bus, and in this embodiment, is mainly a device that receives a control signal through the IIC bus.
The control command is sent by the user through an externally arranged operating part, such as a key, a button or a remote controller. The control instructions may also be generated by the transmitting device 100 according to a preset program.
In the embodiment, by setting the transmitting device 100 and the receiving device 200, the IIC signal can be transmitted through the infrared signal, so that the limitation of the space setting of the IIC device P1 in the wired transmission is solved, and the technical personnel can conveniently set the IIC device P1 in a more diversified manner.
Further, the transmitting apparatus 100 includes a chip module (not shown) and two infrared transmitting modules;
the chip module is configured to receive a control instruction, and correspondingly send a clock control signal and a data control signal to the first infrared sending module 110 and the second infrared sending module 120 of the two infrared sending modules according to the control instruction;
a first infrared transmitting module 110, configured to receive the clock control signal, and transmit a clock infrared signal to the receiving apparatus 200 at a first carrier frequency according to the clock control signal;
the second infrared transmitting module 120 is configured to receive the data control signal, and transmit a data infrared signal to the receiving device 200 according to the data control signal and a second carrier frequency.
The IIC signal is composed of two paths of signals, namely, a clock signal CLK and a data signal SDA, and since the two paths of signals are transmitted and received through infrared, the two paths of signals need to be distinguished.
In the embodiment, the clock infrared signal and the data infrared signal are transmitted at different carrier frequencies, so that the two paths of signals can be independently transmitted.
Further, each infrared transmitting module includes a coding chip U1, an infrared light emitting diode LED1, a first resistor R1, a second resistor R2, and a reset unit 111;
the output end of the coding chip U1 is connected with the negative electrode of the infrared light emitting diode LED1, the positive electrode of the infrared light emitting diode LED1 is connected with a first power supply through the first resistor R1, the power supply end of the coding chip U1 is connected with a second power supply, the reset end of the coding chip U1 is connected with the second power supply through the second resistor R2, the reset end of the coding chip U1 is also connected with the reset unit 111, and the ground end of the coding chip U1 is grounded; the first input end of the encoding chip U1 is connected with the clock output end of the chip module, and the second input end of the encoding chip U1 is connected with the data output end of the chip module.
The reset unit 111 comprises a reset switch S1, the reset end of the coding chip U1 is grounded through the reset switch S1, and the reset switch S1 is normally open.
In this embodiment, the encoding chip U1 adopts an HXD019D chip.
A first input end of an encoding chip U1 in the first infrared module is connected with a first clock end of the chip module, and a second input end of an encoding chip U1 in the first infrared module is connected with a first data end of the chip module; the first input end of the coding chip U1 in the second infrared module is connected with the second clock end of the chip module, and the second input end of the coding chip U1 in the second infrared module is connected with the second data end of the chip module.
The clock control signals output by the chip modules comprise a CLK1 signal output by a first clock end and an SDA1 signal output by a first data end, and the CLK1 and the SDA1 enable the coding chip U1 in the first infrared module to control the infrared light-emitting diode LED1 to output clock infrared signals corresponding to the control instructions;
the data control signals output by the chip module comprise a CLK2 signal output by the second clock terminal and an SDA2 signal output by the second data terminal, and the CLK2 and the SDA2 enable the coding chip U1 in the second infrared module to control the infrared light-emitting diode LED1 to output a data infrared signal corresponding to the control instruction.
The encoding chip U1 receives a clock control signal or a data control signal output by the chip module, and sends a corresponding pulse to the infrared light emitting diode LED1 according to the clock control signal or the data control signal, and the infrared light emitting diode LED1 is turned off when receiving a high level and is turned on when receiving a low level. When the reset switch S1 is pressed, the reset terminal of the encode chip U1 receives a low level signal, and the encode chip U1 performs a reset operation.
Further, the receiving apparatus 200 includes two infrared receiving modules;
the two infrared receiving modules are used for respectively receiving the clock infrared signal and the data infrared signal and correspondingly sending the clock signal and the data signal to the IIC device P1 when respectively receiving the clock infrared signal and the data infrared signal.
The first infrared receiving module 210 receives an infrared signal transmitted at a carrier frequency of 33KHz, and the second infrared receiving module 220 receives an infrared signal transmitted at a carrier frequency of 56 KHz.
Further, each infrared receiving module includes an infrared receiving chip Q1, a first filtering unit 211, a third resistor R3, and a fourth resistor R4;
the power supply end of the infrared receiving chip Q1 is connected to a fourth power supply through the third resistor R3, the power supply end of the infrared receiving chip Q1 is further connected to the first filtering unit 211, the power supply end of the infrared receiving chip Q1 is further connected to the output end of the infrared receiving chip Q1 through the fourth resistor R4, and the ground end of the infrared receiving chip Q1 is grounded; the output ends of infrared receiving chips Q1 in the two infrared receiving modules are correspondingly connected with the clock input end and the data input end of the IIC device P1.
The first filter unit 211 includes a first capacitor C1, and a power supply terminal of the infrared receiving chip Q1 is grounded through the first capacitor C1. Each infrared receiving module may further include a second filtering unit 212, the second filtering unit 212 includes a second capacitor C2, and the fourth power supply is grounded through the second capacitor C2. The fourth resistor R4 is a pull-up resistor, and clamps the output level at a high level when there is no low level output at the output terminal.
Further, the receiving apparatus 200 further includes a phase detection module 300, where the phase detection module 300 includes a single-way exclusive-or gate chip U2;
a first input end of the single-way exclusive-or gate chip U2 is connected to a clock input end of the IIC device P1, a second input end of the single-way exclusive-or gate chip U2 is connected to a data input end of the IIC device P1, an output end of the single-way exclusive-or gate chip U2 is connected to a phase detection end of the chip module, a power supply end of the single-way exclusive-or gate chip U2 is connected to a power supply, and a ground end of the single-way exclusive-or gate chip U2 is grounded.
In this embodiment, the single-way xor gate chip U2 is sn74lvc1g 86. When the first input end and the second input end output the same level, a low level signal is output, and when the first input end and the second input end output different levels, a high level signal is output.
The receiving apparatus 200 may further include a phase adjustment module connected to the phase detection module 300, and the phase adjustment module is configured to adjust phases of the transmitted clock infrared signal and the data infrared signal according to a signal output by the phase detection module 300. It should be noted that the signal output by the phase detection module 300 may also be directly received by the chip module, and the phase adjustment may be performed according to the signal output by the phase detection module 300.
In this embodiment, the phase detection module 300 can detect the phases of the clock infrared signal and the data infrared signal, so that the phases of the clock infrared signal and the data infrared signal can be adjusted according to the detection result, and the synchronous reception of the clock infrared signal and the data infrared signal is ensured.
In addition, the present invention also protects an IIC signal transmission method, which, in a first embodiment of the method, includes:
step S10, receiving a control instruction sent from the outside through a sending device, so that the sending device sends an infrared signal to a receiving device corresponding to the sending device according to the control instruction;
and step S20, receiving the infrared signal through the receiving device, so that the receiving device converts the infrared signal into an integrated circuit bus IIC signal and then sends the integrated circuit bus IIC signal to IIC equipment.
In the embodiment, the transmitting device and the receiving device are arranged, so that the IIC signal is transmitted through the infrared signal, the limitation of the IIC equipment space setting in wired transmission is solved, and more diversified setting of the IIC equipment is facilitated for technical personnel.
Further, in a second embodiment proposed based on the first embodiment of the IIC signal transmission method of the present invention, the transmitting device includes a chip module, a first infrared transmitting module, and a second infrared transmitting module; the receiving device comprises a first infrared receiving module and a second infrared receiving module; the step S10 includes the steps of:
step S11, receiving the control instruction through a chip module, so that the chip module respectively sends a clock control signal and a data control signal according to the external control instruction;
step S12, receiving the clock control signal through the first infrared transmitting module, so that the first infrared transmitting module transmits a clock infrared signal to the first infrared receiving module at a first carrier frequency according to the clock control signal;
step S13, receiving the data control signal through the second infrared sending module, so that the second infrared sending module sends the data infrared signal to the second infrared receiving module according to the data control signal and with a second carrier frequency.
The IIC signal is composed of two paths of signals, namely, a clock signal CLK and a data signal SDA, and since the two paths of signals are transmitted and received through infrared, the two paths of signals need to be distinguished.
In the embodiment, the clock infrared signal and the data infrared signal are transmitted at different carrier frequencies, so that the two paths of signals can be independently transmitted.
Further, in the third embodiment proposed based on the second embodiment of the IIC signal transmission method of the present invention, the step S10 includes the steps of:
step S20, sending a data detection infrared signal to the receiving device by the sending device with a preset data delay time, and sending a clock detection infrared signal to the receiving device by the sending device with a preset clock delay time;
step S30, respectively sending a data detection infrared signal and a clock detection infrared signal to the receiving device by the sending device according to the corresponding preset data delay time and the preset clock delay time;
step S40, judging whether the phases of the data detection infrared signal and the clock detection infrared signal are consistent through a phase detection module in the receiving device;
step S41, if yes, sending an acknowledgement signal to the sending device, and executing the steps of: receiving a control instruction through a sending device;
and step S42, if not, adjusting the preset data delay time and the preset clock delay time.
The step of judging whether the phases of the data detection infrared signal and the clock detection infrared signal are consistent can be performed in a phase detection module, or the phase detection module can send the detected phase difference to a chip module, so that whether the phases of the data detection infrared signal and the clock detection infrared signal are consistent is judged according to the phase difference through the chip module. When the phases of the data detection infrared signal and the clock detection infrared signal are consistent, the current preset data delay time and the current preset clock delay time are considered to enable the receiving device to synchronously receive the data infrared signal and the clock infrared signal, so formal signal transmission can be started. When the phases of the data detection infrared signal and the clock detection infrared signal are not consistent, the preset data delay time and the preset clock delay time need to be adjusted until the phases of the data detection infrared signal and the clock detection infrared signal are consistent.
The phase detection module can detect the phases of the clock infrared signal and the data infrared signal, so that the phases of the clock infrared signal and the data infrared signal can be adjusted according to the detection result, and synchronous receiving of the clock infrared signal and the data infrared signal is guaranteed.
The structure of the IIC signal transmission system can refer to the above embodiments, and is not described herein again. The implementation process is consistent with the foregoing structural embodiment, and can be executed by reference.
Further, to achieve the above object, the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program, which when executed by a processor, implements the steps of the IIC signal transmission method as described above.
The above-mentioned computer-readable storage medium having stored thereon a computer program. The computer-readable storage medium may be the Memory 20, or may be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and includes several instructions to enable a terminal device (which may be a television, an automobile, a mobile phone, a computer, a server, a terminal, or a network device) having a processor to execute the method according to the embodiments of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. The term "comprising", without further limitation, means that the element so defined is not excluded from the group of processes, methods, articles, or systems that include the element. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. An IIC signal transmission system, characterized in that the system comprises a sending device and a receiving device, wherein the receiving device is connected with an IIC device for receiving IIC signals of an integrated circuit bus;
the sending device is used for sending an infrared signal to the receiving device according to a control instruction sent by the outside when the control instruction is received;
the receiving device is used for receiving the infrared signal and transmitting the IIC signal to the IIC equipment after converting the infrared signal into the IIC signal.
2. The IIC signal transmission system of claim 1, wherein the transmitting means includes a chip module and two infrared transmitting modules;
the chip module is used for receiving a control instruction and respectively and correspondingly sending a clock control signal and a data control signal to a first infrared sending module and a second infrared sending module of the two infrared sending modules according to the control instruction;
the first infrared transmitting module is used for receiving the clock control signal and transmitting a clock infrared signal to the receiving device at a first carrier frequency according to the clock control signal;
and the second infrared transmitting module is used for receiving the data control signal and transmitting a data infrared signal to the receiving device at a second carrier frequency according to the data control signal.
3. The IIC signal transmission system of claim 2, wherein each infrared transmitting module includes a coding chip, an infrared light emitting diode, a first resistor, a second resistor, and a reset unit;
the output end of the coding chip is connected with the cathode of the infrared light-emitting diode, the anode of the infrared light-emitting diode is connected with a first power supply through the first resistor, the power end of the coding chip is connected with a second power supply, the reset end of the coding chip is connected with the second power supply through the second resistor, the reset end of the coding chip is also connected with the reset unit, and the grounding end of the coding chip is grounded; the first input end of the coding chip is connected with the clock output end of the chip module, and the second input end of the coding chip is connected with the data output end of the chip module.
4. The IIC signal transmission system of claim 2, wherein the receiving means includes two infrared receiving modules;
the two infrared receiving modules are used for respectively receiving the clock infrared signal and the data infrared signal and correspondingly sending the clock signal and the data signal to the IIC equipment when respectively receiving the clock infrared signal and the data infrared signal.
5. The IIC signal transmission system as claimed in claim 4, wherein each of the infrared receiving modules includes an infrared receiving chip, a first filtering unit, a third resistor and a fourth resistor,
the power end of the infrared receiving chip is connected with a fourth power supply through the third resistor, the power end of the infrared receiving chip is also connected with the first filtering unit, the power end of the infrared receiving chip is also connected with the output end of the infrared receiving chip through the fourth resistor, and the grounding end of the infrared receiving chip is grounded; and the output ends of the infrared receiving chips in the two infrared receiving modules are correspondingly connected with the clock input end and the data input end of the IIC equipment.
6. The IIC signal transmission system as claimed in claim 5, wherein said receiving means further comprises a phase detection module, said phase detection module comprising a one-way exclusive-OR gate chip,
the first input end of the single-way exclusive-OR gate chip is connected with the clock input end of the IIC device, the second input end of the single-way exclusive-OR gate chip is connected with the data input end of the IIC device, the output end of the single-way exclusive-OR gate chip is connected with the phase detection end of the chip module, the power supply end of the single-way exclusive-OR gate chip is connected with a power supply, and the grounding end of the single-way exclusive-OR gate chip is grounded.
7. An IIC signal transmission method, comprising:
receiving a control instruction sent from the outside through a sending device, so that the sending device sends an infrared signal to a receiving device corresponding to the sending device according to the control instruction;
and receiving the infrared signal through the receiving device, so that the receiving device converts the infrared signal into an integrated circuit bus IIC signal and then sends the integrated circuit bus IIC signal to IIC equipment.
8. The IIC signal transmission method of claim 7, wherein the transmitting device includes a chip module, a first infrared transmitting module, and a second infrared transmitting module; the receiving device comprises a first infrared receiving module and a second infrared receiving module;
the step of receiving a control instruction sent from the outside through a sending device so that the sending device sends an infrared signal to a receiving device corresponding to the sending device according to the control instruction comprises the following steps:
receiving the control instruction through a chip module, so that the chip module respectively sends a clock control signal and a data control signal according to the external control instruction;
receiving the clock control signal through the first infrared sending module, so that the first infrared sending module sends a clock infrared signal to the first infrared receiving module at a first carrier frequency according to the clock control signal;
and receiving the data control signal through the second infrared sending module, so that the second infrared sending module sends a data infrared signal to the second infrared receiving module according to the data control signal and a second carrier frequency.
9. The IIC signal transmission method as claimed in claim 7, wherein the step of receiving the control command issued from the outside through the transmission device is preceded by:
sending a data detection infrared signal to the receiving device by the sending device with a preset data delay time, and sending a clock detection infrared signal to the receiving device by the sending device with a preset clock delay time;
respectively sending a data detection infrared signal and a clock detection infrared signal to the receiving device by the sending device according to corresponding preset data delay time and preset clock delay time;
judging whether the phases of the data detection infrared signal and the clock detection infrared signal are consistent or not through a phase detection module in the receiving device;
if yes, sending a confirmation signal to the sending device, and executing the following steps: receiving a control instruction through a sending device;
if not, adjusting the preset data delay time and the preset clock delay time.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the IIC signal transmission method according to any one of claims 7 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011419773.5A CN112562307B (en) | 2020-12-07 | 2020-12-07 | IIC signal transmission system, IIC signal transmission method, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011419773.5A CN112562307B (en) | 2020-12-07 | 2020-12-07 | IIC signal transmission system, IIC signal transmission method, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112562307A true CN112562307A (en) | 2021-03-26 |
CN112562307B CN112562307B (en) | 2022-04-12 |
Family
ID=75059382
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011419773.5A Active CN112562307B (en) | 2020-12-07 | 2020-12-07 | IIC signal transmission system, IIC signal transmission method, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112562307B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117351691A (en) * | 2023-12-05 | 2024-01-05 | 深圳市众鑫创展科技有限公司 | Infrared control device, system, data transmission method, medium, and program product |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2896736Y (en) * | 2006-01-24 | 2007-05-02 | 上海广电(集团)有限公司中央研究院 | Infrared-ray data copying device |
CN101334931A (en) * | 2007-06-28 | 2008-12-31 | 深圳Tcl新技术有限公司 | Controlled electric appliance with status of remote controller controllable |
CN101667338A (en) * | 2009-09-25 | 2010-03-10 | 深圳创维-Rgb电子有限公司 | Infrared receiving module on the basis of USB interface |
US20110128146A1 (en) * | 2009-11-30 | 2011-06-02 | National Yunlin University Of Science & Technology | Caring system at home |
CN102238397A (en) * | 2010-05-07 | 2011-11-09 | Tcl集团股份有限公司 | Multi-channel infrared system and infrared parameter setting method thereof |
CN102289926A (en) * | 2011-09-26 | 2011-12-21 | 青岛海信信芯科技有限公司 | Signal transmitting method and device thereof and television remote controller |
CN102594340A (en) * | 2011-01-17 | 2012-07-18 | 智原科技股份有限公司 | Phase detector, phase detection method and clock data recovery device |
CN102707845A (en) * | 2012-06-18 | 2012-10-03 | 广州视睿电子科技有限公司 | Touch system based on infrared signal identification |
CN103325237A (en) * | 2013-05-29 | 2013-09-25 | 泰凌微电子(上海)有限公司 | Method and device for producing universal infrared carrier signal |
CN104503935A (en) * | 2014-12-02 | 2015-04-08 | 天津国芯科技有限公司 | IIC control device and control method capable of accurately controlling time sequence |
CN105488997A (en) * | 2015-12-28 | 2016-04-13 | 魅族科技(中国)有限公司 | Infrared remote control module and infrared remote control system |
CN105678885A (en) * | 2016-03-20 | 2016-06-15 | 杭州电子科技大学 | Internet-of-Things intelligent lock remote equipment |
CN105934752A (en) * | 2014-02-06 | 2016-09-07 | 皮尔技术公司 | Generating and receiving infrared communications on mobile device |
US20160292113A1 (en) * | 2015-03-31 | 2016-10-06 | Nxp B.V. | Method and system for address decoding in a data communications system using a serial data transfer bus |
CN205644953U (en) * | 2016-05-18 | 2016-10-12 | 上海中基国威电子有限公司 | Application circuit based on cell -phone, omnipotent study remote control chip SM108 of MID |
US20180046595A1 (en) * | 2014-06-18 | 2018-02-15 | Qualcomm Incorporated | Dynamically adjustable multi-line bus shared by multi-protocol devices |
CN109493782A (en) * | 2018-12-19 | 2019-03-19 | 惠科股份有限公司 | Signal correction controller, signal correction control method and display device |
-
2020
- 2020-12-07 CN CN202011419773.5A patent/CN112562307B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2896736Y (en) * | 2006-01-24 | 2007-05-02 | 上海广电(集团)有限公司中央研究院 | Infrared-ray data copying device |
CN101334931A (en) * | 2007-06-28 | 2008-12-31 | 深圳Tcl新技术有限公司 | Controlled electric appliance with status of remote controller controllable |
CN101667338A (en) * | 2009-09-25 | 2010-03-10 | 深圳创维-Rgb电子有限公司 | Infrared receiving module on the basis of USB interface |
US20110128146A1 (en) * | 2009-11-30 | 2011-06-02 | National Yunlin University Of Science & Technology | Caring system at home |
CN102238397A (en) * | 2010-05-07 | 2011-11-09 | Tcl集团股份有限公司 | Multi-channel infrared system and infrared parameter setting method thereof |
CN102594340A (en) * | 2011-01-17 | 2012-07-18 | 智原科技股份有限公司 | Phase detector, phase detection method and clock data recovery device |
CN102289926A (en) * | 2011-09-26 | 2011-12-21 | 青岛海信信芯科技有限公司 | Signal transmitting method and device thereof and television remote controller |
CN102707845A (en) * | 2012-06-18 | 2012-10-03 | 广州视睿电子科技有限公司 | Touch system based on infrared signal identification |
CN103325237A (en) * | 2013-05-29 | 2013-09-25 | 泰凌微电子(上海)有限公司 | Method and device for producing universal infrared carrier signal |
CN105934752A (en) * | 2014-02-06 | 2016-09-07 | 皮尔技术公司 | Generating and receiving infrared communications on mobile device |
US20180046595A1 (en) * | 2014-06-18 | 2018-02-15 | Qualcomm Incorporated | Dynamically adjustable multi-line bus shared by multi-protocol devices |
CN104503935A (en) * | 2014-12-02 | 2015-04-08 | 天津国芯科技有限公司 | IIC control device and control method capable of accurately controlling time sequence |
US20160292113A1 (en) * | 2015-03-31 | 2016-10-06 | Nxp B.V. | Method and system for address decoding in a data communications system using a serial data transfer bus |
CN105488997A (en) * | 2015-12-28 | 2016-04-13 | 魅族科技(中国)有限公司 | Infrared remote control module and infrared remote control system |
CN105678885A (en) * | 2016-03-20 | 2016-06-15 | 杭州电子科技大学 | Internet-of-Things intelligent lock remote equipment |
CN205644953U (en) * | 2016-05-18 | 2016-10-12 | 上海中基国威电子有限公司 | Application circuit based on cell -phone, omnipotent study remote control chip SM108 of MID |
CN109493782A (en) * | 2018-12-19 | 2019-03-19 | 惠科股份有限公司 | Signal correction controller, signal correction control method and display device |
Non-Patent Citations (3)
Title |
---|
谭敏刚: "智能需求侧并网检测与控制***的研制与开发", 《中国优秀博硕士学位论文全文数据库》 * |
豆丁网/54276227D0: "VS1838芯片", 《VS1838》 * |
豆丁网/WEIJINSI: "智能红外遥控IC_HXD019", 《HXD019_多功能+学习型_红外遥控IC资料_智能_V1.1.1.MZH》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117351691A (en) * | 2023-12-05 | 2024-01-05 | 深圳市众鑫创展科技有限公司 | Infrared control device, system, data transmission method, medium, and program product |
CN117351691B (en) * | 2023-12-05 | 2024-03-22 | 深圳市众鑫创展科技有限公司 | Infrared control device, system, data transmission method, medium, and program product |
Also Published As
Publication number | Publication date |
---|---|
CN112562307B (en) | 2022-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9128691B2 (en) | Method and terminal for selecting internal circuit according to USB interface status | |
US8880752B2 (en) | Customizing and/or multiplexing universal serial bus pins | |
US20150303704A1 (en) | Charging system automatically switching between wired charging mode and wireless charging mode, and related charging control method and wireless power receiver circuit | |
CN112562307B (en) | IIC signal transmission system, IIC signal transmission method, and storage medium | |
RU2015109465A (en) | STAND WITH AUTO RECOVERY FUNCTION AND METHOD FOR AUTOMATIC RECOVERY FOR THIS STAND | |
CN109254210B (en) | Electronic equipment port type detection method and device, detection circuit and electronic equipment | |
JP2015033952A (en) | Control system | |
CN106254465B (en) | A kind of data transmission method, system and electronic equipment | |
US7631129B2 (en) | Computer monitoring system and monitoring method | |
EP3208720A1 (en) | Display device and method for implementing new-connection notification function for mhl signal source | |
CN104536314B (en) | Start control circuit, method and electronic equipment based on near-field communication NFC | |
CN108243077B (en) | Single-wire bidirectional communication circuit and vehicle | |
JP4531884B2 (en) | Address, instruction and / or data telegraph device and address, instruction and / or data telegraph method | |
US9563593B2 (en) | Peripheral component interconnect adapter and computer using same | |
CN114064545B (en) | Method and device for identifying serial port function, main control chip, household electrical appliance and medium | |
EP3288136B1 (en) | Esd testing device, integrated circuit, and method applicable in digital integrated circuit | |
US9735837B2 (en) | Method and wireless charging receiver capable of automatically detecting information of wireless power transmitter to limit maximum charging current provided for portable device | |
JP2009003915A (en) | Conversion circuit | |
CN109855746B (en) | Temperature value transmission device and method thereof | |
KR101568096B1 (en) | Error diagnosis method and apparatus of the vehocle multiplexer | |
JP2006129276A (en) | Communication controller and air conditioner | |
CN209994399U (en) | NB-IoT module | |
CN101751772A (en) | Infrared remote control system for controlling household appliance and remote control method thereof | |
US6975312B2 (en) | Computer system having network connector and method of checking connection state of network cable therefor | |
CN108241309B (en) | Management control method and system |
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 |