CN221010121U - Signal transmission device - Google Patents

Signal transmission device Download PDF

Info

Publication number
CN221010121U
CN221010121U CN202322652452.5U CN202322652452U CN221010121U CN 221010121 U CN221010121 U CN 221010121U CN 202322652452 U CN202322652452 U CN 202322652452U CN 221010121 U CN221010121 U CN 221010121U
Authority
CN
China
Prior art keywords
signal
controller
original data
communication module
transmission device
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
CN202322652452.5U
Other languages
Chinese (zh)
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.)
Wingtech Communication Co Ltd
Original Assignee
Wingtech Communication 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 Wingtech Communication Co Ltd filed Critical Wingtech Communication Co Ltd
Priority to CN202322652452.5U priority Critical patent/CN221010121U/en
Application granted granted Critical
Publication of CN221010121U publication Critical patent/CN221010121U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

The embodiment of the application discloses a signal transmission device, which comprises a power line communication module, a first controller, a visible light communication module and a second controller; the power line communication module is used for receiving the original data, transmitting the original data through a power line and sending the original data to the first controller; the first controller is used for generating a pulse signal according to the original data, encoding the pulse signal to obtain an encoded signal, and transmitting the encoded signal to the visible light communication module; the visible light communication module is used for generating an optical signal according to the coded signal, transmitting the optical signal and converting the optical signal into an electric signal; and the second controller is used for decoding the electric signals to obtain the original data. The signal transmission device disclosed by the embodiment of the application can enlarge the coverage range of visible light communication.

Description

Signal transmission device
Technical Field
The application relates to the technical field of communication, in particular to a signal transmission device.
Background
With the development of science and the advancement of technology, light emitting Diode (LIGHT EMITTING Diode, LED) technology is widely applied to aspects of life. The technology of visible light communication (Visible Light Communications, VLC) developed on the basis of the above is also rapidly developed. The visible light communication technology is a wireless communication technology, can utilize optical signals in a visible light spectrum to transmit data, can not occupy the existing wireless communication spectrum resources, and can be compatible with illumination. However, the coverage of the current visible light communication is relatively limited, and the current visible light communication is only suitable for local indoor communication or short-distance communication, and cannot be suitable for a wide-range communication scene. Therefore, a signal transmission device is required to be designed to solve the technical problem of small coverage area of the existing visible light communication.
Disclosure of utility model
The embodiment of the application discloses a signal transmission device which can enlarge the coverage range of visible light communication.
The embodiment of the application discloses a signal transmission device, which comprises a power line communication module, a first controller, a visible light communication module and a second controller;
The power line communication module is used for receiving original data, transmitting the original data through a power line and sending the original data to the first controller;
The first controller is used for generating a pulse signal according to the original data, encoding the pulse signal to obtain an encoded signal, and transmitting the encoded signal to the visible light communication module;
The visible light communication module is used for generating an optical signal according to the coded signal, transmitting the optical signal and converting the optical signal into an electric signal;
The second controller is configured to decode the electrical signal to obtain the raw data.
As an alternative embodiment, the power line communication module includes a third controller, a transmitting unit, and a receiving unit; the third controller is connected with the sending unit, the sending unit is connected with the receiving unit through the power line, and the receiving unit is connected with the first controller;
The third controller is configured to receive the original data, modulate the original data to obtain a modulated signal, and send the modulated signal to the sending unit;
the transmitting unit is used for transmitting the modulation signal to the receiving unit through the power line;
The receiving unit is configured to receive the modulated signal, demodulate the modulated signal, obtain the original data, and send the original data to the first controller.
As an optional implementation manner, the third controller is further configured to start a first timer, and send the raw data to the sending unit when detecting that the first timer has an interrupt event.
As an optional implementation manner, the first controller includes an input/output port, the visible light communication module includes a driving circuit and a light emitting component, and the driving circuit is respectively connected with the input/output port of the first controller and the light emitting component;
the input/output port is used for sending the coding signal to the driving circuit;
The driving circuit is used for driving the light emitting component to generate an optical signal according to the coding signal.
As an alternative embodiment, the visible light communication module further includes a photosensitive sensor, and the photosensitive sensor is connected to the second controller;
The photosensitive sensor is used for receiving the optical signal generated by the light-emitting component, converting the optical signal into an electric signal and sending the electric signal to the second controller.
As an alternative embodiment, the signal transmission device further comprises an amplifying circuit; the amplifying circuit is respectively connected with the photosensitive sensor and the second controller;
The amplifying circuit is used for amplifying the electric signal output by the photosensitive sensor and sending the amplified electric signal to the second controller;
the second controller is further configured to encode the amplified electrical signal to obtain the original data.
As an alternative embodiment, the amplifying circuit includes a first amplifier and a second amplifier, the first amplifier is connected to the photosensitive sensor and the second amplifier, respectively, and the second amplifier is further connected to the second controller.
As an optional implementation manner, the power line communication module is further connected with a temperature and humidity sensor;
The power line communication module is used for receiving the original data acquired by the temperature and humidity sensor and sending the original data acquired by the temperature and humidity sensor to the first controller.
As an optional implementation manner, the first controller is further configured to detect whether a data start bit of the original data is received in a case that a serial port interrupt event is detected; the raw data is received if the data start bit is detected.
As an optional implementation manner, the second controller is further configured to start a second timer, detect whether a signal start bit of the electrical signal is received when an interrupt event of the second timer is detected, receive the electrical signal when the signal start bit is detected, and decode the electrical signal to obtain a binary string; converting the binary string into the original data.
Compared with the related art, the embodiment of the application has the following beneficial effects:
The embodiment of the application discloses a signal transmission device, which comprises a power line communication module, a first controller, a visible light communication module and a second controller; the power line communication module receives the original data, transmits the original data through a power line and sends the original data to the first controller; the first controller generates a pulse signal according to the original data under the condition of receiving the original data, codes the pulse signal to obtain a coded signal, and sends the coded signal to the visible light communication module; the visible light communication module generates an optical signal according to the coded signal under the condition that the coded signal is received, transmits the optical signal and converts the optical signal into an electric signal; the second controller decodes the electrical signal to obtain the original data upon receiving the electrical signal.
It can be seen that, in the signal transmission device disclosed in the embodiment of the present application, the original data is transmitted through the power line communication module, so that the transmission distance of the original data can be prolonged, and the first controller generates the encoded signal according to the original data transmitted by the power line communication module, so that the visible light communication module can generate the optical signal according to the encoded signal, so that the original data is transmitted through the optical signal, and the coverage range of the visible light communication can be enlarged.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a signal transmission device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of another signal transmission device according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of a power line communication module according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another signal transmission device according to an embodiment of the present application;
Fig. 5 is an application scenario diagram of a signal transmission device according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of another signal transmission device according to an embodiment of the present application;
FIG. 7a is an interface diagram of a temperature and humidity sensor according to an embodiment of the present application;
FIG. 7b is an interface diagram of a display screen according to an embodiment of the present application;
FIG. 8a is a flowchart of a third controller sender according to an embodiment of the present application;
FIG. 8b is a flowchart illustrating a first controller receiver according to an embodiment of the present application;
fig. 8c is a flowchart of a second controller receiving end according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a signal transmission device which can enlarge the coverage range of visible light communication.
The technical scheme of the present application will be described in detail with reference to specific embodiments.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a signal transmission device according to an embodiment of the application. The signal transmission device 100 includes a power line communication module 101, a first controller 102, a visible light communication module 103, and a second controller 104;
A power line communication module 101 for receiving the original data, transmitting the original data through a power line, and transmitting the original data to the first controller 102;
A first controller 102, configured to generate a pulse signal according to the original data, encode the pulse signal to obtain an encoded signal, and send the encoded signal to the visible light communication module 103;
A visible light communication module 103 for generating an optical signal according to the encoded signal, transmitting the optical signal, and converting the optical signal into an electrical signal;
The second controller 104 is configured to decode the electrical signal to obtain the original data.
The power line communication module 101 is a module that performs communication based on a power line communication technology (Power Line Communication, PLC), which is a technology that uses a power line to transmit data. The power line may be formed of a conductor such as a metal wire or cable, may serve as a carrier for transmitting raw data, and may cover a long distance and a wide range.
In some embodiments, the power line communication module 101 may convert the original data into a modulated signal by a modulation technique, transmit the modulated signal over the power line, and convert the modulated signal back into the original data. Alternatively, modulation techniques may include, but are not limited to, amplitude shift keying (Amplitude SHIFT KEYING, ASK), frequency shift keying (Frequency SHIFT KEYING, FSK), phase shift keying (PHASE SHIFT KEYING, PSK), and the like.
In some embodiments, the first controller 102 and the second controller 104 may be microcontrollers (Microcontroller Unit, MCUs), i.e., single-chip computers.
The first controller 102 may modulate the raw data to obtain a pulse signal, and optionally, the first controller 102 may obtain a pulse signal by a modulation technique such as pulse width modulation (Pulse Width Modulation, PWM), pulse code modulation (Pulse Code Modulation, PCM), or differential code modulation (DIFFERENTIAL CODING), and encode the pulse signal to obtain an encoded signal.
Alternatively, techniques for encoding the pulse signal may include, but are not limited to, manchester encoding, differential Manchester encoding, color SHIFT KEYING, CSK, and the like.
The visible light communication module 103 is a module that communicates based on a visible light communication technology (Visible Light Communications, VLC). The visible light communication technology may be a communication technology for realizing signal transmission by using bright and dark flickering signals emitted by a light emitting component such as a fluorescent lamp or a light emitting diode.
The visible light communication cannot penetrate the wall, so that signals are difficult to eavesdrop or invade, and the safety is high; the visible light communication can provide high-broadband data transmission, and the optical signals in the visible light spectrum are used for transmitting data, so that the existing wireless communication spectrum resources are not occupied, and the communication cost is reduced.
In some embodiments, visible light communication may be applied to indoor high precision positioning, and a light emitting assembly installed within a building may transmit a light signal that a user may receive using a smart phone or other electronic device to determine its precise location. The visible light communication can be applied to indoor positioning and indoor communication, and can also be applied to the fields of intelligent home and Internet of things, and is not particularly limited.
Alternatively, the first controller 102 encodes the pulse signal, and the resulting encoded signal may be a binary signal consisting of "0" and "1", and the visible light communication module 103 may generate the optical signal according to the encoded signal, or may not generate the optical signal if the encoded signal is "0", and generate the optical signal if the encoded signal is "1".
The visible light communication module 103 can transmit an optical signal and convert the optical signal into an electrical signal such as a corresponding voltage or current signal; the second controller 104 may decode the electrical signal to obtain the raw data.
It can be seen that, in the signal transmission device disclosed in the embodiment of the present application, the original data is transmitted through the power line communication module, so that the transmission distance of the original data can be prolonged, and the first controller generates the encoded signal according to the original data transmitted by the power line communication module, so that the visible light communication module can generate the optical signal according to the encoded signal, so that the original data is transmitted through the optical signal, and the coverage range of the visible light communication can be enlarged.
Referring to fig. 2, fig. 2 is a schematic structural diagram of another signal transmission device according to an embodiment of the application.
In some embodiments, the power line communication module 101 includes a third controller 201, a transmitting unit 202, and a receiving unit 203; the third controller 201 is connected to the transmitting unit 202, the transmitting unit 202 is connected to the receiving unit 203 through a power line, and the receiving unit 203 is connected to the first controller 102;
A third controller 201, configured to receive the original data, modulate the original data to obtain a modulated signal, and send the modulated signal to a sending unit 202;
a transmitting unit 202 for transmitting the modulated signal to the receiving unit 203 through a power line;
the receiving unit 203 is configured to receive the modulated signal, demodulate the modulated signal, obtain the original data, and send the original data to the first controller 102.
In some embodiments, the third controller 201 may be a microcontroller (Microcontroller Unit, MCU), i.e. a single-chip microcomputer.
The third controller 201 may modulate the raw data to obtain a modulated signal, so that the raw data can be transmitted in the form of the modulated signal on the carrier, which is a power line.
In some embodiments, the sending unit 202 may include an ethernet interface, a serial interface (e.g., RS-232, RS-485, UART, etc.), a controller area network bus (Controller Area Network, CAN) interface, etc., which may be used to receive the raw data, and is not limited in particular.
In some embodiments, the receiving unit 203 may include an interface corresponding to the transmitting unit 202 described above, for receiving the modulated signal transmitted by the transmitting unit 202 through the power line.
The receiving unit 203 may also demodulate the modulated signal to obtain the original data, so that the power line communication module 101 may transmit the original data without losing the original data, thereby extending the communication distance and expanding the communication coverage.
In some embodiments, the third controller 201 is further configured to start the first timer, and send the original data to the sending unit 202 when detecting that the first timer has an interrupt event.
The third controller 201 includes a first timer, which may include a counting unit, and the counting unit in the first timer may count under the driving of a clock, and if the value of the counting unit increases to a certain threshold value, an interrupt event is triggered and a timed task is executed.
When the third controller 201 detects that the first timer has an interrupt event, the original data is sent to the sending unit, and the original data may be periodically sent to the sending unit at a specific time interval, so that the periodic sending of the original data may be realized, thereby reducing the load of the third controller 201.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a power line communication module in some embodiments.
In some embodiments, the first controller 102 includes an input-output port 1021, the visible light communication module 103 includes a driving circuit 1031 and a light emitting component 1032, and the driving circuit 1031 is respectively connected with the input-output port 1021 and the light emitting component 1032 of the first controller 102;
An input-output port 1021 for transmitting the encoded signal to the drive circuit 1031;
The driving circuit 1031 is configured to drive the light emitting component 1032 to generate an optical signal according to the encoded signal.
The Input/Output Port 1021 (I/O) may be an interface for data exchange with the driving circuit 1031, and may perform bidirectional communication.
The light emitting components 1032 in the drive circuit 1031 may include, but are not limited to, light emitting diodes (LIGHT EMITTING diodes), incandescent bulbs, fluorescent tubes, lasers, and the like.
The encoded signal may be a binary signal composed of "0" and "1", and the driving circuit 1031 may drive the light emitting element 1032 to generate the light signal according to the encoded signal, or may drive the light emitting element 1032 to generate no light signal if the encoded signal is "0", and drive the light emitting element 1032 to generate the light signal if the encoded signal is "1".
Since the maximum output voltage of the input/output port 1021 of the first controller 102 is smaller and the output current is smaller, the driving capability is weaker and is insufficient to drive the light emitting component 1032 with a high-power illumination model, the driving capability of the pins of the singlechip must be improved, and the driving circuit 1031 is added into the visible light communication module 103, so that the light emitting component 1032 can be ensured to successfully and effectively emit light signals, and thus, the data can be transmitted optically.
In some embodiments, the drive circuit 1031 may include a voltage stabilizer, a current limiter, a reverse voltage protector, etc. for ensuring that a stable voltage is provided across the light emitting assembly 1032 and that a stable current is provided to the light emitting assembly 1032 and preventing the reverse voltage from damaging the light emitting assembly 1032.
Referring to fig. 4, fig. 4 is a schematic structural diagram of another signal transmission device according to an embodiment of the application. In some embodiments, the visible light communication module 103 further includes a photosensitive sensor 401, the photosensitive sensor 401 being connected to the second controller 104;
The photosensitive sensor 401 is configured to receive the optical signal generated by the light emitting component 1032, convert the optical signal into an electrical signal, and send the electrical signal to the second controller 104.
The photosensor 401 is a sensor for sensing an optical signal, and is capable of converting the optical signal into an electrical signal. In some embodiments, the photosensor 401 may include, but is not limited to, a photoresistor (LDR), a Photodiode (Photodiode), a phototransistor (Phototransistor), and the like.
In some embodiments, the photosensor 401 may be suitable for a spectrum range of 300 nanometers (nm) to 1000 nanometers (nm), and has a larger photosensitive range, so that photoelectric conversion efficiency on visible light can be effectively improved.
In some embodiments, the signal transmission apparatus 100 further comprises an amplifying circuit 402; the amplifying circuit 402 is connected with the photosensitive sensor 401 and the second controller 104 respectively; an amplifying circuit 402 for amplifying the electric signal output from the photosensor 401 and transmitting the amplified electric signal to the second controller 104; the second controller 104 is further configured to encode the amplified electrical signal to obtain the original data.
After the optical signal is converted into an electrical signal by the photosensitive sensor 401, the converted electrical signal may be amplified by the amplifying circuit 402, for example, by increasing the signal amplitude and increasing the signal-to-noise ratio, so as to improve the reliability and sensitivity of the signal, and increase the signal transmission distance, so that the second controller 104 can effectively process the electrical signal.
Alternatively, the amplifying circuit 402 may be designed as a pre-amplifying circuit using an operational amplifier, and in particular, the operational amplifier may be placed at a start position of the signal path, so that the electric signal may be amplified to a higher amplitude to improve the signal-to-noise ratio.
To further enhance the amplification effect of the signal and increase the transmission distance of the signal, the amplification circuit 402 may take the form of two-stage amplification. In some embodiments, the amplifying circuit 302 includes a first amplifier and a second amplifier, the first amplifier being connected to the photosensor 301 and the second amplifier, respectively, the second amplifier being further connected to the second controller 104.
The first amplifier and the second amplifier may be operational amplifiers, and may have different amplification factors. The first amplifier can amplify the amplitude of the electric signal to an intermediate level so as to improve the strength of the signal and have higher gain; the second amplifier may receive the output of the first amplifier and amplify it further, with a higher gain, to amplify the signal to a final desired level.
In some embodiments, the photosensitive sensor 401, the amplifying circuit 402 and the second controller 104 may be disposed in an electronic device 500 with a communication function, such as a mobile phone, a tablet computer, a wearable device, etc., as shown in fig. 5, where fig. 5 is an application scenario diagram of the signal transmission device disclosed in some embodiments. Illustratively, the light emitting assembly 1032 is installed in a room, and a user carries an electronic device, and the photosensor 401 in the electronic device can receive the light signal transmitted by the light emitting assembly and convert it into raw data through the amplifying circuit 402 and the second controller 104, thereby realizing indoor positioning and indoor communication.
Referring further to fig. 6, fig. 6 is a schematic structural diagram of another signal transmission device according to an embodiment of the disclosure. In some embodiments, the power line communication module 101 is also connected to the temperature and humidity sensor 600; the power line communication module 101 is configured to receive raw data collected by the temperature and humidity sensor 600, and send the raw data collected by the temperature and humidity sensor 600 to the first controller 102.
In some embodiments, the temperature and humidity sensor 600 may be connected to the third controller 201 in the power line communication module 101, and send raw data to the third controller 201.
The temperature and humidity sensor 600 may be used to collect temperature and humidity in the environment, so the raw data may include temperature and humidity.
In some embodiments, the second controller 104 of the signal transmission device 100 may also be connected to the display 601.
The display 601 may include, but is not limited to, a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), a Light Emitting Diode (LED) display, and the like.
As shown in fig. 7a and 7b, fig. 7a is an interface diagram of a temperature and humidity sensor disclosed in some embodiments, and fig. 7b is an interface diagram of a display screen disclosed in some embodiments.
Therefore, after the original data is transmitted by the signal transmission device 100 in the embodiment of the application, the display screen 601 can display the original data collected by the temperature and humidity sensor 600, so as to ensure the integrity of the original data.
In some embodiments, the first controller 102 is further configured to detect whether a data start bit of the original data is received, in a case where a serial port interrupt event is detected; in the event that a data start bit is detected, raw data is received.
In some embodiments, the power line communication module 101 may send the raw data to the first controller 102 by way of serial port communication; the first controller 102 may send the coded signal to the visible light communication module 103 by means of serial port communication; the visible light communication module 103 may send an electrical signal to the second controller 104 by means of serial communication.
The first controller 102 may receive data in a serial port communication manner, and when new data is available in the serial port receiving buffer area, a serial port interrupt event may be triggered, so that the first controller 102 may detect whether the data in the serial port receiving buffer area has a data start bit of original data, and if the data start bit is detected, may receive the original data, thereby being capable of responding to the received data in real time, and improving the processing efficiency of the data.
The data start bit is used in serial communication to identify the beginning of a data frame, and the first controller 102 may begin receiving the original data if the data start bit is detected.
Alternatively, the data start bit may be a logic high level, a logic low level, a falling edge from 1 to 0, or a rising edge from 0 to 1, which is not particularly limited.
In some embodiments, the second controller 104 is further configured to start the second timer, detect whether a signal start bit of the electrical signal is received when an interrupt event of the second timer is detected, receive the electrical signal when the signal start bit is detected, and decode the electrical signal to obtain a binary string; the binary string is converted into original data.
The second controller 104 includes a second timer, which may include a counting unit, where the counting unit in the second timer may count under the driving of a clock, and if the value of the counting unit increases to a certain threshold value, an interrupt event is triggered and a timed task is executed.
The second controller 104 detects whether a signal start bit of the electrical signal is received in the case where it detects that the second timer has an interrupt event.
The signal start bit is used to identify the start of a signal in serial communication, and the second controller 104 may begin receiving an electrical signal if the signal start bit is detected.
Alternatively, the signal start bit may be a logic high level, a logic low level, a falling edge from 1 to 0, or a rising edge from 0 to 1, which is not particularly limited.
The second controller 104 decodes the electric signal to obtain a binary string; the binary string is converted into original data.
For example, if the first controller encodes the pulse signal in manchester encoding, the second controller decodes the electrical signal in manchester decoding. The binary string may be a string composed of "0" and "1", which is converted into original data based on binary characters.
The transmitting end (the light emitting component 1032) of the visible light communication module 103 needs to transmit the data carried by the optical signal, and meanwhile, the receiving end (the photosensitive sensor 401) of the visible light communication module 103 needs to receive the data, so that a data format needs to be specially specified, and a unified data processing mode is required between the transmitting end and the receiving end. Therefore, there is a need for suitable encoding and decoding schemes, which have certain requirements. "1" and "0" represent on/off of the light emitting element 1032, and for lighting requirement, data of all 0 cannot be generated for a long time, otherwise, the light emitting element 1032 will be in an on/off state, and secondly, coding is as simple as possible, and use and coding are convenient. Furthermore, the DC component is reduced as much as possible.
To meet such a demand, manchester encoding can be applied to encoding and decoding in the signal transmission apparatus in the embodiment of the present application. First the manchester code is a two-bit symbol, i.e. when a transition from a low level to a high level is encountered, i.e. a rising edge, which represents a bit of data. And secondly, when the clock is temporarily updated at a rising edge or a falling edge, the clock is refreshed once and can be used as clock synchronization. The power of the power supply is constant every two codes, namely '01' or '10', which continuously transmits data, and the power supply is very practical for illumination. And the coding is simple, and the operation and the learning are convenient.
As described in fig. 8a, 8b, and 8c, fig. 8a is a flowchart illustrating the operation of the third controller sender in some embodiments; FIG. 8b is a flowchart of the operation of the first controller receiver in some embodiments; fig. 8c is a flowchart of the operation of the second controller receiver in some embodiments.
As shown in fig. 8a, the third controller 201 transmits raw data to the transmission unit 202 in the case where it detects that the first timer has an interrupt event.
As shown in fig. 8b, the first controller 102 detects whether a data start bit of the original data is received in the case of detecting a serial port interrupt event; under the condition that the data start bit is detected, the original data is received, and the original data can be stored in the global variable of the memory unit, so that the purpose of receiving the original data is achieved.
As shown in fig. 8c, the second controller 104 is further configured to start the second timer, detect whether a signal start bit of the electrical signal is received when an interrupt event of the second timer is detected, and perform manchester decoding on the electrical signal to obtain a binary string when the signal start bit is detected; the binary string is converted into original data and the original data is displayed in a display screen.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least some embodiments of the present application. Thus, the appearances of the phrases "in some embodiments" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art will also appreciate that the embodiments described in the specification are alternative embodiments and that the acts and modules referred to are not necessarily required for the present application.
In various embodiments of the present application, it should be understood that the sequence numbers of the foregoing processes do not imply that the execution sequences of the processes should be determined by the functions and internal logic of the processes, and should not be construed as limiting the implementation of the embodiments of the present application.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, or a part contributing to the prior art or all or part of the technical solution, may be embodied in the form of a software product stored in a memory, comprising several requests for a computer device (which may be a personal computer, a server or a network device, etc., in particular may be a processor in a computer device) to execute some or all of the steps of the above-mentioned method of the various embodiments of the present application.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium that can be used for carrying or storing signals.
The foregoing has outlined a detailed description of a signal transmission device according to the embodiments of the present application, and specific examples have been provided herein to illustrate the principles and embodiments of the present application, the above examples being provided only to assist in understanding the method and core idea of the present application. Meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. The signal transmission device is characterized by comprising a power line communication module, a first controller, a visible light communication module and a second controller;
The power line communication module is used for receiving original data, transmitting the original data through a power line and sending the original data to the first controller;
The first controller is used for generating a pulse signal according to the original data, encoding the pulse signal to obtain an encoded signal, and transmitting the encoded signal to the visible light communication module;
The visible light communication module is used for generating an optical signal according to the coded signal, transmitting the optical signal and converting the optical signal into an electric signal;
The second controller is configured to decode the electrical signal to obtain the raw data.
2. The signal transmission device of claim 1, wherein the power line communication module comprises a third controller, a transmitting unit, and a receiving unit; the third controller is connected with the sending unit, the sending unit is connected with the receiving unit through the power line, and the receiving unit is connected with the first controller;
The third controller is configured to receive the original data, modulate the original data to obtain a modulated signal, and send the modulated signal to the sending unit;
the transmitting unit is used for transmitting the modulation signal to the receiving unit through the power line;
The receiving unit is configured to receive the modulated signal, demodulate the modulated signal, obtain the original data, and send the original data to the first controller.
3. The signal transmission device according to claim 2, wherein the third controller is further configured to start a first timer, and send the original data to the sending unit if an interrupt event of the first timer is detected.
4. The signal transmission device according to claim 1, wherein the first controller includes an input/output port, the visible light communication module includes a driving circuit and a light emitting component, and the driving circuit is connected to the input/output port of the first controller and the light emitting component, respectively;
the input/output port is used for sending the coding signal to the driving circuit;
The driving circuit is used for driving the light emitting component to generate an optical signal according to the coding signal.
5. The signal transmission device of claim 4, wherein the visible light communication module further comprises a light sensitive sensor, the light sensitive sensor being coupled to the second controller;
The photosensitive sensor is used for receiving the optical signal generated by the light-emitting component, converting the optical signal into an electric signal and sending the electric signal to the second controller.
6. The signal transmission device of claim 5, further comprising an amplifying circuit; the amplifying circuit is respectively connected with the photosensitive sensor and the second controller;
The amplifying circuit is used for amplifying the electric signal output by the photosensitive sensor and sending the amplified electric signal to the second controller;
the second controller is further configured to encode the amplified electrical signal to obtain the original data.
7. The signal transmission device of claim 6, wherein the amplifying circuit comprises a first amplifier and a second amplifier, the first amplifier being connected to the photosensitive sensor and the second amplifier, respectively, the second amplifier being further connected to the second controller.
8. The signal transmission device according to any one of claims 1 to 7, wherein the power line communication module is further connected to a temperature and humidity sensor;
The power line communication module is used for receiving the original data acquired by the temperature and humidity sensor and sending the original data acquired by the temperature and humidity sensor to the first controller.
9. The signal transmission device of claim 1, wherein the first controller is further configured to detect whether a data start bit of the original data is received in a case where a serial port interrupt event is detected; the raw data is received if the data start bit is detected.
10. The signal transmission device according to claim 1, wherein the second controller is further configured to start a second timer, detect whether a signal start bit of the electrical signal is received if an interrupt event of the second timer is detected, receive the electrical signal if the signal start bit is detected, and decode the electrical signal to obtain a binary string; converting the binary string into the original data.
CN202322652452.5U 2023-09-27 2023-09-27 Signal transmission device Active CN221010121U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202322652452.5U CN221010121U (en) 2023-09-27 2023-09-27 Signal transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202322652452.5U CN221010121U (en) 2023-09-27 2023-09-27 Signal transmission device

Publications (1)

Publication Number Publication Date
CN221010121U true CN221010121U (en) 2024-05-24

Family

ID=91116597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202322652452.5U Active CN221010121U (en) 2023-09-27 2023-09-27 Signal transmission device

Country Status (1)

Country Link
CN (1) CN221010121U (en)

Similar Documents

Publication Publication Date Title
CN102025854B (en) Method for implementing learning type mobile phone remote controller and learning type mobile phone remote controller
JP6058636B2 (en) Lighting device and receiver
CN103869284A (en) Visible light communication-based indoor positioning system and method
US6118567A (en) Efficient encoding and detection method and device for binary intensity modulated optical data signals
CN205596120U (en) High -speed LED visible light communication system and receiving arrangement
CN203554545U (en) Handset internet-surfing device based on visible-light communication
CN108199771A (en) A kind of visible light communication device
CN109889267B (en) Method for sending coded information based on optical communication, optical label and code scanning equipment
CN221010121U (en) Signal transmission device
US6864634B2 (en) Method and system for transmitting and displaying information on a wireless device using plastic electronics
CN208158589U (en) A kind of visible light communication device
CN203386359U (en) Learning infrared remote controller based on ZIGBEE
CN203377885U (en) An optical signal transmitting and receiving apparatus and an optical signal transmitting and receiving system
CN111082864A (en) Integrated circuit of visible light communication system transmitting module
CN103441753A (en) Wireless card plug-in and power-on device for a room
CN203386343U (en) Learning infrared remote controller based on WIFI (wireless fidelity)
RU188840U1 (en) Light control device
Khare et al. Li–Fi Technology, Implementations and Applications
Wei et al. Design and implementation of indoor visible light communication system based on high order PAM
CN210380854U (en) Visible light signal processing circuit
CN101170306B (en) An intelligent random code radio remote control switch
CN110428601B (en) Infrared remote control method based on single chip microcomputer, repeater and remote control system thereof
CN211183930U (en) Infrared remote control switch based on singlechip
CN208424523U (en) A kind of system using smart phone control intelligent electric energy meter
KR102399880B1 (en) Wireless lighting control device and lighting control method using the same

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant