WO2017152812A1 - Optical chip for optical communications, and authentication device - Google Patents

Optical chip for optical communications, and authentication device Download PDF

Info

Publication number
WO2017152812A1
WO2017152812A1 PCT/CN2017/075623 CN2017075623W WO2017152812A1 WO 2017152812 A1 WO2017152812 A1 WO 2017152812A1 CN 2017075623 W CN2017075623 W CN 2017075623W WO 2017152812 A1 WO2017152812 A1 WO 2017152812A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
signal
level
electrical signal
coupled
Prior art date
Application number
PCT/CN2017/075623
Other languages
French (fr)
Chinese (zh)
Inventor
刘若鹏
许伟成
范林勇
肖光锦
Original Assignee
深圳光启智能光子技术有限公司
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 深圳光启智能光子技术有限公司 filed Critical 深圳光启智能光子技术有限公司
Publication of WO2017152812A1 publication Critical patent/WO2017152812A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/60Receivers
    • H04B10/66Non-coherent receivers, e.g. using direct detection
    • H04B10/69Electrical arrangements in the receiver
    • H04B10/695Arrangements for optimizing the decision element in the receiver, e.g. by using automatic threshold control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/60Receivers
    • H04B10/66Non-coherent receivers, e.g. using direct detection
    • H04B10/69Electrical arrangements in the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/60Receivers
    • H04B10/66Non-coherent receivers, e.g. using direct detection
    • H04B10/69Electrical arrangements in the receiver
    • H04B10/697Arrangements for reducing noise and distortion

Definitions

  • the present invention relates to the field of optical communications, and in particular, to an optical chip and an authentication device.
  • Visible light communication technology is a new type of wireless optical communication technology developed on LED technology. Communication is carried out by high-frequency flickering of the LED light source, and the transmission rate of visible light communication is up to gigabits per second. Visible light communication has a very rich spectrum of resources, which is unmatched by general wireless communication including microwave communication. At the same time, visible light communication can be applied to any communication protocol, suitable for any environment, and the device for visible light communication is flexible and convenient to install, and low in cost, and is suitable for mass popularization applications.
  • the visible light communication system uses visible light for short-range communication, and the visible light has high directivity and cannot penetrate obstacles, and has higher security than wireless communication.
  • some visible light communication systems have begun to be applied, such as photon access control systems and photon payment in photonics Internet of Things.
  • the mobile phone's flash function can be used as a photonic client, which greatly reduces the application threshold of visible light communication, and since the mobile phone is originally carried by the user, it is not It puts an extra burden on the user.
  • the daily visible light communication using a portable photonic client such as a mobile phone is generally in an environment with ambient light.
  • the photon receiving end converts the optical signal into a meaningful electrical signal by photoelectric conversion when receiving the optical signal emitted by the photonic client.
  • the photon receiving end will still convert the unquestioned ambient light into a useless electrical signal.
  • These useless electrical signals are noise signals that interfere with the photon receiver correctly receiving the photon client.
  • Optical signal is Optical signal.
  • the data transmission rate (that is, the amount of information transmitted per unit time) is still small, and there is room for further improvement.
  • An aspect of the present invention provides an optical chip including: a photoelectric conversion unit for receiving an optical signal and generating an electrical signal by photoelectric conversion; and a photo noise removing unit coupled to the optical noise removing unit a photoelectric conversion unit for removing optical noise in the electrical signal to output a digital level signal; and a decoding unit coupled to the optical noise removing unit for performing the following steps to decode the digital level signal:
  • a level jump is detected, it is determined that the start of an electrical signal unit starts timing; when the detected level duration is greater than the first threshold and less than or equal to the second threshold, the number of times the level jumps is recorded;
  • the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends; when the detected level duration is greater than the third threshold, determining that the signal is received;
  • Each of the received electrical signal units is converted into a data unit; and the plurality of data units are combined into data.
  • the transition of this level changes to a low to high transition or a sum to a high to low transition.
  • the decoding unit is further configured to perform the following steps: converting the received electrical signal units into data units: determining, according to a preset correspondence table, a number of times of level jumps in the recorded electrical signal unit Data unit.
  • the first threshold is equal to the desired first level duration minus the previously obtained flicker delay value of the light emitting unit.
  • the second threshold is equal to the desired second level duration minus the previously obtained flicker delay value of the light emitting unit.
  • the photo noise removing unit includes: a noise filtering unit, the input end of the noise filtering unit receives an electrical signal from the photoelectric conversion unit, and the noise filtering unit is configured to filter out the electrical signal generated by the ambient light a noise electrical signal and outputting a target pulse signal at the output; and a comparison unit, the first input end of the comparison unit being coupled to the output of the noise filter unit to receive the target pulse signal, the comparison unit being used according to the target The digital signal is output by comparison between the pulse signal and the reference voltage.
  • the noise filtering unit includes a diode, an anode of the diode is coupled to the photoelectric conversion unit, and a cathode of the diode is coupled to the first input end of the comparison unit.
  • the photo-noise removal unit further includes: a clamp resistor connected in series with the photoelectric conversion unit, the first end of the clamp resistor is coupled to one end of the photoelectric conversion unit and the anode of the diode The second end of the clamp resistor is grounded, and the other end of the photoelectric conversion unit is connected to a power supply voltage, and the clamp resistor clamps the voltage on the positive pole of the diode to be smaller than the guide of the diode when the signal source is not illuminated. A voltage level that is greater than a voltage level of the turn-on voltage of the diode when illuminated by a signal source.
  • the photo noise removing unit further includes: a reference voltage generating unit, the reference voltage generating unit includes a resistor and a capacitor to form a low pass filter, one end of the resistor is coupled to the cathode of the diode, and the other end is coupled To one end of the capacitor and the second input of the comparison unit to provide the reference voltage, and the other end of the capacitor is grounded.
  • a reference voltage generating unit includes a resistor and a capacitor to form a low pass filter, one end of the resistor is coupled to the cathode of the diode, and the other end is coupled To one end of the capacitor and the second input of the comparison unit to provide the reference voltage, and the other end of the capacitor is grounded.
  • the noise filtering unit includes a coupling capacitor, a first end of the coupling capacitor coupled to the photoelectric conversion unit, and a second end coupled to the first input of the comparison unit.
  • the photo noise removing unit further includes: a first voltage dividing resistor, the first node of the first voltage dividing resistor is coupled to the power voltage, the second node is grounded, and the intermediate node is coupled to the coupling capacitor The second end and the first input end of the comparison unit, the voltage at the intermediate node is smaller than the reference voltage without the signal source illumination, and greater than the reference voltage if the signal source is illuminated.
  • the comparison unit includes a comparator having a positive input terminal that is the first input of the comparison unit and a negative input terminal that receives the reference voltage.
  • the photo noise removing unit further includes: a reference voltage generating unit coupled to the negative input terminal of the comparator to provide the reference voltage.
  • the reference voltage generating unit includes: a second voltage dividing resistor, the first node of the second voltage dividing resistor is coupled to the power voltage, the second node is grounded, and the intermediate node is coupled to the comparator A negative input terminal to provide the reference voltage.
  • the comparison unit includes a triode whose base is the first input of the comparison unit and is coupled to the output of the noise filter unit, the emitter of the triode is grounded, and the collector passes The resistor is coupled to the power supply voltage, and the collector is configured to output the digital level signal, wherein the reference voltage is a turn-on voltage of the transistor.
  • the optical chip and the authentication device embodying the present invention have the following beneficial effects: the optical signal is detected by means of optical denoising and detecting hopping, the interference is greatly reduced, and the detection accuracy is improved.
  • FIG. 1 is a simplified block diagram showing a visible light communication system in which the present invention may be practiced
  • FIG. 2 is a flow chart showing an encoding process of a coding unit according to an aspect of the present invention
  • FIG. 3 is a flow chart showing a decoding process of a decoding unit according to an aspect of the present invention.
  • FIG. 4 is a diagram showing an exemplary encoded electrical signal in accordance with an aspect of the present invention.
  • FIG. 5 is a flow chart showing access control performed by a photonic client in an access control system in accordance with a first embodiment of the present invention
  • FIG. 6 is a flow chart showing access control performed by an optical chip in an access control system according to a first embodiment of the present invention
  • FIG. 7 is a flow chart showing photon lock control performed by a photonic client in a photonic lock system in accordance with a second embodiment of the present invention.
  • FIG. 8 is a flow chart showing photon lock control performed by an optical chip in a photonic lock system according to a second embodiment of the present invention.
  • Figure 9 is a diagram showing an exemplary encoded electrical signal in accordance with a second embodiment of the present invention.
  • FIG. 10 is a block diagram showing a light receiving unit according to another aspect of the present invention.
  • Figure 11 is a block diagram showing components of an optical receiver in accordance with a first embodiment of the present invention.
  • FIG. 12 is a schematic view showing a target electric signal generated by a photoelectric conversion unit in the absence of ambient light
  • Figure 13 is a schematic diagram showing a noise electric signal generated by a photoelectric conversion unit under the condition that there is ambient light and no signal light source;
  • FIG. 14 is a schematic diagram showing an electrical signal generated by a photoelectric conversion unit under the condition that there is ambient light and a signal light source;
  • 15 is a schematic diagram showing a target pulse signal output by a light noise filtering unit
  • Figure 16 is a diagram showing a filtered signal of a target pulse signal
  • Figure 17 is a diagram showing a digital level signal output by a comparator
  • Figure 18 is a block diagram showing components of an optical receiver in accordance with a second embodiment of the present invention.
  • the encoding unit 111 can encode the original communication data in any encoding manner.
  • the encoding unit 111 outputs the encoded signal to the light emitting unit 113.
  • the light emitting unit 113 may transmit the received encoded signal in the form of visible light by, for example, indicating a logic high with illumination, and a logic low (or vice versa) with no illumination.
  • the light emitting unit 113 may be an LED or other element having a light emitting function.
  • the photonic client 110 can be a photonic Internet of Things, such as a portable device in a photonic access system, such as a cell phone, tablet, PDA, and optical key.
  • the light key is a key that can realize the opening of the door lock based on visible light communication, and can also be called a photon key.
  • the light emitting unit 113 may be a flash on the mobile phone or an element having a light emitting function externally connected to the mobile phone.
  • the photon receiving end 120 includes a light receiving unit 123 for receiving a visible light signal emitted by the client 110 and converting the visible light signal into a digital signal.
  • a visible light signal emitted by the client 110 and converting the visible light signal into a digital signal.
  • the light receiving unit 123 may include a photosensitive device such as a phototransistor or a photodiode.
  • the electrical pulse signal is formed by photoelectric conversion by utilizing the characteristics of the electrical signal and the optical signal of the phototransistor and the photodiode.
  • the decoding unit 121 receives the electric signal output by the light receiving unit 123 and decodes it to recover the original communication data.
  • the processing unit 122 can control the operations of the decoding unit 121 and the light receiving unit 123.
  • Processing unit 122 may be a general purpose processor, a digital signal processor (DSP), or the like.
  • the general purpose processor may be a microprocessor, but in the alternative, the processing unit 122 may be any conventional processor, controller, microcontroller, or state machine.
  • Processing unit 122 may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in cooperation with a DSP core, or any other such configuration.
  • the photon receiving end 120 may be integrated in the optical chip.
  • the optical chip can be used for the access control end in the photon access control system, the photon lock controlled end in the photon lock system, and the like.
  • the photonic client and photon receiving end in the visible light communication system are described above. It will be readily understood by those skilled in the art that in other optical communication systems other than visible light, the photonic client and the photon receiving end can also be used. Communicate using other forms of light, such as infrared light, ultraviolet light, and the like.
  • One aspect of the present invention proposes a new encoding and decoding scheme due to the above-mentioned drawbacks of LED lamps.
  • the information is represented by a change from a state of light to no light, rather than a state of light or no light itself.
  • the information is represented by a level transition rather than a level continuous state itself.
  • the data to be transmitted may be divided into a plurality of data units, each of which contains one or more bits. These data units are then converted into a plurality of electrical signal units, each of which represents the bits of the corresponding data unit by the number of hops of the level.
  • the interval between adjacent electrical signal units is represented by a fixed level.
  • Level transitions can only contain low-to-high transitions, or only low-to-high transitions, and can also include low-to-high transitions and low-power transitions. A flat to high transition.
  • the level duration (herein referred to as the first level duration) within each electrical signal unit and the level duration between adjacent electrical signal units (referred to herein as the second level duration) may be preset.
  • the second level duration may be greater than the first level duration. This size relationship will be significant so that the receiving end can recognize it without errors.
  • the adjustment can be made with the flicker delay value of the light emitting diode as the emission source.
  • the flicker delay value is subtracted based on the desired level duration. For example, if the desired level duration is 3 ms and the flicker delay value is 2 ms, the set level duration is 1 ms.
  • the flicker delay value of the LED can be determined experimentally in advance.
  • the flicker delay value has less effect on the duration of the second level.
  • the adjustment may also be made with the flicker delay value of the light emitting diode as the transmission source.
  • the light-emitting diode is controlled by an electrical signal, which is visible by the light-emitting diode
  • the optical signal is sent in the form of.
  • the decoding process is reversed.
  • the level jump is detected, it is determined as the start of an electrical signal unit; when the detected level duration is greater than the first threshold and less than or equal to the second threshold, the number of times the level jumps is recorded; when detected When the level duration is greater than the second threshold and less than or equal to the third threshold, it is determined that an electrical signal unit ends.
  • the detected level duration is greater than the third threshold, the determination signal is received.
  • the third threshold is greater than the second threshold by more than the first threshold. It will be appreciated that the settings of the first threshold, the second threshold, and the third threshold will refer to the aforementioned first level duration and second level duration.
  • level jump will occur at least once. Therefore, even if all the bit values of an electrical signal unit are 0, it will be represented by a level transition instead of a level continuous state.
  • the coding unit may be the coding unit 111 in FIG.
  • the coding unit can encode the original communication data to be generated by the following steps:
  • step 201 the data to be transmitted is divided into a plurality of data units, and each data unit includes one or more bits.
  • These data to be sent can be text, pictures, audio and/or video.
  • Step 202 Convert the plurality of data units into a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit by a number of hops of the level, and having between the adjacent electrical signal units The interval expressed in fixed levels.
  • the rising or falling edge of the level can be used as the start of the transition.
  • the duration of a high (or low) level within an electrical signal unit is 2 ms.
  • Each electrical signal unit has four slave level transitions, including low to high transition and high to low transition, each electrical signal unit representing 2 bits of information, and four electrical signal units. Make up a byte.
  • the number of transitions from low level to high level and high level to low level in an electrical signal unit is 1, it represents information 00; when from low level to high level and high level to low level When the number of transformations is 2, it represents information 01; when the number of transformations from low level to high level and high level to low level is 3, it represents information 10; when from low level to high level and high level When the number of times of low level conversion is 4, it represents information 11.
  • Table 1 The correspondence between the number of transitions from low level to high level and high level to low level and the information it represents is shown in Table 1.
  • the level combination of the electrical signal units corresponding to the information unit can be determined according to the foregoing correspondence table set in advance.
  • each electrical signal unit can represent 1 bit of information, which requires a maximum of 2 hops.
  • each electrical signal unit can represent 3-bit information, which requires up to 8 hops.
  • the second level duration of the high (or low) level between two adjacent electrical signal units is greater than the first level duration, which may be set to 25 ms, which may pass the flicker delay value. Adjustments can also be made without adjustment.
  • each electrical signal unit is combined to obtain an encoded electrical signal.
  • 4 is an exemplary encoded electrical signal showing a relationship between bit values and levels, and the four electrical signal units in the figure have jumps of 2, 4, 1 and 3 levels, respectively.
  • Variable representing 01, 11, 00, and 10, where the level transition refers to a low to high level and a high to low transition, the height between two adjacent electrical signal units ( The duration of the low or low level is 27ms, the combined signal is one byte, its binary representation is 01110010, and the corresponding hexadecimal signal is 0x72.
  • the encoded electrical signal can be transmitted in the form of visible light, for example, light indicates a high level, and no light indicates a low level.
  • Step 302 when the detected level duration is greater than the first threshold and less than or equal to the second threshold, indicating that the electrical signal unit is still continuing, during which the number of level jumps is recorded.
  • the sustained level can be high or Low level.
  • the rising or falling edge of the level can be used as the start of the jump recording.
  • Step 303 when the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends.
  • Step 304 When the detected level duration is greater than the third threshold, the determination signal is received.
  • the first, second, and third thresholds For example, setting the first, second, and third thresholds to 0, 25 ms, and 60 ms, respectively, when a rising edge (or falling edge) is detected, timing is started, when the detected high (or low) level duration is greater than 0, and less than or equal to 25ms, record the number of transitions from low level to high level and high level to low level; when the detected high (or low) level duration is greater than 25ms, and less than or equal to 60ms It is considered to be the end mark of an electrical signal unit; when the detected high (or low) level duration is greater than 60 ms, the signal reception is considered complete.
  • the duration of the high (or low) level being greater than the third threshold may also represent a signal reception interruption, restarting the detection signal.
  • Step 305 Convert each received electrical signal unit into a data unit.
  • Step 306 combining a plurality of data units into data to obtain information characterized by visible light signals.
  • 5 and 6 are flow charts respectively showing access control performed by a photonic client and an optical chip in a photonic access control system according to a first embodiment of the present invention.
  • the mobile phone can perform the access control by the following steps:
  • Step 501 Divide the identification data to be sent into a plurality of data units in the mobile phone, and each data unit includes one or more bits.
  • each electrical signal unit has four levels of transformation, including low-to-high transitions and high-to-low transitions.
  • Each electrical signal unit represents 2-bit information and four electrical signals. The units make up one byte.
  • the number of transitions from low level to high level and high level to low level in an electrical signal unit is 1, it represents information 00; when from low level to high level and high level to low level
  • the number of transformations is 2, it represents information 01; when the number of transformations from low level to high level and high level to low level is 3, it represents information 10; when from low level to high level and high level
  • the number of times of low level conversion is 4, it represents information 11.
  • Table 1 The correspondence between the number of transitions from low level to high level and high level to low level and the information it represents is shown in Table 1.
  • each electrical signal unit can represent 1 bit of information, which requires a maximum of 2 hops.
  • each electrical signal unit can represent 3-bit information, which requires up to 8 hops.
  • the first level duration can be adjusted by a previously obtained flicker delay value of the light emitting diode as the emission source.
  • the adjustment is made by subtracting the desired first level duration from the flicker delay value to obtain the set first level duration.
  • a first level duration of a high (or low) level within an electrical signal unit is desired to be 2 ms.
  • the set optical signal duration will be less than 2ms, or even 0.
  • the second level duration of the high (or low) level between adjacent two electrical signal units can be set to 25 ms, which can be adjusted either by the flicker delay value or without adjustment.
  • each electrical signal unit is combined to obtain an encoded electrical signal.
  • 4 is an exemplary encoded electrical signal showing a relationship between bit values and levels, and the four electrical signal units in the figure have jumps of 2, 4, 1 and 3 levels, respectively.
  • Variable representing 01, 11, 00, and 10, respectively, where the level transition refers to a low to high level and a transition from a high level to a low level, between adjacent two electrical signal units
  • the duration of the high (or low) level is 27ms
  • the combined signal is one byte
  • its binary representation is 01110010
  • the corresponding hexadecimal signal is 0x72.
  • Step 504 transmitting the encoded electrical signal in the form of a visible light signal.
  • Step 601 The photon access control controlled end receives the visible light signal and converts it into an electrical signal.
  • Step 602 when a level jump is detected, it is determined to be the start of an electrical signal unit, and timing is started.
  • the level jump can be from low level to high level, or vice versa from high level to low level.
  • Step 603 when the detected level duration is greater than the first threshold and less than or equal to the second threshold, indicating that the electrical signal unit is still continuing, during which the number of level jumps is recorded.
  • the sustained level can be high or low.
  • the rising or falling edge of the level can be used as the start of the jump recording.
  • Step 604 when the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends.
  • Step 605 When the detected level duration is greater than the third threshold, the determination signal is received.
  • the third threshold is greater than the second threshold by more than the first threshold.
  • the first, second, and third thresholds For example, setting the first, second, and third thresholds to 0, 25 ms, and 60 ms, respectively, when a rising edge (or falling edge) is detected, timing is started, when the detected high (or low) level duration is greater than 0, and less than or equal to 25ms, record the number of transitions from low level to high level and high level to low level; when the detected high (or low) level duration is greater than 25ms, and less than or equal to 60ms It is considered to be the end mark of an electrical signal unit; when the detected high (or low) level duration is greater than 60 ms, the signal reception is considered complete.
  • Step 606 Convert each received electrical signal unit into a data unit.
  • Step 607 The photon access control controlled end combines the plurality of data units into the identification data, thereby obtaining information characterized by the visible light signal.
  • the identification data matches the preset condition, including the identification data being the same as the preset condition; or there is a correspondence between the identification data and the preset condition.
  • the mobile phone is used as the transmitting end of the photon access control system, and the encoded identification data is transmitted as a visible light signal through the LED light of the mobile phone.
  • the photon access control controlled end decodes the visible light signal received from the mobile phone, and then performs authentication according to the identification data obtained by decoding. If the authentication is passed, the control is connected thereto.
  • the door actuator is opened to open the door and improve the user experience.
  • FIG. 7 and 8 are flow diagrams showing photon lock control performed by a photonic client and an optical chip in a photonic lock system, respectively, in accordance with a second embodiment of the present invention.
  • This embodiment is implemented in a photonic lock system in which the photonic client can be a photonic key and the optical chip can be a photonic lock controlled end.
  • the photon lock controlled end can further use the signal to match, thereby determining whether to unlock.
  • the photonic key can perform photon lock control by the following steps:
  • Step 701 Divide the identification data to be transmitted into a plurality of data units in the photonic key, each data unit comprising one or more bits.
  • Step 703 converting the plurality of data units into a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit by a number of hops of the level, and having between the adjacent electrical signal units The interval expressed in fixed levels.
  • the rising or falling edge of the level can be used as the start of the transition.
  • each electrical signal unit can represent N-bit information, and N is a natural number, such as 1-bit information, which requires a maximum of 2 hops.
  • each electrical signal unit can represent 3-bit information, which requires up to 8 transitions, such as low to high or / and high to low in an electrical signal unit.
  • the first level duration can be adjusted by a previously obtained flicker delay value of the light emitting diode as the emission source.
  • the adjustment is made by subtracting the desired first level duration from the flicker delay value to obtain the set first level duration.
  • a first level duration of a high (or low) level within an electrical signal unit is desired to be 2 ms.
  • the set optical signal duration will be less than 2ms, or even 0.
  • the second level duration of the high (or low) level between adjacent two electrical signal units can be set to 25 ms, which can be adjusted either by the flicker delay value or without adjustment.
  • each electrical signal unit is combined to obtain an encoded electrical signal.
  • Figure 9 is an exemplary encoded electrical signal showing a relationship between bit values and levels.
  • the four electrical signal units in the figure have 2, 4, 1 and 3 low levels, respectively.
  • the high level transitions represent 01, 11, 00, and 10, respectively.
  • the duration of the high or low level between two adjacent electrical signal units is 27 ms, and the combined signal is one byte, and its binary representation For 01110010, the corresponding hexadecimal signal is 0x72.
  • Step 704 transmitting the encoded electrical signal in the form of a visible light signal.
  • the LED source of the photonic key needs to be aligned with the receiving photon lock controlled end when transmitting.
  • Step 802 when a level jump is detected, it is determined to be the start of an electrical signal unit, and timing is started.
  • the level jump can be from low level to high level, or vice versa from high level to low level.
  • Step 803 when the detected level duration is greater than the first threshold and less than or equal to the second threshold, indicating that the electrical signal unit is still continuing, during which the number of level jumps is recorded.
  • the sustained level can be high or low.
  • the rising or falling edge of the level can be used as the start of the jump recording.
  • Step 804 when the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends.
  • Step 805 When the detected level duration is greater than the third threshold, the determination signal is received.
  • the third threshold is greater than the second threshold by more than the first threshold.
  • the first, second, and third thresholds are set to 0, 25 ms, and 60 ms, respectively, and when a rising edge is detected, timing is started, and when the detected high level duration is greater than 0 and less than or equal to 25 ms, recording is performed.
  • the duration of the low level being greater than the third threshold may also represent a signal reception interruption, restarting the detection signal.
  • Step 806 Convert each received electrical signal unit into a data unit.
  • Step 808 The photon lock controlled end compares the identification data with a preset condition, and if the identification data matches the preset condition, controls the electric lock connected thereto to unlock.
  • the identification data matches the preset condition, including the identification data being the same as the preset condition; or there is a correspondence between the identification data and the preset condition.
  • FIG. 10 is a block diagram showing a light receiving unit 1000 in accordance with an aspect of the present invention.
  • the light receiving unit 1000 may include a photoelectric conversion unit 1010.
  • the photoelectric conversion unit 1010 can be configured to receive an optical signal and convert the received optical signal into an electrical signal by photoelectric conversion.
  • the photoelectric conversion unit 1010 may include a phototransistor, a photodiode, or the like.
  • the noise electrical signal generated by the photoelectric conversion unit 1010 can be approximated as a direct current signal, or an alternating current signal having a small amplitude and a slow change. Therefore, in the presence of ambient light, the electrical signal generated by the photoelectric conversion unit 1010 after receiving the target optical signal of the signal light source is a pulse signal superimposed with a noise electrical signal.
  • the object decoded by the decoding unit is the digital level signal output by the comparison unit 1022. Since the digital level signal is a clean signal that eliminates optical noise, the decoding efficiency of the decoding unit can be improved, and the optical communication throughput can be further improved.
  • FIG. 11 is a block diagram showing components of the light receiving unit 1100 according to the first embodiment of the present invention.
  • the light receiving unit 1100 may include a phototransistor Q1 to convert an optical signal into an electrical signal.
  • the photoelectric conversion unit may be used as the photoelectric conversion unit.
  • the light receiving unit 1100 may further include a diode D1 and a resistor R1.
  • the collector of the phototransistor Q1 is coupled to the power supply voltage Vcc (for example, 5V), the emitter of the phototransistor Q1 is coupled to one end of the resistor R1 and the anode of the diode D1, and the other end of the resistor R1 is grounded, where the resistor R1 serves The role of the clamp resistor.
  • the phototransistor Q1 When light is irradiated to the phototransistor Q1 (for example, a signal light source, an ambient light source, or both), a current passing through the phototransistor Q1 is generated due to the photoelectric effect, thereby causing voltage fluctuations at the node S1. This voltage fluctuation on node S1 represents the corresponding electrical signal generated from the photoelectric conversion.
  • a signal light source for example, a signal light source, an ambient light source, or both
  • the target light signal of the signal source is high frequency flashing.
  • the generated electrical signal on S1 is a target electrical signal corresponding to the target optical signal, and the target electrical signal is a high and low level pulse sequence.
  • Fig. 12 is a schematic view showing a target electric signal generated by a photoelectric conversion unit in the absence of ambient light. The amplitude of the pulse of the target electrical signal is V1.
  • Fig. 13 is a schematic diagram showing a noise electric signal generated by a photoelectric conversion unit under the condition that there is ambient light and no signal light source.
  • the ambient light can be regarded as constant or slower. Therefore, the corresponding noise electrical signal can be approximated as a DC signal with a size of V2, as shown in FIG.
  • FIG. 14 is a schematic view showing an electric signal generated by a photoelectric conversion unit under the condition that there is ambient light and a signal light source.
  • the turn-on voltage of the diode D1 is V T .
  • V1 the turn-on voltage of the diode D1
  • the generated electrical signals can cause the diode D1 to be regularly guided according to the pulse sequence of the target electrical signal. And off, thereby generating a target pulse signal corresponding to the target electrical signal at the node S2.
  • the target pulse signal has a pulse sequence that is consistent with the change of the target electrical signal, and the pulse amplitude:
  • V4 V1-V T , only the signal source but no ambient light
  • the comparator CMP herein may correspond to the comparison unit 1022 of FIG.
  • the low pass filter composed of R2 and C1 improves the reference voltage for comparison by the comparator CMP, and thus can be regarded as a reference voltage generating unit.
  • the light receiving unit 1800 may further include a voltage dividing resistor and a transistor Q2.
  • the other end of the capacitor C1 is coupled to the intermediate node of the voltage dividing resistor.
  • the voltage dividing resistor includes resistors R2 and R3.
  • the intermediate nodes of R2 and R3 are also coupled to the base of transistor Q2.
  • the other ends of R2 and R3 are respectively coupled to a power supply voltage Vcc and a ground.
  • the emitter of transistor Q2 is grounded, and its collector is coupled to the supply voltage through resistor R4, which is also used to output a digital level signal Vout.
  • the phototransistor Q1 When light is irradiated to the phototransistor Q1 (for example, a signal light source, an ambient light source, or both), a current passing through the phototransistor Q1 is generated due to the photoelectric effect, thereby causing voltage fluctuations at the node S1. This voltage fluctuation on node S1 represents the corresponding electrical signal generated from the photoelectric conversion.
  • a signal light source for example, a signal light source, an ambient light source, or both
  • the resistance of the voltage dividing resistors R2 and R3 determines the base voltage at node S4. It is easy to understand that the base voltage is the bias voltage of the transistor Q2 when there is no light to illuminate the phototransistor Q1.
  • the target light signal of the signal source is high frequency flashing.
  • the electrical signal generated on S1 is a target electrical signal corresponding to the target optical signal, and the target electrical signal is a high and low level pulse sequence.
  • the electrical signal generated at node S1 is a noisy electrical signal corresponding to ambient light when illuminated by ambient light.
  • ambient light can be considered to be constant or change slowly, so the corresponding noise electrical signal can be approximated as a direct current signal.
  • an electrical signal including both the target electrical signal and the noise electrical signal can be generated on the node S1.
  • the electrical signal at this time is a pulse signal on which a DC noise electrical signal is superimposed on the basis of the target electrical signal.
  • Capacitor C1 acts as an AC and DC. That is, the DC component in the electrical signal cannot reach node S4. As mentioned above, the noisy electrical signal is a direct current signal, or an approximately direct current signal. Thus, the capacitor C1 can effectively filter out the noise electrical signal. Therefore, C1 functions to filter the noise electric signal, corresponding to the noise filtering unit 1021 of FIG. The target pulse signal arriving at node S4 then approximates the target electrical signal, for example having a pulse sequence that is consistent with the change in the target electrical signal.
  • the base voltage V base can be set to be lower than the turn-on voltage of Q2, and after the voltage of the target pulse signal is superimposed, it is larger than the turn-on voltage of Q2.
  • the transistor Q2 can be turned on and off regularly in accordance with the pulse sequence of the target electrical signal. By turning on and off the transistor Q2, a corresponding digital level signal Vout can be output at the collector.
  • the transistor Q2 outputs a digital level signal by comparing the voltage at the node S4 with its own turn-on voltage, which may correspond to the comparing unit 1022 of FIG. Since the reference voltage is the turn-on voltage of the transistor Q2 itself, the comparison unit 222 can be regarded as itself including the reference voltage generating unit, or the reference voltage generating unit is a part of the comparing unit.
  • FIG. 19 is a block diagram showing components of the light receiving unit 1900 according to the third embodiment of the present invention. Similar to FIG. 18, the light receiving unit 1900 may include a phototransistor Q1 to convert an optical signal into an electrical signal. Alternatively, other photosensitive devices such as photodiodes may be used as the photoelectric conversion unit.
  • the light receiving unit 1900 may further include a capacitor C1 and a resistor R1.
  • the collector of the phototransistor Q1 is coupled to a power supply voltage Vcc (for example, 5V).
  • Vcc power supply voltage
  • the emitter of the phototransistor Q1 is coupled to one end of the resistor R1 and one end of the capacitor C1, and the other end of the resistor R1 is grounded.
  • the light receiving unit 1900 may further include a first voltage dividing resistor and a comparator CMP.
  • the other end of the capacitor C1 is coupled to the intermediate node of the voltage dividing resistor.
  • the first voltage dividing resistor includes resistors R2 and R3.
  • the intermediate node of R2 and R3 is also coupled to the positive input terminal of the comparator CMP.
  • the other ends of R2 and R3 are respectively coupled to the power supply voltage Vcc. And grounding.
  • the light receiving unit 1900 may further include a second voltage dividing resistor including resistors R4 and R5.
  • the negative input terminal of the comparator CMP can be coupled to the intermediate node of the second voltage dividing resistor, that is, the connection point of R4 and R5, and the other ends of R4 and R5 are respectively coupled to the power supply voltage Vcc and the ground.
  • FIG. 19 The circuits of Figures 19 and 18 are the same from the left until node S4, i.e., a target pulse signal can be generated at node S4.
  • the difference is that the comparison and output are performed using the comparator CMP as a comparison unit in FIG. That is, the target pulse signal is input to the positive input terminal of the comparator CMP.
  • the negative input terminal of the comparator CMP is coupled to an intermediate node of the second voltage dividing resistor to receive a reference voltage for comparison.
  • the second voltage dividing resistor can be regarded as a reference voltage generating unit.
  • the reference voltage input to the negative input terminal of the comparator CMP can be between the peak and valley of the pulse sequence of the target pulse signal.
  • the CMP can output a logic level signal that reflects the digital logic of the target optical signal emitted by the signal source.
  • the various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be a processor, DSP, application specific integrated circuit (ASIC), FPGA, or other programmable logic device, designed to perform the functions described herein, Discrete or transistor logic, discrete hardware components, or any combination thereof, are implemented or executed.
  • the processor can be a microprocessor, but in the alternative, the processor can be any conventional processor, controller, microcontroller, or state machine.
  • the processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
  • Embodiments disclosed herein may be implemented as hardware and instructions stored in hardware, examples of which may be Such as resident in random access memory (RAM), flash memory, read only memory (ROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disk, removable disk, CD-ROM Or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read/write information from/to the storage medium.
  • the storage medium can be integrated into the processor.
  • the processor and the storage medium can reside in an ASIC.

Abstract

An optical chip, and an authentication device comprising the optical chip. The optical chip comprises: an optical-to-electrical conversion unit, used for receiving an optical signal and generating an electrical signal by means of optical-to-electrical conversion; an optical noise removal unit, coupled to the optical-to-electrical conversion unit and used for removing an optical noise among the electrical signals to output a digital level signal; and a decoding unit, coupled to the optical noise removal unit and used for decoding the digital noise signal.

Description

用于光通信的光芯片及鉴权装置Optical chip and authentication device for optical communication 技术领域Technical field
本发明涉及光通信领域,尤其涉及一种光芯片及鉴权装置。The present invention relates to the field of optical communications, and in particular, to an optical chip and an authentication device.
背景技术Background technique
可见光通信技术是一种在LED技术上发展起来的新型无线光通信技术。通过LED光源的高频率闪烁来进行通信,可见光通信的传输速率最高达每秒千兆。可见光通信有着相当丰富的频谱资源,这是包括微波通信在内的一般无线通信无法比拟的。同时,可见光通信可以适用任何通信协议、适用于任何环境,并且可见光通信的设备架设灵活便捷、成本低廉,适合大规模普及应用。Visible light communication technology is a new type of wireless optical communication technology developed on LED technology. Communication is carried out by high-frequency flickering of the LED light source, and the transmission rate of visible light communication is up to gigabits per second. Visible light communication has a very rich spectrum of resources, which is unmatched by general wireless communication including microwave communication. At the same time, visible light communication can be applied to any communication protocol, suitable for any environment, and the device for visible light communication is flexible and convenient to install, and low in cost, and is suitable for mass popularization applications.
可见光通信系统利用可见光进行近距离通信,可见光的指向性高,不能穿透障碍物,比使用无线通信方式具有更高的安全性。目前已有一些可见光通信系统开始应用,如光子物联网中的光子门禁系统、光子支付等。随着诸如手机之类的便携式设备的日益普及,可以利用手机的闪光灯功能将手机用作光子客户端,这大大地降低了可见光通信的应用门槛,而且由于手机原本就是用户随身携带的,因此不会对用户造成额外负担。The visible light communication system uses visible light for short-range communication, and the visible light has high directivity and cannot penetrate obstacles, and has higher security than wireless communication. At present, some visible light communication systems have begun to be applied, such as photon access control systems and photon payment in photonics Internet of Things. With the increasing popularity of portable devices such as mobile phones, the mobile phone's flash function can be used as a photonic client, which greatly reduces the application threshold of visible light communication, and since the mobile phone is originally carried by the user, it is not It puts an extra burden on the user.
但是,日常利用手机等便携式光子客户端进行的可见光通信一般都是在有环境光的环境中。光子接收端在接收到光子客户端发出的光信号时通过光电转换将该光信号转换为有意义的电信号。然而,在环境光的照射下,光子接收端仍然会将毫无疑义的环境光转换成无用的电信号,这些无用的电信号是噪声信号,干扰了光子接收器正确地接收光子客户端发出的光信号。However, the daily visible light communication using a portable photonic client such as a mobile phone is generally in an environment with ambient light. The photon receiving end converts the optical signal into a meaningful electrical signal by photoelectric conversion when receiving the optical signal emitted by the photonic client. However, under the illumination of ambient light, the photon receiving end will still convert the unquestioned ambient light into a useless electrical signal. These useless electrical signals are noise signals that interfere with the photon receiver correctly receiving the photon client. Optical signal.
另外,目前的光通信中由于编码方式的局限性,导致数据传输速率(即单位时间传输的信息量)仍较小,有进一步提高的空间。In addition, in the current optical communication, due to the limitation of the coding mode, the data transmission rate (that is, the amount of information transmitted per unit time) is still small, and there is room for further improvement.
发明内容Summary of the invention
以下给出一个或多个方面的简要概述以提供对这些方面的基本理解。此概述不是所有构想到的方面的详尽综览,并且既非旨在指认出所有方面的关键性或决定性要素亦非试图界定任何或所有方面的范围。其唯一的目的是要以简化形式给出一个或多 个方面的一些概念以为稍后给出的更加详细的描述之序。A brief overview of one or more aspects is provided below to provide a basic understanding of these aspects. This summary is not an extensive overview of all aspects that are conceived, and is not intended to identify key or critical elements in all aspects. Its sole purpose is to give one or more in a simplified form. Some aspects of the aspects are in the order of a more detailed description given later.
本发明的一方面,提供了一种光芯片,包括:光电转换单元,该光电转换单元用于接收光信号并通过光电转换产生电信号;光噪去除单元,该光噪去除单元耦接至该光电转换单元,用于去除该电信号中的光噪声以输出数字电平信号;以及解码单元,该解码单元耦接至该光噪去除单元,用于执行以下步骤以解码该数字电平信号:当检测到电平跳变时,判断为一电信号单元的开始,开始计时;当检测到的电平持续时间大于第一阈值且小于或等于第二阈值时,记录电平跳变的次数;当检测到的电平持续时间大于该第二阈值且小于或等于第三阈值时,判断该电信号单元结束;当检测到的电平持续时间大于该第三阈值时,判断信号接收完毕;将接收到的各电信号单元转换为数据单元;以及将多个数据单元组合成数据。An aspect of the present invention provides an optical chip including: a photoelectric conversion unit for receiving an optical signal and generating an electrical signal by photoelectric conversion; and a photo noise removing unit coupled to the optical noise removing unit a photoelectric conversion unit for removing optical noise in the electrical signal to output a digital level signal; and a decoding unit coupled to the optical noise removing unit for performing the following steps to decode the digital level signal: When a level jump is detected, it is determined that the start of an electrical signal unit starts timing; when the detected level duration is greater than the first threshold and less than or equal to the second threshold, the number of times the level jumps is recorded; When the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends; when the detected level duration is greater than the third threshold, determining that the signal is received; Each of the received electrical signal units is converted into a data unit; and the plurality of data units are combined into data.
在一实例中,该电平的跳变为低电平到高电平的跳变或/和为高电平到低电平的跳变。In one example, the transition of this level changes to a low to high transition or a sum to a high to low transition.
在一实例中,该解码单元进一步用于执行以下步骤来将接收到的各电信号单元转换为数据单元:根据预先设置的对应表确定该记录电信号单元中的电平跳变的次数对应的数据单元。In an example, the decoding unit is further configured to perform the following steps: converting the received electrical signal units into data units: determining, according to a preset correspondence table, a number of times of level jumps in the recorded electrical signal unit Data unit.
在一实例中,该第一阈值等于期望的第一电平持续时间减去预先获得的光发射单元的闪烁延迟值。In an example, the first threshold is equal to the desired first level duration minus the previously obtained flicker delay value of the light emitting unit.
在一实例中,该第二阈值等于期望的第二电平持续时间减去预先获得的光发射单元的闪烁延迟值。In an example, the second threshold is equal to the desired second level duration minus the previously obtained flicker delay value of the light emitting unit.
在一实例中,该光噪去除单元包括:噪声过滤单元,该噪声过滤单元的输入端接收来自该光电转换单元的电信号,该噪声过滤单元用于过滤掉该电信号中由于环境光而生成的噪声电信号并在输出端输出目标脉冲信号;以及比较单元,该比较单元的第一输入端耦接至该噪声过滤单元的输出端以接收该目标脉冲信号,该比较单元用于根据该目标脉冲信号与参考电压之间的比较来输出该数字电平信号。In an example, the photo noise removing unit includes: a noise filtering unit, the input end of the noise filtering unit receives an electrical signal from the photoelectric conversion unit, and the noise filtering unit is configured to filter out the electrical signal generated by the ambient light a noise electrical signal and outputting a target pulse signal at the output; and a comparison unit, the first input end of the comparison unit being coupled to the output of the noise filter unit to receive the target pulse signal, the comparison unit being used according to the target The digital signal is output by comparison between the pulse signal and the reference voltage.
在一实例中,该噪声过滤单元包括:二极管,该二极管的正极耦接至该光电转换单元、以及该二极管的负极耦接至该比较单元的该第一输入端。In one example, the noise filtering unit includes a diode, an anode of the diode is coupled to the photoelectric conversion unit, and a cathode of the diode is coupled to the first input end of the comparison unit.
在一实例中,该光噪去除单元还包括:箝位电阻,该箝位电阻与该光电转换单元串联,该箝位电阻的第一端耦接至该光电转换单元的一端和该二极管的正极,该箝位电阻的第二端接地,以及该光电转换单元的另一端接电源电压,该箝位电阻将该二极管的正极上的电压箝位至在无信号光源照射情况下小于该二极管的导通电压、而在有信号光源照射的情况下大于该二极管的导通电压的一电压水平。 In an example, the photo-noise removal unit further includes: a clamp resistor connected in series with the photoelectric conversion unit, the first end of the clamp resistor is coupled to one end of the photoelectric conversion unit and the anode of the diode The second end of the clamp resistor is grounded, and the other end of the photoelectric conversion unit is connected to a power supply voltage, and the clamp resistor clamps the voltage on the positive pole of the diode to be smaller than the guide of the diode when the signal source is not illuminated. A voltage level that is greater than a voltage level of the turn-on voltage of the diode when illuminated by a signal source.
在一实例中,该光噪去除单元还包括:参考电压生成单元,该参考电压生成单元包括电阻和电容以构成低通滤波器,该电阻的一端耦接至该二极管的负极、另一端耦接至该电容的一端和该比较单元的第二输入端以提供该参考电压,以及该电容的另一端接地。In one example, the photo noise removing unit further includes: a reference voltage generating unit, the reference voltage generating unit includes a resistor and a capacitor to form a low pass filter, one end of the resistor is coupled to the cathode of the diode, and the other end is coupled To one end of the capacitor and the second input of the comparison unit to provide the reference voltage, and the other end of the capacitor is grounded.
在一实例中,该噪声过滤单元包括:耦合电容,该耦合电容的第一端耦接至该光电转换单元、以及第二端耦接至该比较单元的该第一输入端。In one example, the noise filtering unit includes a coupling capacitor, a first end of the coupling capacitor coupled to the photoelectric conversion unit, and a second end coupled to the first input of the comparison unit.
在一实例中,该光噪去除单元还包括:第一分压电阻,该第一分压电阻的第一节点耦接至电源电压、第二节点接地、以及中间节点耦接至该耦合电容的该第二端和该比较单元的该第一输入端,该中间节点处的电压在无该信号光源照射情况下小于该参考电压、而在有该信号光源照射的情况下大于该参考电压。In an example, the photo noise removing unit further includes: a first voltage dividing resistor, the first node of the first voltage dividing resistor is coupled to the power voltage, the second node is grounded, and the intermediate node is coupled to the coupling capacitor The second end and the first input end of the comparison unit, the voltage at the intermediate node is smaller than the reference voltage without the signal source illumination, and greater than the reference voltage if the signal source is illuminated.
在一实例中,该比较单元包括:比较器,该比较器的正输入端子是该比较单元的该第一输入端、以及负输入端子接收该参考电压。In an example, the comparison unit includes a comparator having a positive input terminal that is the first input of the comparison unit and a negative input terminal that receives the reference voltage.
在一实例中,该光噪去除单元还包括:参考电压生成单元,该参考电压生成单元耦接至该比较器的该负输入端子以提供该参考电压。In an example, the photo noise removing unit further includes: a reference voltage generating unit coupled to the negative input terminal of the comparator to provide the reference voltage.
在一实例中,该参考电压生成单元包括:第二分压电阻,该第二分压电阻的第一节点耦接至电源电压、第二节点接地、以及中间节点耦接至该比较器的该负输入端子以提供该参考电压。In one example, the reference voltage generating unit includes: a second voltage dividing resistor, the first node of the second voltage dividing resistor is coupled to the power voltage, the second node is grounded, and the intermediate node is coupled to the comparator A negative input terminal to provide the reference voltage.
在一实例中,该比较单元包括:三极管,该三极管的基极是该比较单元的该第一输入端从而耦接至该噪声过滤单元的输出端,该三极管的发射极接地、以及集电极通过电阻耦接至电源电压,该集电极用于输出该数字电平信号,其中该参考电压为该三极管的导通电压。In one example, the comparison unit includes a triode whose base is the first input of the comparison unit and is coupled to the output of the noise filter unit, the emitter of the triode is grounded, and the collector passes The resistor is coupled to the power supply voltage, and the collector is configured to output the digital level signal, wherein the reference voltage is a turn-on voltage of the transistor.
本发明的另一方面还提供了一种鉴权装置,其包括上述的光芯片。Another aspect of the present invention also provides an authentication device comprising the above-described optical chip.
实施本发明的光芯片及鉴权装置,具有以下的有益效果:通过光去噪以及检测跳变的方式来检测光信号,大幅度的降低了干扰,提高了检测正确率。The optical chip and the authentication device embodying the present invention have the following beneficial effects: the optical signal is detected by means of optical denoising and detecting hopping, the interference is greatly reduced, and the detection accuracy is improved.
附图说明DRAWINGS
在结合以下附图阅读本公开的实施例的详细描述之后,能够更好地理解本发明的上述特征和优点。在附图中,各组件不一定是按比例绘制,并且具有类似的相关特性或特征的组件可能具有相同或相近的附图标记。The above features and advantages of the present invention will be better understood from the following description of the appended claims. In the figures, components are not necessarily drawn to scale, and components having similar related features or features may have the same or similar reference numerals.
图1是示出了可在其中实践本发明的可见光通信系统的简化框图;1 is a simplified block diagram showing a visible light communication system in which the present invention may be practiced;
图2是示出了根据本发明的一方面的编码单元的编码过程的流程图; 2 is a flow chart showing an encoding process of a coding unit according to an aspect of the present invention;
图3是示出了根据本发明的一方面的解码单元的解码过程的流程图;3 is a flow chart showing a decoding process of a decoding unit according to an aspect of the present invention;
图4是示出了根据本发明的一方面的示例性编码电信号;4 is a diagram showing an exemplary encoded electrical signal in accordance with an aspect of the present invention;
图5是示出了根据本发明的第一实施例的光子客户端在门禁系统中执行的门禁控制的流程图;5 is a flow chart showing access control performed by a photonic client in an access control system in accordance with a first embodiment of the present invention;
图6是示出了根据本发明的第一实施例的光芯片在门禁系统中执行的门禁控制的流程图;6 is a flow chart showing access control performed by an optical chip in an access control system according to a first embodiment of the present invention;
图7是示出了根据本发明的第二实施例的光子客户端在光子锁系统中执行的光子锁控制的流程图;7 is a flow chart showing photon lock control performed by a photonic client in a photonic lock system in accordance with a second embodiment of the present invention;
图8是示出了根据本发明的第二实施例的光芯片在光子锁系统中执行的光子锁控制的流程图;8 is a flow chart showing photon lock control performed by an optical chip in a photonic lock system according to a second embodiment of the present invention;
图9是示出了根据本发明的第二实施例的示例性编码电信号;Figure 9 is a diagram showing an exemplary encoded electrical signal in accordance with a second embodiment of the present invention;
图10是示出了根据本发明的另一方面的光接收单元的框图;FIG. 10 is a block diagram showing a light receiving unit according to another aspect of the present invention; FIG.
图11是示出了根据本发明的第一实施例的光接收器的各组件的框图;Figure 11 is a block diagram showing components of an optical receiver in accordance with a first embodiment of the present invention;
图12是示出了在无环境光的条件下光电转换单元生成的目标电信号的示意图;12 is a schematic view showing a target electric signal generated by a photoelectric conversion unit in the absence of ambient light;
图13是示出了在有环境光且无信号光源的条件下光电转换单元生成的噪声电信号的示意图;Figure 13 is a schematic diagram showing a noise electric signal generated by a photoelectric conversion unit under the condition that there is ambient light and no signal light source;
图14是示出了在有环境光且有信号光源的条件下光电转换单元生成的电信号的示意图;14 is a schematic diagram showing an electrical signal generated by a photoelectric conversion unit under the condition that there is ambient light and a signal light source;
图15是示出了光噪过滤单元输出的目标脉冲信号的示意图;15 is a schematic diagram showing a target pulse signal output by a light noise filtering unit;
图16是示出了目标脉冲信号经滤波后的信号示意图;Figure 16 is a diagram showing a filtered signal of a target pulse signal;
图17是示出了比较器输出的数字电平信号的示意图;Figure 17 is a diagram showing a digital level signal output by a comparator;
图18是示出了根据本发明的第二实施例的光接收器的各组件的框图;Figure 18 is a block diagram showing components of an optical receiver in accordance with a second embodiment of the present invention;
图19是示出了根据本发明的第三实施例的光接收器的各组件的框图。Figure 19 is a block diagram showing components of an optical receiver in accordance with a third embodiment of the present invention.
具体实施方式detailed description
以下结合附图和具体实施例对本发明作详细描述。注意,以下结合附图和具体实施例描述的诸方面仅是示例性的,而不应被理解为对本发明的保护范围进行任何限制。The invention is described in detail below with reference to the drawings and specific embodiments. It is to be noted that the aspects described below in conjunction with the drawings and the specific embodiments are merely exemplary and are not to be construed as limiting the scope of the invention.
图1示出了可在其中实践本发明的可见光通信系统的简化框图。可见光通信系统100包括光子客户端110和光子接收端120。光子客户端110包括编码单元111。编码单元111接收原始通信数据。原始通信数据可以是与光子客户端110要传达给光 子接收端的任何信息数据,例如,用户身份(ID)信息、操作指令等等。1 shows a simplified block diagram of a visible light communication system in which the present invention may be practiced. The visible light communication system 100 includes a photonic client 110 and a photon receiving end 120. The photonic client 110 includes an encoding unit 111. The encoding unit 111 receives the original communication data. The raw communication data can be communicated to the photonic client 110 to the light Any information data at the sub-receiver, such as user identity (ID) information, operational instructions, and the like.
编码单元111可以采用任何编码方式来编码原始通信数据。编码单元111将经编码信号输出至光发射单元113。光发射单元113可以通过例如以发光表示逻辑高、而以不发光表示逻辑低(或反之)来将接收到的经编码信号以可见光的形式发送出去。光发射单元113可以是LED或其他具有发光功能的元件。光子客户端110可以是光子物联网,例如光子门禁系统中的便携式设备,诸如手机、平板电脑、PDA和光钥匙等等。光钥匙即基于可见光通信的可实现打开门锁的钥匙,也可以称为光子钥匙。此时,光发射单元113可以是手机上的闪光灯或者是外接在手机上的具有发光功能的元件。The encoding unit 111 can encode the original communication data in any encoding manner. The encoding unit 111 outputs the encoded signal to the light emitting unit 113. The light emitting unit 113 may transmit the received encoded signal in the form of visible light by, for example, indicating a logic high with illumination, and a logic low (or vice versa) with no illumination. The light emitting unit 113 may be an LED or other element having a light emitting function. The photonic client 110 can be a photonic Internet of Things, such as a portable device in a photonic access system, such as a cell phone, tablet, PDA, and optical key. The light key is a key that can realize the opening of the door lock based on visible light communication, and can also be called a photon key. At this time, the light emitting unit 113 may be a flash on the mobile phone or an element having a light emitting function externally connected to the mobile phone.
处理单元112可以控制编码单元111、光发射单元113的操作。处理单元112可以是通用处理器、数字信号处理器(DSP)等。通用处理器可以是微处理器,但在替换方案中,该处理单元112也可以是任何常规的处理器、控制器、微控制器、或状态机。处理单元112还可以被实现为计算设备的组合,例如DSP与微处理器的组合、多个微处理器、与DSP核心协作的一个或多个微处理器、或任何其他此类配置。The processing unit 112 can control the operations of the encoding unit 111 and the light emitting unit 113. Processing unit 112 may be a general purpose processor, a digital signal processor (DSP), or the like. A general purpose processor may be a microprocessor, but in the alternative, the processing unit 112 may be any conventional processor, controller, microcontroller, or state machine. Processing unit 112 may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in cooperation with a DSP core, or any other such configuration.
光子接收端120包括用于接收客户端110发射的可见光信号、并将可见光信号转换为数字信号的光接收单元123。例如,对于LED灯产生的高频率闪烁,有光可代表逻辑高,无光可代表逻辑低,或反之,从而可将接收的可见光信号转换为电信号。光接收单元123可包括光敏器件,例如光电三极管、光电二极管。利用光电三极管、光电二极管的电信号与光信号的特性,通过光电转换将形成电脉冲信号。The photon receiving end 120 includes a light receiving unit 123 for receiving a visible light signal emitted by the client 110 and converting the visible light signal into a digital signal. For example, for high frequency flicker produced by an LED lamp, light may represent a logic high, no light may represent a logic low, or vice versa, such that the received visible light signal may be converted to an electrical signal. The light receiving unit 123 may include a photosensitive device such as a phototransistor or a photodiode. The electrical pulse signal is formed by photoelectric conversion by utilizing the characteristics of the electrical signal and the optical signal of the phototransistor and the photodiode.
解码单元121接收由光接收单元123输出的电信号并对其进行解码,以恢复出原始通信数据。处理单元122可以控制解码单元121、光接收单元123的操作。处理单元122可以是通用处理器、数字信号处理器(DSP)等。通用处理器可以是微处理器,但在替换方案中,该处理单元122也可以是任何常规的处理器、控制器、微控制器、或状态机。处理单元122还可以被实现为计算设备的组合,例如DSP与微处理器的组合、多个微处理器、与DSP核心协作的一个或多个微处理器、或任何其他此类配置。The decoding unit 121 receives the electric signal output by the light receiving unit 123 and decodes it to recover the original communication data. The processing unit 122 can control the operations of the decoding unit 121 and the light receiving unit 123. Processing unit 122 may be a general purpose processor, a digital signal processor (DSP), or the like. The general purpose processor may be a microprocessor, but in the alternative, the processing unit 122 may be any conventional processor, controller, microcontroller, or state machine. Processing unit 122 may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in cooperation with a DSP core, or any other such configuration.
光子接收端120,特别是光子接收端120中的解码单元121和光接收单元123可以被集成在光芯片中。该光芯片可用于光子门禁系统中的门禁端、光子锁系统中的光子锁受控端等等。The photon receiving end 120, particularly the decoding unit 121 and the light receiving unit 123 in the photon receiving end 120, may be integrated in the optical chip. The optical chip can be used for the access control end in the photon access control system, the photon lock controlled end in the photon lock system, and the like.
前文描述了可见光通信系统中的光子客户端和光子接收端。本领域技术人员容易理解的是,在除可见光之外的其他光通信系统中,光子客户端和光子接收端也可以 采用其他的光形式进行通信,例如红外光、紫外光等等。The photonic client and photon receiving end in the visible light communication system are described above. It will be readily understood by those skilled in the art that in other optical communication systems other than visible light, the photonic client and the photon receiving end can also be used. Communicate using other forms of light, such as infrared light, ultraviolet light, and the like.
经过研究发现,基于光发射单元,典型地如LED灯的可见光通信的传输速率较小的原因之一是,LED灯的闪烁控制存在延迟,即亮、暗状态的持续时间总是比所期望的设定值长。这一现象的直接结果是,为了传播同样长度的数据,LED灯所需要的时间总比预计的时间长。更严重的是,闪烁控制的延迟使得发送端和信号端之间的同步存在困难。按照常规的编码技术,以LED灯的高频率闪烁来进行通信,有光代表二进制1,无光代表二进制0。然而由于缺乏准确的同步,导致如果分别以有光、无光分别来代表二进制的1和0,会存在错误位接收。举例来说,当代表1位二进制0的无光状态的持续时间超出设定值后,额外的持续时间会被识别为另外1位二进制0。It has been found through research that one of the reasons for the small transmission rate of visible light communication, such as LED lamps, based on light-emitting units is that there is a delay in the flicker control of the LED lamps, ie the duration of the bright and dark states is always better than expected. The setting value is long. The direct result of this phenomenon is that in order to spread the same length of data, the time required for the LED lamp is always longer than expected. More seriously, the delay of the flicker control makes it difficult to synchronize between the sender and the signal. According to the conventional coding technique, communication is performed at a high frequency of the LED lamp, with light representing binary 1 and no light representing binary 0. However, due to the lack of accurate synchronization, there is an erroneous bit reception if the binary 1 and 0 are respectively represented by light and no light, respectively. For example, when the duration of the matte state representing 1-bit binary 0 exceeds the set value, the additional duration is recognized as another 1-bit binary zero.
由于LED灯所存在的上述缺陷,本发明的一方面提出一种新的编码和解码方案。根据本发明的实施例,从光信号角度看,以有光到无光之间状态的变化而不是以有光或无光状态本身来代表信息。从电信号角度看,以电平跳变而不是电平持续状态本身来代表信息。One aspect of the present invention proposes a new encoding and decoding scheme due to the above-mentioned drawbacks of LED lamps. According to an embodiment of the invention, from the perspective of the optical signal, the information is represented by a change from a state of light to no light, rather than a state of light or no light itself. From the point of view of the electrical signal, the information is represented by a level transition rather than a level continuous state itself.
为此,在编码时,可以将待发送的数据(即原始通信数据)分成多个数据单元,每一数据单元包含一个或多个比特。然后将这些数据单元转换为多个电信号单元,每一电信号单元以电平的跳变次数来代表对应数据单元的比特。相邻电信号单元之间则以固定电平表示间隔。电平的跳变可以仅包含低电平到高电平的跳变,或者仅包含低电平到高电平的跳变,还可以同时包含低电平到高电平的跳变和低电平到高电平的跳变。To this end, at the time of encoding, the data to be transmitted (ie, the original communication data) may be divided into a plurality of data units, each of which contains one or more bits. These data units are then converted into a plurality of electrical signal units, each of which represents the bits of the corresponding data unit by the number of hops of the level. The interval between adjacent electrical signal units is represented by a fixed level. Level transitions can only contain low-to-high transitions, or only low-to-high transitions, and can also include low-to-high transitions and low-power transitions. A flat to high transition.
可预先设置各电信号单元内的电平持续时间(在此称为第一电平持续时间)及相邻电信号单元间的电平持续时间(在此称为第二电平持续时间)。第二电平持续时间会大于第一电平持续时间。这种大小关系会显著到让接收端能够无误地识别。The level duration (herein referred to as the first level duration) within each electrical signal unit and the level duration between adjacent electrical signal units (referred to herein as the second level duration) may be preset. The second level duration may be greater than the first level duration. This size relationship will be significant so that the receiving end can recognize it without errors.
在本发明的实施例中,考虑到LED灯的闪烁延迟,在设置第一电平持续时间时,可以用作为发射源的发光二极管的闪烁延迟值来进行调整。通常,是在所期望的电平持续时间的基础上,减去闪烁延迟值。举例来说,如果希望电平持续时间是3ms,而闪烁延迟值是2ms,则设定的电平持续时间为1ms。发光二极管的闪烁延迟值可以预先通过试验来确定。In the embodiment of the present invention, in consideration of the flicker delay of the LED lamp, when the first level duration is set, the adjustment can be made with the flicker delay value of the light emitting diode as the emission source. Typically, the flicker delay value is subtracted based on the desired level duration. For example, if the desired level duration is 3 ms and the flicker delay value is 2 ms, the set level duration is 1 ms. The flicker delay value of the LED can be determined experimentally in advance.
可以理解,闪烁延迟值对第二电平持续时间的影响较小。可选地,在设置第二电平持续时间时,也可以用作为发射源的发光二极管的闪烁延迟值来进行调整。It will be appreciated that the flicker delay value has less effect on the duration of the second level. Alternatively, when the second level duration is set, the adjustment may also be made with the flicker delay value of the light emitting diode as the transmission source.
在得到了所期望的电信号后,以电信号控制发光二极管,由发光二极管以可见 光信号形式发送。After the desired electrical signal is obtained, the light-emitting diode is controlled by an electrical signal, which is visible by the light-emitting diode The optical signal is sent in the form of.
在接收端,解码过程是相反的。当检测到电平跳变时,判断为一个电信号单元的开始;当检测到的电平持续时间大于第一阈值且小于或等于第二阈值时,记录电平跳变的次数;当检测到的电平持续时间大于第二阈值且小于或等于第三阈值时,判断一个电信号单元结束。当检测到的电平持续时间大于第三阈值时,判断信号接收完毕。其中,第三阈值大于第二阈值大于第一阈值。可以理解,第一阈值、第二阈值和第三阈值的设置会参考前述的第一电平持续时间和第二电平持续时间。At the receiving end, the decoding process is reversed. When the level jump is detected, it is determined as the start of an electrical signal unit; when the detected level duration is greater than the first threshold and less than or equal to the second threshold, the number of times the level jumps is recorded; when detected When the level duration is greater than the second threshold and less than or equal to the third threshold, it is determined that an electrical signal unit ends. When the detected level duration is greater than the third threshold, the determination signal is received. The third threshold is greater than the second threshold by more than the first threshold. It will be appreciated that the settings of the first threshold, the second threshold, and the third threshold will refer to the aforementioned first level duration and second level duration.
在接收完毕后,将接收到的各电信号单元转换为数据单元,然后将多个数据单元组合成数据。由此获得可见光信号所表征的信息。After the reception is completed, the received electrical signal units are converted into data units, and then the plurality of data units are combined into data. The information characterized by the visible light signal is thus obtained.
可以理解,电平跳变至少会有一次。因此即使是一个电信号单元的所有比特值均为0,也会以电平跳变而不是以电平持续状态来表示。It can be understood that the level jump will occur at least once. Therefore, even if all the bit values of an electrical signal unit are 0, it will be represented by a level transition instead of a level continuous state.
现在参考附图描述所要求保护的发明,在全部附图中使用相同的参考标号来指相同的部件或步骤。在以下描述中,为解释起见,披露了众多具体细节以提供对所要求保护的主题的全面理解。然而,显而易见的是,这些发明也可以不采用这些具体细节来实施。The invention is now described with reference to the drawings, in which the same reference numerals are used to refer to the same parts or steps. In the following description, numerous specific details are set forth However, it will be apparent that the invention may be practiced without these specific details.
参见图2,是本发明的一方面的编码单元的编码过程的流程图。该编码单元可以是图110中的编码单元111。该编码单元可通过以下步骤对要发生的原始通信数据进行编码:Referring to FIG. 2, a flowchart of an encoding process of a coding unit of an aspect of the present invention. The coding unit may be the coding unit 111 in FIG. The coding unit can encode the original communication data to be generated by the following steps:
步骤201,将待发送的数据分成多个数据单元,每一数据单元包含一个或多个比特(bit)。这些待发送的数据可以是文本、图片、音频和/或视频。In step 201, the data to be transmitted is divided into a plurality of data units, and each data unit includes one or more bits. These data to be sent can be text, pictures, audio and/or video.
步骤202,将该多个数据单元转换为多个电信号单元,每一电信号单元以电平的跳变次数来代表对应数据单元的该一个或多个比特,相邻电信号单元之间具有以固定电平表示的间隔。在本实施例中,可以用电平的上升沿或者下降沿作为跳变的开始。Step 202: Convert the plurality of data units into a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit by a number of hops of the level, and having between the adjacent electrical signal units The interval expressed in fixed levels. In this embodiment, the rising or falling edge of the level can be used as the start of the transition.
例如,一个电信号单元内高(或低)电平的持续时间为2ms。每个电信号单元有四个从电平的变换,包括低电平到高电平的变换和高电平到低电平的变换,每个电信号单元表示2比特信息,四个电信号单元组成一个字节。当一个电信号单元中的从低电平到高电平和高电平到低电平的变换次数为1时,代表信息00;当从低电平到高电平和高电平到低电平的变换次数为2时,代表信息01;当从低电平到高电平和高电平到低电平的变换次数为3时,代表信息10;当从低电平到高电平和高电平到低电平的变换次数为4时,代表信息11。从低电平到高电平和高电平到低电平的变换次数与其代表的信息之间的对应关系如表1所示。 For example, the duration of a high (or low) level within an electrical signal unit is 2 ms. Each electrical signal unit has four slave level transitions, including low to high transition and high to low transition, each electrical signal unit representing 2 bits of information, and four electrical signal units. Make up a byte. When the number of transitions from low level to high level and high level to low level in an electrical signal unit is 1, it represents information 00; when from low level to high level and high level to low level When the number of transformations is 2, it represents information 01; when the number of transformations from low level to high level and high level to low level is 3, it represents information 10; when from low level to high level and high level When the number of times of low level conversion is 4, it represents information 11. The correspondence between the number of transitions from low level to high level and high level to low level and the information it represents is shown in Table 1.
表1Table 1
Figure PCTCN2017075623-appb-000001
Figure PCTCN2017075623-appb-000001
因此可以根据预先设置的上述对应关系表,确定信息单元所对应的电信号单元的电平组合。Therefore, the level combination of the electrical signal units corresponding to the information unit can be determined according to the foregoing correspondence table set in advance.
当然,每个电信号单元可以表示1比特信息,这需要最多2次跳变。以此类推,每个电信号单元可以表示3比特信息,这需要最多8次跳变。Of course, each electrical signal unit can represent 1 bit of information, which requires a maximum of 2 hops. By analogy, each electrical signal unit can represent 3-bit information, which requires up to 8 hops.
从上表也可以看出,即使是比特值00,也会有一次电平跳变。It can also be seen from the above table that even if the bit value is 00, there will be a level jump.
在此,该第一电平持续时间可经过预先获得的作为发射源的发光二极管的闪烁延迟值调整。调整的方式是将期望的第一电平持续时间减去闪烁延迟值,得到设定的第一电平持续时间。举例来说,期望一个电信号单元内高(或低)电平的持续时间为2ms。然而经闪烁延迟值调整后,设定的光信号持续时间会低于2ms,甚至为0。Here, the first level duration can be adjusted by a previously obtained flicker delay value of the light emitting diode as the emission source. The adjustment is made by subtracting the desired first level duration from the flicker delay value to obtain the set first level duration. For example, it is desirable that the duration of the high (or low) level within an electrical signal unit is 2 ms. However, after the flicker delay value is adjusted, the set optical signal duration will be less than 2ms, or even 0.
另外,相邻两个电信号单元之间的高(或低)电平的第二电平持续时间大于第一电平持续时间,可设定为25ms,这一持续时间既可以经过闪烁延迟值调整,也可以不经调整。In addition, the second level duration of the high (or low) level between two adjacent electrical signal units is greater than the first level duration, which may be set to 25 ms, which may pass the flicker delay value. Adjustments can also be made without adjustment.
步骤203,对各个电信号单元进行组合,获得编码后的电信号。图4为一个示例性的编码电信号,其中示出比特值与电平之间的关系示意图,图中的四个电信号单元分别有2次、4次、1次和3次电平的跳变,代表01、11、00和10,其中电平的跳变是指低电平到高电平和从高电平到低电平的跳变,相邻两个电信号单元之间的高(或低)电平的持续时间是27ms,组合后的信号为一个字节,其二进制表示为01110010,对应的十六进制信号为0x72。In step 203, each electrical signal unit is combined to obtain an encoded electrical signal. 4 is an exemplary encoded electrical signal showing a relationship between bit values and levels, and the four electrical signal units in the figure have jumps of 2, 4, 1 and 3 levels, respectively. Variable, representing 01, 11, 00, and 10, where the level transition refers to a low to high level and a high to low transition, the height between two adjacent electrical signal units ( The duration of the low or low level is 27ms, the combined signal is one byte, its binary representation is 01110010, and the corresponding hexadecimal signal is 0x72.
在后续,该编码后的电信号可以可见光形式进行发送,例如有光表示高电平、无光表示低电平。In the following, the encoded electrical signal can be transmitted in the form of visible light, for example, light indicates a high level, and no light indicates a low level.
参见图3,是本发明的一方面的解码单元的解码过程的流程图。该解码单元可以是图1中的解码单元121。该解码单元可通过以下步骤进行解码:Referring to FIG. 3, a flowchart of a decoding process of a decoding unit of an aspect of the present invention. The decoding unit may be the decoding unit 121 in FIG. The decoding unit can be decoded by the following steps:
步骤301,当检测到电平跳变时,判断为一电信号单元的开始,开始计时。电平跳变可以是从低电平到高电平,也可以是相反地从高电平到低电平。In step 301, when a level jump is detected, it is determined that the start of an electrical signal unit starts timing. The level jump can be from low level to high level, or vice versa from high level to low level.
步骤302,当检测到的电平持续时间大于第一阈值且小于或等于第二阈值时,表明电信号单元仍在持续,在此期间记录电平跳变的次数。持续的电平可以是高电平或 低电平。在本实施例中,可以用电平的上升沿或者下降沿作为跳变的开始记录。 Step 302, when the detected level duration is greater than the first threshold and less than or equal to the second threshold, indicating that the electrical signal unit is still continuing, during which the number of level jumps is recorded. The sustained level can be high or Low level. In the present embodiment, the rising or falling edge of the level can be used as the start of the jump recording.
步骤303,当检测到的电平持续时间大于该第二阈值且小于或等于第三阈值时,判断该电信号单元结束。 Step 303, when the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends.
步骤304,当检测到的电平持续时间大于该第三阈值时,判断信号接收完毕。Step 304: When the detected level duration is greater than the third threshold, the determination signal is received.
其中,第三阈值>第二阈值>第一阈值。而且,相应于发送端的第一电平持续时间的调整,第一阈值也经过相同的闪烁延迟值调整以便能够正确判别代表性的电平。另外,第二阈值和第三阈值既可以经闪烁延迟值调整,也可以不经闪烁延迟值调整。Wherein, the third threshold>the second threshold>the first threshold. Moreover, corresponding to the adjustment of the first level duration of the transmitting end, the first threshold value is also adjusted by the same flicker delay value so that the representative level can be correctly discriminated. In addition, the second threshold and the third threshold may be adjusted by the flicker delay value or may not be adjusted by the flicker delay value.
例如,设置第一、第二和第三阈值分别为0、25ms和60ms,当检测到上升沿(或下降沿)时,开始计时,当检测到的高(或低)电平的持续时间大于0,且小于等于25ms时,记录从低电平到高电平和高电平到低电平的变换次数;当检测到的高(或低)电平的持续时间大于25ms,且小于等于60ms时,认为是一个电信号单元的结束标志;当检测到的高(或低)电平的持续时间大于60ms时,认为信号接收完毕。For example, setting the first, second, and third thresholds to 0, 25 ms, and 60 ms, respectively, when a rising edge (or falling edge) is detected, timing is started, when the detected high (or low) level duration is greater than 0, and less than or equal to 25ms, record the number of transitions from low level to high level and high level to low level; when the detected high (or low) level duration is greater than 25ms, and less than or equal to 60ms It is considered to be the end mark of an electrical signal unit; when the detected high (or low) level duration is greater than 60 ms, the signal reception is considered complete.
在另一情形下,高(或低)电平的持续时间大于第三阈值也可能代表信号接收中断,重新开始检测信号。In another case, the duration of the high (or low) level being greater than the third threshold may also represent a signal reception interruption, restarting the detection signal.
步骤305,将接收到的各电信号单元转换为数据单元。Step 305: Convert each received electrical signal unit into a data unit.
步骤306,将多个数据单元组合成数据,从而获得可见光信号表征的信息。 Step 306, combining a plurality of data units into data to obtain information characterized by visible light signals.
根据本方面的该发明提供的编码单元,将数据分成若干个电信号单元,各电信号单元之间以电平的持续时间来区分,在一个电信号单元内,以电平的变换次数表示信息。这一编码方案使得即使存在由LED灯的闪烁延迟导致的同步问题,接收端仍能正确地解码数据。而且,利用闪烁延迟值来调整电平持续时间,使得电平持续时间被有效缩短,从而提高了单位时间的信息传输量。According to the coding unit provided by the invention of the present aspect, the data is divided into a plurality of electrical signal units, each of which is distinguished by a duration of a level, and in an electrical signal unit, the information is represented by the number of times of level conversion. . This encoding scheme allows the receiving end to correctly decode the data even if there is a synchronization problem caused by the flicker delay of the LED lamp. Moreover, the flicker delay value is used to adjust the level duration so that the level duration is effectively shortened, thereby increasing the amount of information transmission per unit time.
尽管为使解释简单化将上述过程图示并描述为一系列动作,但是应理解并领会,这些过程不受动作的次序所限,因为根据一个或多个实施例,一些动作可按不同次序发生和/或与来自本文中图示和描述或本文中未图示和描述但本领域技术人员可以理解的其他动作并发地发生。Although the above process is illustrated and described as a series of acts for simplicity of the explanation, it should be understood and appreciated that the process is not limited by the order of the acts, as some acts may occur in different orders in accordance with one or more embodiments. And/or concurrently with other acts from what is illustrated and described herein or that are not illustrated and described herein, but are understood by those skilled in the art.
下文结合图5-6和图7-9来描述包括上述解码单元的光芯片分别在门禁系统和光子锁系统中的应用的两个实施例。Two embodiments of the application of the optical chip comprising the above described decoding unit in the access control system and the photonic lock system, respectively, are described below in connection with Figures 5-6 and 7-9.
第一实施例First embodiment
图5和图6分别是示出了根据本发明的第一实施例的光子客户端和光芯片在光子门禁系统中执行的门禁控制的流程图。 5 and 6 are flow charts respectively showing access control performed by a photonic client and an optical chip in a photonic access control system according to a first embodiment of the present invention.
本实施例是在光子门禁系统中实施,其中光子客户端可以是手机,而光芯片可以是光子门禁受控端。光子门禁受控端除了解码信号外,还可进一步利用信号进行匹配,从而决定是否开门。This embodiment is implemented in a photonic access control system, wherein the photonic client can be a mobile phone, and the optical chip can be a photon access control controlled end. In addition to decoding the signal, the photon access control terminal can further use the signal to match to determine whether to open the door.
参照图5所示,手机可通过以下步骤执行门禁控制:Referring to FIG. 5, the mobile phone can perform the access control by the following steps:
步骤501,在手机内将待发送的身份识别数据分成多个数据单元,每一数据单元包含一个或多个比特(bit)。Step 501: Divide the identification data to be sent into a plurality of data units in the mobile phone, and each data unit includes one or more bits.
步骤502,将该多个数据单元转换为多个电信号单元,每一电信号单元以电平的跳变次数来代表对应数据单元的该一个或多个比特,相邻电信号单元之间具有以固定电平表示的间隔。在本实施例中,可以用电平的上升沿或者下降沿作为跳变的开始。Step 502: Convert the plurality of data units into a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit by a number of hop times of the level, and between the adjacent electrical signal units The interval expressed in fixed levels. In this embodiment, the rising or falling edge of the level can be used as the start of the transition.
例如,一个电信号单元内高(或低)电平的持续时间为2ms。每个电信号单元有四个电平的变换,包括从低电平到高电平的变换和高电平到低电平)的变换,每个电信号单元表示2比特信息,四个电信号单元组成一个字节。当一个电信号单元中的从低电平到高电平和高电平到低电平的变换次数为1时,代表信息00;当从低电平到高电平和高电平到低电平的变换次数为2时,代表信息01;当从低电平到高电平和高电平到低电平的变换次数为3时,代表信息10;当从低电平到高电平和高电平到低电平的变换次数为4时,代表信息11。从低电平到高电平和高电平到低电平的变换次数与其代表的信息之间的对应关系如表1所示。For example, the duration of a high (or low) level within an electrical signal unit is 2 ms. Each electrical signal unit has four levels of transformation, including low-to-high transitions and high-to-low transitions. Each electrical signal unit represents 2-bit information and four electrical signals. The units make up one byte. When the number of transitions from low level to high level and high level to low level in an electrical signal unit is 1, it represents information 00; when from low level to high level and high level to low level When the number of transformations is 2, it represents information 01; when the number of transformations from low level to high level and high level to low level is 3, it represents information 10; when from low level to high level and high level When the number of times of low level conversion is 4, it represents information 11. The correspondence between the number of transitions from low level to high level and high level to low level and the information it represents is shown in Table 1.
当然,每个电信号单元可以表示1比特信息,这需要最多2次跳变。以此类推,每个电信号单元可以表示3比特信息,这需要最多8次跳变。Of course, each electrical signal unit can represent 1 bit of information, which requires a maximum of 2 hops. By analogy, each electrical signal unit can represent 3-bit information, which requires up to 8 hops.
在此,该第一电平持续时间可经过预先获得的作为发射源的发光二极管的闪烁延迟值调整。调整的方式是将期望的第一电平持续时间减去闪烁延迟值,得到设定的第一电平持续时间。举例来说,期望一个电信号单元内高(或低)电平的第一电平持续时间为2ms。然而经闪烁延迟值调整后,设定的光信号持续时间会低于2ms,甚至为0。Here, the first level duration can be adjusted by a previously obtained flicker delay value of the light emitting diode as the emission source. The adjustment is made by subtracting the desired first level duration from the flicker delay value to obtain the set first level duration. For example, a first level duration of a high (or low) level within an electrical signal unit is desired to be 2 ms. However, after the flicker delay value is adjusted, the set optical signal duration will be less than 2ms, or even 0.
另外,相邻两个电信号单元之间高(或低)电平的第二电平持续时间可设定为25ms,这一持续时间既可以经过闪烁延迟值调整,也可以不经调整。In addition, the second level duration of the high (or low) level between adjacent two electrical signal units can be set to 25 ms, which can be adjusted either by the flicker delay value or without adjustment.
步骤503,对各个电信号单元进行组合,获得编码后的电信号。图4为一个示例性的编码电信号,其中示出比特值与电平之间的关系示意图,图中的四个电信号单元分别有2次、4次、1次和3次电平的跳变,分别代表01、11、00和10,其中电平的跳变是指低电平到高电平和从高电平到低电平的跳变,,相邻两个电信号单元之间的高(或低)电平的持续时间是27ms,组合后的信号为一个字节,其二进制表示为 01110010,对应的十六进制信号为0x72。In step 503, each electrical signal unit is combined to obtain an encoded electrical signal. 4 is an exemplary encoded electrical signal showing a relationship between bit values and levels, and the four electrical signal units in the figure have jumps of 2, 4, 1 and 3 levels, respectively. Variable, representing 01, 11, 00, and 10, respectively, where the level transition refers to a low to high level and a transition from a high level to a low level, between adjacent two electrical signal units The duration of the high (or low) level is 27ms, the combined signal is one byte, and its binary representation is 01110010, the corresponding hexadecimal signal is 0x72.
步骤504,以可见光信号形式发送编码后的电信号。发送时需要将手机的LED发射源对准接收光子门禁受控端。 Step 504, transmitting the encoded electrical signal in the form of a visible light signal. When sending, it is necessary to align the LED emission source of the mobile phone with the controlled end of the receiving photon access control.
参见图6,光子门禁受控端可通过以下步骤执行门禁控制:Referring to Figure 6, the photon access control controlled end can perform access control by the following steps:
步骤601,光子门禁受控端接收可见光信号并转换为电信号。Step 601: The photon access control controlled end receives the visible light signal and converts it into an electrical signal.
步骤602,当检测到电平跳变时,判断为一电信号单元的开始,开始计时。电平跳变可以是从低电平到高电平,也可以是相反地从高电平到低电平。 Step 602, when a level jump is detected, it is determined to be the start of an electrical signal unit, and timing is started. The level jump can be from low level to high level, or vice versa from high level to low level.
步骤603,当检测到的电平持续时间大于第一阈值且小于或等于第二阈值时,表明电信号单元仍在持续,在此期间记录电平跳变的次数。持续的电平可以是高电平或低电平。在本实施例中,可以用电平的上升沿或者下降沿作为跳变的开始记录。 Step 603, when the detected level duration is greater than the first threshold and less than or equal to the second threshold, indicating that the electrical signal unit is still continuing, during which the number of level jumps is recorded. The sustained level can be high or low. In the present embodiment, the rising or falling edge of the level can be used as the start of the jump recording.
步骤604,当检测到的电平持续时间大于该第二阈值且小于或等于第三阈值时,判断该电信号单元结束。 Step 604, when the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends.
步骤605,当检测到的电平持续时间大于该第三阈值时,判断信号接收完毕。Step 605: When the detected level duration is greater than the third threshold, the determination signal is received.
其中,第三阈值大于第二阈值大于第一阈值。The third threshold is greater than the second threshold by more than the first threshold.
例如,设置第一、第二和第三阈值分别为0、25ms和60ms,当检测到上升沿(或下降沿)时,开始计时,当检测到的高(或低)电平的持续时间大于0,且小于等于25ms时,记录从低电平到高电平和高电平到低电平的变换次数;当检测到的高(或低)电平的持续时间大于25ms,且小于等于60ms时,认为是一个电信号单元的结束标志;当检测到的高(或低)电平的持续时间大于60ms时,认为信号接收完毕。For example, setting the first, second, and third thresholds to 0, 25 ms, and 60 ms, respectively, when a rising edge (or falling edge) is detected, timing is started, when the detected high (or low) level duration is greater than 0, and less than or equal to 25ms, record the number of transitions from low level to high level and high level to low level; when the detected high (or low) level duration is greater than 25ms, and less than or equal to 60ms It is considered to be the end mark of an electrical signal unit; when the detected high (or low) level duration is greater than 60 ms, the signal reception is considered complete.
在另一情形下,高(或低)电平的持续时间大于第三阈值也可能代表信号接收中断,重新开始检测信号。In another case, the duration of the high (or low) level being greater than the third threshold may also represent a signal reception interruption, restarting the detection signal.
步骤606,将接收到的各电信号单元转换为数据单元。Step 606: Convert each received electrical signal unit into a data unit.
步骤607,光子门禁受控端将多个数据单元组合成身份识别数据,从而获得可见光信号表征的信息。Step 607: The photon access control controlled end combines the plurality of data units into the identification data, thereby obtaining information characterized by the visible light signal.
步骤608,光子门禁受控端将身份识别数据与预设条件进行对比,若身份识别数据与预设条件匹配,则控制与其连接的门致动器开门。Step 608: The photon access control controlled end compares the identification data with a preset condition, and if the identification data matches the preset condition, controls the door actuator connected thereto to open the door.
在本实施例中,身份识别数据与预设条件匹配,包括识别数据与预设条件相同;或者识别数据与预设条件之间存在对应关系。In this embodiment, the identification data matches the preset condition, including the identification data being the same as the preset condition; or there is a correspondence between the identification data and the preset condition.
本实施例用手机作为光子门禁系统的发送端,将编码后的身份识别数据通过手机的LED灯以可见光信号的形式发送出去。光子门禁受控端对从手机接收的可见光信号进行解码,然后根据解码获得的识别数据进行鉴权,若通过鉴权,则控制与其连 接的门致动器开门,从而实现手机开门,提高用户体验。In this embodiment, the mobile phone is used as the transmitting end of the photon access control system, and the encoded identification data is transmitted as a visible light signal through the LED light of the mobile phone. The photon access control controlled end decodes the visible light signal received from the mobile phone, and then performs authentication according to the identification data obtained by decoding. If the authentication is passed, the control is connected thereto. The door actuator is opened to open the door and improve the user experience.
第二实施例Second embodiment
图7和图8分别是示出了根据本发明的第二实施例的光子客户端和光芯片在光子锁系统中执行的光子锁控制的流程图。7 and 8 are flow diagrams showing photon lock control performed by a photonic client and an optical chip in a photonic lock system, respectively, in accordance with a second embodiment of the present invention.
本实施例是在光子锁系统中实施,其中光子客户端可以是光子钥匙,而光芯片可以是光子锁受控端。光子锁受控端除了解码信号外,还可进一步利用信号进行匹配,从而决定是否开锁。This embodiment is implemented in a photonic lock system in which the photonic client can be a photonic key and the optical chip can be a photonic lock controlled end. In addition to decoding the signal, the photon lock controlled end can further use the signal to match, thereby determining whether to unlock.
参照图7所示,光子钥匙可通过以下步骤执行光子锁控制:Referring to Figure 7, the photonic key can perform photon lock control by the following steps:
步骤701,在光子钥匙内将待发送的身份识别数据分成多个数据单元,每一数据单元包含一个或多个比特(bit)。Step 701: Divide the identification data to be transmitted into a plurality of data units in the photonic key, each data unit comprising one or more bits.
步骤703,将该多个数据单元转换为多个电信号单元,每一电信号单元以电平的跳变次数来代表对应数据单元的该一个或多个比特,相邻电信号单元之间具有以固定电平表示的间隔。在本实施例中,可以用电平的上升沿或者下降沿作为跳变的开始。 Step 703, converting the plurality of data units into a plurality of electrical signal units, each of the electrical signal units representing the one or more bits of the corresponding data unit by a number of hops of the level, and having between the adjacent electrical signal units The interval expressed in fixed levels. In this embodiment, the rising or falling edge of the level can be used as the start of the transition.
例如,一个电信号单元内高(或低)电平的持续时间为2ms。每个电信号单元有四个电平的变换,包括从低电平到高电平的变换,每个电信号单元表示2比特信息,四个电信号单元组成一个字节。当一个电信号单元中的从低电平到高电平的变换次数为1时,代表信息00;当从低电平到高电平的变换次数为2时,代表信息01;当从低电平到高电平的变换次数为3时,代表信息10;当从低电平到高电平的变换次数为4时,代表信息11。从低电平到高电平的变换次数与其代表的信息之间的对应关系如表1所示。For example, the duration of a high (or low) level within an electrical signal unit is 2 ms. Each electrical signal unit has four levels of transformation, including a low to high transition, each electrical signal unit representing 2 bits of information and four electrical signal units forming one byte. When the number of transitions from low level to high level in an electrical signal unit is 1, it represents information 00; when the number of transitions from low level to high level is 2, it represents information 01; when from low power When the number of transitions from flat to high level is 3, it represents information 10; when the number of transitions from low level to high level is 4, it represents information 11. The correspondence between the number of transitions from low level to high level and the information it represents is shown in Table 1.
当然,每个电信号单元可以表示N比特信息,N为自然数,例如1比特信息,这需要最多2次跳变。以此类推,每个电信号单元可以表示3比特信息,这需要最多8次跳变,例如当一个电信号单元中的从低电平到高电平或/和高电平到低电平的变换次数为1时,代表信息000;当从低电平到高电平或/和高电平到低电平的变换次数为2时,代表信息001;当从低电平到高电平或/和高电平到低电平的变换次数为3时,代表信息010;当从低电平到高电平或/和高电平到低电平的变换次数为4时,代表信息011,当一个电信号单元中的从低电平到高电平或/和高电平到低电平的变换次数为5时,代表信息100;当从低电平到高电平或/和高电平到低电平的变换次数为6时,代表信息101;当从低电平到高电平或/和高电平到低电平的变换次数为7时,代表信息110;当从低电平到高电平或/和高电平到低电平的变换次数为8时,代表信息111。 上述跳变次数对应代表的信息可以根据用户需要和习惯灵活设置。Of course, each electrical signal unit can represent N-bit information, and N is a natural number, such as 1-bit information, which requires a maximum of 2 hops. By analogy, each electrical signal unit can represent 3-bit information, which requires up to 8 transitions, such as low to high or / and high to low in an electrical signal unit. When the number of transformations is 1, it represents information 000; when the number of transitions from low level to high level or / and high level to low level is 2, it represents information 001; when from low level to high level or / When the number of transitions from high level to low level is 3, it represents information 010; when the number of transitions from low level to high level or / and high level to low level is 4, it represents information 011, When the number of transitions from low level to high level or / and high level to low level in an electrical signal unit is 5, it represents information 100; when from low level to high level or / and high power When the number of transitions from flat to low level is 6, it represents information 101; when the number of transitions from low level to high level or / and high level to low level is 7, it represents information 110; when from low power When the number of transitions from flat to high or/and high to low is 8, it represents information 111. The information corresponding to the number of times of the above hopping can be flexibly set according to user needs and habits.
在此,该第一电平持续时间可经过预先获得的作为发射源的发光二极管的闪烁延迟值调整。调整的方式是将期望的第一电平持续时间减去闪烁延迟值,得到设定的第一电平持续时间。举例来说,期望一个电信号单元内高(或低)电平的第一电平持续时间为2ms。然而经闪烁延迟值调整后,设定的光信号持续时间会低于2ms,甚至为0。Here, the first level duration can be adjusted by a previously obtained flicker delay value of the light emitting diode as the emission source. The adjustment is made by subtracting the desired first level duration from the flicker delay value to obtain the set first level duration. For example, a first level duration of a high (or low) level within an electrical signal unit is desired to be 2 ms. However, after the flicker delay value is adjusted, the set optical signal duration will be less than 2ms, or even 0.
另外,相邻两个电信号单元之间高(或低)电平的第二电平持续时间可设定为25ms,这一持续时间既可以经过闪烁延迟值调整,也可以不经调整。In addition, the second level duration of the high (or low) level between adjacent two electrical signal units can be set to 25 ms, which can be adjusted either by the flicker delay value or without adjustment.
步骤703,对各个电信号单元进行组合,获得编码后的电信号。图9为一个示例性的编码电信号,其中示出比特值与电平之间的关系示意图,图中的四个电信号单元分别有2次、4次、1次和3次低电平到高电平的跳变,分别代表01、11、00和10,相邻两个电信号单元之间的高或低电平的持续时间是27ms,组合后的信号为一个字节,其二进制表示为01110010,对应的十六进制信号为0x72。In step 703, each electrical signal unit is combined to obtain an encoded electrical signal. Figure 9 is an exemplary encoded electrical signal showing a relationship between bit values and levels. The four electrical signal units in the figure have 2, 4, 1 and 3 low levels, respectively. The high level transitions represent 01, 11, 00, and 10, respectively. The duration of the high or low level between two adjacent electrical signal units is 27 ms, and the combined signal is one byte, and its binary representation For 01110010, the corresponding hexadecimal signal is 0x72.
步骤704,以可见光信号形式发送编码后的电信号。在发送时需要将光子钥匙的LED发射源对准接收光子锁受控端。 Step 704, transmitting the encoded electrical signal in the form of a visible light signal. The LED source of the photonic key needs to be aligned with the receiving photon lock controlled end when transmitting.
参见图8,光子锁受控端可通过以下步骤执行光子锁控制:Referring to Figure 8, the photon lock controlled end can perform photon lock control by the following steps:
步骤801,光子锁受控端接收可见光信号并转换为电信号。In step 801, the photon lock controlled end receives the visible light signal and converts it into an electrical signal.
步骤802,当检测到电平跳变时,判断为一电信号单元的开始,开始计时。电平跳变可以是从低电平到高电平,也可以是相反地从高电平到低电平。 Step 802, when a level jump is detected, it is determined to be the start of an electrical signal unit, and timing is started. The level jump can be from low level to high level, or vice versa from high level to low level.
步骤803,当检测到的电平持续时间大于第一阈值且小于或等于第二阈值时,表明电信号单元仍在持续,在此期间记录电平跳变的次数。持续的电平可以是高电平或低电平。在本实施例中,可以用电平的上升沿或者下降沿作为跳变的开始记录。 Step 803, when the detected level duration is greater than the first threshold and less than or equal to the second threshold, indicating that the electrical signal unit is still continuing, during which the number of level jumps is recorded. The sustained level can be high or low. In the present embodiment, the rising or falling edge of the level can be used as the start of the jump recording.
步骤804,当检测到的电平持续时间大于该第二阈值且小于或等于第三阈值时,判断该电信号单元结束。 Step 804, when the detected level duration is greater than the second threshold and less than or equal to the third threshold, determining that the electrical signal unit ends.
步骤805,当检测到的电平持续时间大于该第三阈值时,判断信号接收完毕。Step 805: When the detected level duration is greater than the third threshold, the determination signal is received.
其中,第三阈值大于第二阈值大于第一阈值。The third threshold is greater than the second threshold by more than the first threshold.
例如,设置第一、第二和第三阈值分别为0、25ms和60ms,当检测到上升沿时,开始计时,当检测到的高电平的持续时间大于0,且小于等于25ms时,记录从低电平到高电平的变换次数;当检测到的低电平的持续时间大于25ms,且小于等于60ms时,认为是一个电信号单元的结束标志;当检测到的低电平的持续时间大于60ms时,认为信号接收完毕。 For example, the first, second, and third thresholds are set to 0, 25 ms, and 60 ms, respectively, and when a rising edge is detected, timing is started, and when the detected high level duration is greater than 0 and less than or equal to 25 ms, recording is performed. The number of transitions from low to high; when the detected low level is greater than 25ms and less than or equal to 60ms, it is considered to be the end of an electrical signal unit; when the detected low level continues When the time is longer than 60ms, the signal is considered to have been received.
在另一情形下,低电平的持续时间大于第三阈值也可能代表信号接收中断,重新开始检测信号。In another case, the duration of the low level being greater than the third threshold may also represent a signal reception interruption, restarting the detection signal.
步骤806,将接收到的各电信号单元转换为数据单元。Step 806: Convert each received electrical signal unit into a data unit.
步骤807,光子锁受控端将多个数据单元组合成身份识别数据,从而获得可见光信号表征的信息。Step 807: The photon lock controlled end combines the plurality of data units into the identification data, thereby obtaining information characterized by the visible light signal.
步骤808,光子锁受控端将身份识别数据与预设条件进行对比,若身份识别数据与预设条件匹配,则控制与其连接的电动锁开锁。Step 808: The photon lock controlled end compares the identification data with a preset condition, and if the identification data matches the preset condition, controls the electric lock connected thereto to unlock.
在本实施例中,身份识别数据与预设条件匹配,包括识别数据与预设条件相同;或者识别数据与预设条件之间存在对应关系。In this embodiment, the identification data matches the preset condition, including the identification data being the same as the preset condition; or there is a correspondence between the identification data and the preset condition.
本实施例用光子钥匙作为光子锁控制系统的发送端,将编码后的身份识别数据通过光子钥匙的LED灯以可见光信号的形式发送出去。光子锁受控端对从光子钥匙接收的可见光信号进行解码,然后根据解码获得的识别数据进行鉴权,若通过鉴权,则控制与其连接的电动锁开锁,从而实现光子钥匙开锁,提高用户体验。In this embodiment, the photon key is used as the transmitting end of the photon lock control system, and the encoded identification data is transmitted as a visible light signal through the LED lamp of the photon key. The photon lock controlled end decodes the visible light signal received from the photon key, and then performs authentication according to the identification data obtained by decoding. If the authentication is performed, the electric lock connected to the control is unlocked, thereby unlocking the photon key and improving the user experience. .
本发明还提供了一种鉴权装置,该鉴权装置可用在门禁系统、地铁系统、支付系统或消费管理系统。该鉴权装置可包括光芯片。以门禁系统为例,本实施例用手机作为发送端,将编码后的识别数据通过LED灯以可见光信号的形式发送出去。光芯片对从手机接收的可见光信号进行解码,然后根据解码获得的识别数据进行鉴权,若通过鉴权,则控制与其连接的门致动器,从而实现开门,提高用户体验。The present invention also provides an authentication device that can be used in an access control system, a subway system, a payment system, or a consumption management system. The authentication device can include an optical chip. Taking the access control system as an example, in this embodiment, the mobile phone is used as the transmitting end, and the encoded identification data is transmitted as a visible light signal through the LED light. The optical chip decodes the visible light signal received from the mobile phone, and then performs authentication according to the identification data obtained by decoding. If the authentication is performed, the gate actuator connected thereto is controlled, thereby opening the door and improving the user experience.
经过进一步研究发现,在光芯片的使用过程中,环境光的存在导致光芯片正确接收和解码光信号的能力大大下降。因此,本发明的另一方面致力于提供了能降低环境光的噪声影响的光芯片。After further research, it is found that the existence of ambient light during the use of the optical chip causes the ability of the optical chip to correctly receive and decode the optical signal to be greatly reduced. Accordingly, another aspect of the present invention is directed to providing an optical chip capable of reducing the influence of noise of ambient light.
图10是示出了根据本发明的一方面的光接收单元1000的框图。如图10所示,光接收单元1000可包括光电转换单元1010。光电转换单元1010可用于接收光信号,并通过光电转换将收到的光信号转换成电信号。光电转换单元1010可包括光电三极管、光电二极管等。FIG. 10 is a block diagram showing a light receiving unit 1000 in accordance with an aspect of the present invention. As shown in FIG. 10, the light receiving unit 1000 may include a photoelectric conversion unit 1010. The photoelectric conversion unit 1010 can be configured to receive an optical signal and convert the received optical signal into an electrical signal by photoelectric conversion. The photoelectric conversion unit 1010 may include a phototransistor, a photodiode, or the like.
光电转换单元1010接收到的光信号可包括信号光源(例如,光子客户端的光发射单元)发出的带有通信数据的目标光信号,但是也可能包括作为噪声的环境光。因此,光电转换单元1010生成的电信号中可包括源于信号光源的目标电信号,也可包括源于环境光的噪声电信号。The optical signal received by the photoelectric conversion unit 1010 may include a target optical signal with communication data emitted by a signal light source (for example, a light emitting unit of a photonic client), but may also include ambient light as noise. Therefore, the electrical signal generated by the photoelectric conversion unit 1010 may include a target electrical signal derived from the signal light source, and may also include a noise electrical signal derived from ambient light.
环境光严重影响了对目标光信号的正确接收,降低了光通信的吞吐量,甚至有 可能导致通信失败。为此,根据本发明的一方面的光接收单元1000还可包括光噪去除单元1020以去除环境光噪声的影响。Ambient light seriously affects the correct reception of the target optical signal, reducing the throughput of optical communication, and even May cause communication to fail. To this end, the light receiving unit 1000 according to an aspect of the present invention may further include a light noise removing unit 1020 to remove the influence of ambient light noise.
光电转换单元1010生成的电信号可包括源于信号光源的目标电信号,也可包括源于环境光的噪声电信号。如上所述,信号光源发射按一定规律高频闪烁的光信号,例如有光可代表逻辑高,无光可代表逻辑低。通过光电转换,光电转换单元1010得到的对应目标电信号相应地为一高低电平脉冲序列,例如,高电平对应于信号光源发光,低电平对应于信号光源不发光。然而,环境光一般是不变或变化可忽略不计的。因此,对应于环境光,光电转换单元1010生成的噪声电信号可近似为一直流信号,或幅值较小且变化缓慢的交流信号。所以,在存在环境光的条件下,光电转换单元1010在接收信号光源的目标光信号后生成的电信号是叠加了一噪声电信号的脉冲信号。The electrical signal generated by the photoelectric conversion unit 1010 may include a target electrical signal derived from the signal light source, and may also include a noise electrical signal derived from ambient light. As described above, the signal source emits an optical signal that is flashed at a high frequency according to a certain rule, for example, light may represent a logic high, and no light may represent a logic low. Through photoelectric conversion, the corresponding target electrical signal obtained by the photoelectric conversion unit 1010 is correspondingly a high-low level pulse sequence. For example, a high level corresponds to the signal source light emission, and a low level corresponds to the signal light source does not emit light. However, ambient light is generally invariant or negligible. Therefore, corresponding to the ambient light, the noise electrical signal generated by the photoelectric conversion unit 1010 can be approximated as a direct current signal, or an alternating current signal having a small amplitude and a slow change. Therefore, in the presence of ambient light, the electrical signal generated by the photoelectric conversion unit 1010 after receiving the target optical signal of the signal light source is a pulse signal superimposed with a noise electrical signal.
鉴于此,光噪去除单元1020可包括噪声过滤单元1021。噪声过滤单元1021耦接至光电转换单元1010以接收光电转换单元1010生成的电信号。噪声过滤单元1021可过滤掉电信号中由于环境光而生成的噪声电信号,从而生成目标脉冲信号。该目标脉冲信号的脉冲序列可近似于目标电信号,例如具有与目标电信号变化一致的脉冲序列。In view of this, the photo noise removing unit 1020 may include a noise filtering unit 1021. The noise filtering unit 1021 is coupled to the photoelectric conversion unit 1010 to receive an electrical signal generated by the photoelectric conversion unit 1010. The noise filtering unit 1021 can filter out a noise electric signal generated in the electric signal due to ambient light, thereby generating a target pulse signal. The pulse sequence of the target pulse signal can approximate the target electrical signal, for example, having a pulse sequence that is consistent with the change in the target electrical signal.
光噪去除单元1020还可包括比较单元1022。比较单元1022的第一输入端可耦接至噪声过滤单元1021的输出端以接收目标脉冲信号。比较单元1022可基于该目标脉冲信号和参考电压的比较来输出数字电平信号。The light noise removing unit 1020 may further include a comparing unit 1022. The first input of the comparison unit 1022 can be coupled to the output of the noise filtering unit 1021 to receive the target pulse signal. The comparison unit 1022 can output a digital level signal based on a comparison of the target pulse signal and a reference voltage.
噪声过滤单元1021输出的目标脉冲信号尽管具有与目标电信号变化一致的脉冲序列,但是该目标脉冲信号的脉冲幅值一般较小,难以被用作数字电路的逻辑电平信号,比较单元1022可通过目标脉冲信号与参考电压的比较输出逻辑电平信号,例如取决于电源电压,高电平可达3-5V。该参考电压的大小可以介于目标脉冲信号的脉冲序列的峰值和谷值之间。例如,在目标脉冲信号的电平高于参考电压时(对应于目标脉冲信号的脉冲),比较单元1022可输出逻辑高电平,而在目标脉冲信号的电平低于参考电压时(对应于目标脉冲信号的脉冲间隔),比较单元1022可输出逻辑低电平。由此,可以得到准确反映信号光源发射的目标光信号的数字逻辑的逻辑电平信号。The target pulse signal outputted by the noise filtering unit 1021 has a pulse sequence that is consistent with the change of the target electrical signal, but the pulse amplitude of the target pulse signal is generally small, and is difficult to be used as a logic level signal of the digital circuit, and the comparing unit 1022 can The logic level signal is output by comparing the target pulse signal with the reference voltage, for example, depending on the power supply voltage, the high level can reach 3-5V. The magnitude of the reference voltage can be between the peak and valley of the pulse sequence of the target pulse signal. For example, when the level of the target pulse signal is higher than the reference voltage (corresponding to the pulse of the target pulse signal), the comparison unit 1022 can output a logic high level when the level of the target pulse signal is lower than the reference voltage (corresponding to The comparison unit 1022 can output a logic low level. Thereby, a logic level signal of the digital logic that accurately reflects the target optical signal emitted by the signal source can be obtained.
在此情形中,解码单元所解码的对象即为该比较单元1022输出的数字电平信号。由于该数字电平信号是消除了光噪声的干净信号,因此可以提高解码单元的解码效率,进一步改善光通信吞吐量。 In this case, the object decoded by the decoding unit is the digital level signal output by the comparison unit 1022. Since the digital level signal is a clean signal that eliminates optical noise, the decoding efficiency of the decoding unit can be improved, and the optical communication throughput can be further improved.
图11是示出了根据本发明的第一实施例的光接收单元1100的各组件的框图。如图11所示,光接收单元1100可包括光电三极管Q1,以将光信号转换为电信号。作为替换,也可使用光电二极管等其他光敏器件作为光电转换单元。FIG. 11 is a block diagram showing components of the light receiving unit 1100 according to the first embodiment of the present invention. As shown in FIG. 11, the light receiving unit 1100 may include a phototransistor Q1 to convert an optical signal into an electrical signal. Alternatively, other photosensitive devices such as photodiodes may be used as the photoelectric conversion unit.
光接收单元1100还可包括二极管D1和电阻R1。光电三极管Q1的集电极耦接至电源电压Vcc(例如,5V),光电三极管Q1的发射极耦接至电阻R1的一端以及二极管D1的正极,电阻R1的另一端接地,这里的电阻R1起到箝位电阻的作用。The light receiving unit 1100 may further include a diode D1 and a resistor R1. The collector of the phototransistor Q1 is coupled to the power supply voltage Vcc (for example, 5V), the emitter of the phototransistor Q1 is coupled to one end of the resistor R1 and the anode of the diode D1, and the other end of the resistor R1 is grounded, where the resistor R1 serves The role of the clamp resistor.
光接收单元1100还可包括电阻R2和电容C1,以及运算比较器CMP。电阻R2的一端耦接至二极管D1的负极,另一端耦接至电容C1的一端和比较器CMP的负输入端子,电容C1的另一端接地。另外,比较器CMP的正输入端子耦接至二极管D1的负极。比较器CMP的输出端可输出数字电平信号Vout,并通过电阻R3耦接至电源电压Vcc。The light receiving unit 1100 may further include a resistor R2 and a capacitor C1, and an operation comparator CMP. One end of the resistor R2 is coupled to the cathode of the diode D1, the other end is coupled to one end of the capacitor C1 and the negative input terminal of the comparator CMP, and the other end of the capacitor C1 is grounded. In addition, the positive input terminal of the comparator CMP is coupled to the negative terminal of the diode D1. The output of the comparator CMP can output a digital level signal Vout and is coupled to the power supply voltage Vcc through a resistor R3.
在没有任何光(包括信号光源和环境光)照射光电三极管Q1时,光电三极管Q1处于截止状态,没有电流通过,节点S1处电压为0。相应地,二极管D1也处于截止状态。When no light (including signal light source and ambient light) illuminates the phototransistor Q1, the phototransistor Q1 is in an off state, no current flows, and the voltage at the node S1 is zero. Accordingly, the diode D1 is also in an off state.
当有光照射光电三极管Q1时(例如,信号光源、环境光源、或者同时这两者),由于光电效应,产生通过光电三极管Q1的电流,进而导致节点S1上的电压波动。节点S1上的该电压波动即代表了源于光电转换而生成的相应电信号。When light is irradiated to the phototransistor Q1 (for example, a signal light source, an ambient light source, or both), a current passing through the phototransistor Q1 is generated due to the photoelectric effect, thereby causing voltage fluctuations at the node S1. This voltage fluctuation on node S1 represents the corresponding electrical signal generated from the photoelectric conversion.
信号光源的目标光信号是高频闪烁的。在理想情况下,即没有环境光的条件下,S1上的生成的电信号为对应于目标光信号的目标电信号,该目标电信号为一高低电平的脉冲序列。图12是示出了在无环境光的条件下光电转换单元生成的目标电信号的示意图。目标电信号的脉冲的幅值为V1。The target light signal of the signal source is high frequency flashing. In an ideal case, that is, without ambient light, the generated electrical signal on S1 is a target electrical signal corresponding to the target optical signal, and the target electrical signal is a high and low level pulse sequence. Fig. 12 is a schematic view showing a target electric signal generated by a photoelectric conversion unit in the absence of ambient light. The amplitude of the pulse of the target electrical signal is V1.
在存在环境光但是没有信号光源的情况下,受环境光的照射,节点S1上生成的电信号为对应于环境光的噪声电信号。图13是示出了在有环境光且无信号光源的条件下光电转换单元生成的噪声电信号的示意图。一般情况下,环境光可被视为是不变或变化较慢的,因此,对应的噪声电信号可近似为一直流信号,大小为V2,如图13所示。In the presence of ambient light but no signal source, the electrical signal generated at node S1 is a noisy electrical signal corresponding to ambient light when illuminated by ambient light. Fig. 13 is a schematic diagram showing a noise electric signal generated by a photoelectric conversion unit under the condition that there is ambient light and no signal light source. In general, the ambient light can be regarded as constant or slower. Therefore, the corresponding noise electrical signal can be approximated as a DC signal with a size of V2, as shown in FIG.
在有信号光源照射同时又存在环境光的条件下,节点S1上可生成包含了目标电信号和噪声电信号两者的电信号。图14是示出了在有环境光且有信号光源的条件下光电转换单元生成的电信号的示意图。如图14所示,此时的电信号是目标电信号的基础上叠加了一直流噪声电信号的脉冲信号,其脉冲的幅值为V3=V1+V2,脉冲间隔处的电平为V2。 Under the condition that there is a signal light source and ambient light, an electrical signal including both the target electrical signal and the noise electrical signal can be generated on the node S1. Fig. 14 is a schematic view showing an electric signal generated by a photoelectric conversion unit under the condition that there is ambient light and a signal light source. As shown in FIG. 14, the electric signal at this time is a pulse signal on which a DC noise electric signal is superimposed on the basis of the target electric signal, and the amplitude of the pulse is V3=V1+V2, and the level at the pulse interval is V2.
节点S1处的电压是由光电转换导致的通过电阻R1的电流(由光强决定)以及R1的阻值所决定的。光越强,电阻R1越大,则节点S1处的电压越大。一般而言,环境光的光强是小于信号光源(例如,闪光灯)的光强的。因此,在相对大小上,V1>V2。The voltage at node S1 is determined by the current through resistor R1 (determined by the light intensity) caused by the photoelectric conversion and the resistance of R1. The stronger the light, the larger the resistance R1, the larger the voltage at the node S1. In general, the intensity of ambient light is less than the intensity of a signal source (eg, a flash). Therefore, in relative size, V1 > V2.
假设,二极管D1的导通电压为VT。通过选取适当的R1阻值,可以使得在V1>VT≥V2。即,在只有环境光的条件下,直流噪声电信号不足以使二极管D1导通。D1一直处于截止状态,节点S2上的电压也一直为0。但是在只有信号光源、或者在既有信号光源又有环境光的条件下,产生的电信号(包括目标电信号和噪声电信号)可以使二极管D1按照目标电信号的脉冲序列而有规律地导通和截止,从而在节点S2上产生与目标电信号对应的目标脉冲信号。该目标脉冲信号具有与目标电信号变化一致的脉冲序列,并且脉冲幅值:Assume that the turn-on voltage of the diode D1 is V T . By selecting the appropriate R1 resistance, it is possible to make V1 > V T ≥ V2. That is, under the condition of only ambient light, the DC noise electrical signal is insufficient to turn on the diode D1. D1 is always in the off state, and the voltage on node S2 is always 0. However, in the case of only the signal source, or both the existing signal source and the ambient light, the generated electrical signals (including the target electrical signal and the noise electrical signal) can cause the diode D1 to be regularly guided according to the pulse sequence of the target electrical signal. And off, thereby generating a target pulse signal corresponding to the target electrical signal at the node S2. The target pulse signal has a pulse sequence that is consistent with the change of the target electrical signal, and the pulse amplitude:
V4=V1-VT,只有信号光源但无环境光的照射条件;以及V4=V1-V T , only the signal source but no ambient light; and
V4=V3-VT=V1+V2-VT,既有信号光源又有环境光的照射条件。V4=V3-V T =V1+V2-V T , both the signal source and the ambient light illumination conditions.
图15是示出了该目标脉冲信号的示意图。如图15所示,该目标脉冲信号具有与目标电信号变化一致的脉冲序列,区别仅在于脉冲幅值V4≤V1。Fig. 15 is a schematic diagram showing the target pulse signal. As shown in FIG. 15, the target pulse signal has a pulse sequence that coincides with the change of the target electrical signal, except that the pulse amplitude V4 ≤ V1.
此处,二极管D1起到了过滤光噪的作用,可对应于图10的噪声过滤单元1021。一些情况下,环境光也是以一定频率变化的,例如日光灯,只是与信号光源的闪烁频率相比可以忽略不计,本文中也因此将噪声电信号近似为直流信号。但是此时,产生的噪声电信号仍有可能影响最终的逻辑输出。因此,通过二极管D1过滤掉噪声电信号,极大地提高了接收精度。Here, the diode D1 functions to filter the light noise, and may correspond to the noise filter unit 1021 of FIG. In some cases, the ambient light also changes at a certain frequency, such as a fluorescent lamp, which is negligible compared to the flicker frequency of the signal source. Therefore, the noise electric signal is thus approximated as a DC signal. However, at this time, the generated noise electrical signal may still affect the final logic output. Therefore, the noise electric signal is filtered out by the diode D1, and the receiving accuracy is greatly improved.
二极管D1的负极耦接至比较器CMP的正输入端子,即将该目标脉冲信号送至比较器CMP作为其正输入。比较器CMP具有两个输入端子,为正输入端子和负输入端子。当比较器CMP的正输入大于负输入时,输出逻辑高,例如TTL电平3V,这取决于电源电压Vcc,否则输出逻辑低,例如TTL电平0V。The cathode of the diode D1 is coupled to the positive input terminal of the comparator CMP, that is, the target pulse signal is sent to the comparator CMP as its positive input. The comparator CMP has two input terminals, a positive input terminal and a negative input terminal. When the positive input of the comparator CMP is greater than the negative input, the output logic is high, such as a TTL level of 3V, depending on the supply voltage Vcc, otherwise the output logic is low, such as a TTL level of 0V.
比较器CMP的负输入端子耦接至电阻R2和电容C1的连接点S3。这里,电阻R2和C1可构成低通滤波器,以对目标脉冲信号进行滤波。对任何一个信号f(t)都可以使用傅立叶级数展开:The negative input terminal of the comparator CMP is coupled to the connection point S3 of the resistor R2 and the capacitor C1. Here, the resistors R2 and C1 may constitute a low pass filter to filter the target pulse signal. For any signal f(t) you can use Fourier series expansion:
Figure PCTCN2017075623-appb-000002
Figure PCTCN2017075623-appb-000002
故经过低通滤波器滤波后,理想情况只有直流分量通过。对于RC滤波器,其传 递函数为
Figure PCTCN2017075623-appb-000003
ω为输入信号频率,
Figure PCTCN2017075623-appb-000004
当ω=0时,|H(jω)|=1,当ω≠0时,增益0<|H(jω)|<1。实际电路中,该RC低通滤波器并未过滤掉除直流外的所有频率分量,因此,经过低通滤波,在节点S3处输出目标脉冲信号中的近似直流分量,其幅值介于0~V4之间,具体取决于R2、C1值。图16是示出了目标脉冲信号经滤波后的信号示意图。
Therefore, after filtering through the low-pass filter, ideally only the DC component passes. For RC filters, the transfer function is
Figure PCTCN2017075623-appb-000003
ω is the input signal frequency,
Figure PCTCN2017075623-appb-000004
When ω = 0, |H(jω)|=1, when ω≠0, the gain 0<|H(jω)|<1. In the actual circuit, the RC low-pass filter does not filter out all frequency components except DC. Therefore, after low-pass filtering, the approximate DC component in the target pulse signal is output at node S3, and the amplitude is between 0 and Between V4, depending on the R2 and C1 values. Figure 16 is a diagram showing the filtered signal of the target pulse signal.
节点S3处的经滤波信号被输入到比较器CMP的负输入端。比较器CMP可输出数字电平信号,该数字电平信号为逻辑电平信号,例如逻辑1为TTL高电平(诸如3V),逻辑0为TTL低电平(诸如0V)。图17是示出了比较器输出的数字电平信号的示意图。The filtered signal at node S3 is input to the negative input of comparator CMP. The comparator CMP can output a digital level signal that is a logic level signal, such as a logic 1 being a TTL high level (such as 3V) and a logic 0 being a TTL low level (such as 0V). Figure 17 is a diagram showing a digital level signal output by a comparator.
这里的比较器CMP可对应于图10的比较单元1022。R2和C1构成的低通滤波器为比较器CMP提高了供比较之用的参考电压,因此可被视为参考电压生成单元。The comparator CMP herein may correspond to the comparison unit 1022 of FIG. The low pass filter composed of R2 and C1 improves the reference voltage for comparison by the comparator CMP, and thus can be regarded as a reference voltage generating unit.
图18是示出了根据本发明的第二实施例的光接收单元1800的各组件的电路结构图。类似于图11,光接收单元1800可包括光电三极管Q1,以将光信号转换为电信号。作为替换,也可使用光电二极管等其他光敏器件作为光电转换单元。FIG. 18 is a circuit configuration diagram showing components of the light receiving unit 1800 according to the second embodiment of the present invention. Similar to FIG. 11, the light receiving unit 1800 may include a phototransistor Q1 to convert an optical signal into an electrical signal. Alternatively, other photosensitive devices such as photodiodes may be used as the photoelectric conversion unit.
光接收单元1800还可包括电容C1和电阻R1。光电三极管Q1的集电极耦接至电源电压Vcc(例如,5V),光电三极管Q1的发射极耦接至电阻R1的一端以及电容C1的一端,电阻R1的另一端接地。The light receiving unit 1800 may further include a capacitor C1 and a resistor R1. The collector of the phototransistor Q1 is coupled to a power supply voltage Vcc (for example, 5V). The emitter of the phototransistor Q1 is coupled to one end of the resistor R1 and one end of the capacitor C1, and the other end of the resistor R1 is grounded.
光接收单元1800还可包括分压电阻和三极管Q2。电容C1的另一端耦接至分压电阻中间节点。该分压电阻包括电阻R2和R3。R2和R3的中间节点还被耦接至三极管Q2的基极。R2和R3的另一端分别耦接至电源电压Vcc和接地。三极管Q2的发射极接地,而其集电极通过电阻R4耦接至电源电压,该集电极还用于输出数字电平信号Vout。The light receiving unit 1800 may further include a voltage dividing resistor and a transistor Q2. The other end of the capacitor C1 is coupled to the intermediate node of the voltage dividing resistor. The voltage dividing resistor includes resistors R2 and R3. The intermediate nodes of R2 and R3 are also coupled to the base of transistor Q2. The other ends of R2 and R3 are respectively coupled to a power supply voltage Vcc and a ground. The emitter of transistor Q2 is grounded, and its collector is coupled to the supply voltage through resistor R4, which is also used to output a digital level signal Vout.
类似于上文参考图11描述的,在没有任何光(包括信号光源和环境光)照射光电三极管Q1时,光电三极管Q1处于截止状态,没有电流通过,节点S1处电压为0。Similar to that described above with reference to FIG. 11, when any light (including signal light source and ambient light) is irradiated to the phototransistor Q1, the phototransistor Q1 is in an off state, no current is passed, and the voltage at the node S1 is zero.
当有光照射光电三极管Q1时(例如,信号光源、环境光源、或者同时这两者),由于光电效应,产生通过光电三极管Q1的电流,进而导致节点S1上的电压波动。节点S1上的该电压波动即代表了源于光电转换而生成的相应电信号。When light is irradiated to the phototransistor Q1 (for example, a signal light source, an ambient light source, or both), a current passing through the phototransistor Q1 is generated due to the photoelectric effect, thereby causing voltage fluctuations at the node S1. This voltage fluctuation on node S1 represents the corresponding electrical signal generated from the photoelectric conversion.
分压电阻R2、R3的阻值决定了节点S4处的基础电压
Figure PCTCN2017075623-appb-000005
容易理解,在没有光照射光电三极管Q1时,该基础电压即为三极管Q2的偏置电压。
The resistance of the voltage dividing resistors R2 and R3 determines the base voltage at node S4.
Figure PCTCN2017075623-appb-000005
It is easy to understand that the base voltage is the bias voltage of the transistor Q2 when there is no light to illuminate the phototransistor Q1.
信号光源的目标光信号是高频闪烁的。在理想情况下,即没有环境光的条件下,S1上生成的电信号为对应于目标光信号的目标电信号,该目标电信号为一高低电平的脉冲序列。The target light signal of the signal source is high frequency flashing. In an ideal case, that is, without ambient light, the electrical signal generated on S1 is a target electrical signal corresponding to the target optical signal, and the target electrical signal is a high and low level pulse sequence.
在存在环境光但是没有信号光源的情况下,受环境光的照射,节点S1上生成的电信号为对应于环境光的噪声电信号。一般情况下,环境光可被视为是不变或变化较慢的,因此,对应的噪声电信号可近似为一直流信号。In the presence of ambient light but no signal source, the electrical signal generated at node S1 is a noisy electrical signal corresponding to ambient light when illuminated by ambient light. In general, ambient light can be considered to be constant or change slowly, so the corresponding noise electrical signal can be approximated as a direct current signal.
在有信号光源照射同时又存在环境光的条件下,节点S1上可生成包含了目标电信号和噪声电信号两者的电信号。此时的电信号是目标电信号的基础上叠加了一直流噪声电信号的脉冲信号。Under the condition that there is a signal light source and ambient light, an electrical signal including both the target electrical signal and the noise electrical signal can be generated on the node S1. The electrical signal at this time is a pulse signal on which a DC noise electrical signal is superimposed on the basis of the target electrical signal.
电容C1起到通交流、隔直流的作用。即,电信号中的直流分量无法到达节点S4处。如上所述,噪声电信号是直流信号、或近似直流信号。由此,电容C1可以有效地过滤掉噪声电信号。所以,C1起到过滤噪声电信号的作用,对应于图10的噪声过滤单元1021。到达节点S4的目标脉冲信号则近似于目标电信号,例如具有与目标电信号变化一致的脉冲序列。Capacitor C1 acts as an AC and DC. That is, the DC component in the electrical signal cannot reach node S4. As mentioned above, the noisy electrical signal is a direct current signal, or an approximately direct current signal. Thus, the capacitor C1 can effectively filter out the noise electrical signal. Therefore, C1 functions to filter the noise electric signal, corresponding to the noise filtering unit 1021 of FIG. The target pulse signal arriving at node S4 then approximates the target electrical signal, for example having a pulse sequence that is consistent with the change in the target electrical signal.
通过设置分压电阻,可使基础电压V设为小于Q2的导通电压,而在叠加了目标脉冲信号的电压后大于Q2的导通电压。由此,三极管Q2可按照目标电信号的脉冲序列而有规律地导通和截止。通过三极管Q2的导通和截止,可在集电极输出相应的数字电平信号Vout。By setting the voltage dividing resistor, the base voltage V base can be set to be lower than the turn-on voltage of Q2, and after the voltage of the target pulse signal is superimposed, it is larger than the turn-on voltage of Q2. Thus, the transistor Q2 can be turned on and off regularly in accordance with the pulse sequence of the target electrical signal. By turning on and off the transistor Q2, a corresponding digital level signal Vout can be output at the collector.
在本实施例中,三极管Q2通过节点S4处的电压与自身导通电压的比较来输出数字电平信号,可对应于图10的比较单元1022。由于参考电压是三极管Q2自身的导通电压,因此,比较单元222可被视为自身即包含了参考电压生成单元,或者参考电压生成单元是比较单元的一部分。In the present embodiment, the transistor Q2 outputs a digital level signal by comparing the voltage at the node S4 with its own turn-on voltage, which may correspond to the comparing unit 1022 of FIG. Since the reference voltage is the turn-on voltage of the transistor Q2 itself, the comparison unit 222 can be regarded as itself including the reference voltage generating unit, or the reference voltage generating unit is a part of the comparing unit.
图19是示出了根据本发明的第三实施例的光接收单元1900的各组件的框图。类似于图18,光接收单元1900可包括光电三极管Q1,以将光信号转换为电信号。作为替换,也可使用光电二极管等其他光敏器件作为光电转换单元。FIG. 19 is a block diagram showing components of the light receiving unit 1900 according to the third embodiment of the present invention. Similar to FIG. 18, the light receiving unit 1900 may include a phototransistor Q1 to convert an optical signal into an electrical signal. Alternatively, other photosensitive devices such as photodiodes may be used as the photoelectric conversion unit.
光接收单元1900还可包括电容C1和电阻R1。光电三极管Q1的集电极耦接至电源电压Vcc(例如,5V),光电三极管Q1的发射极耦接至电阻R1的一端以及电容C1的一端,电阻R1的另一端接地。The light receiving unit 1900 may further include a capacitor C1 and a resistor R1. The collector of the phototransistor Q1 is coupled to a power supply voltage Vcc (for example, 5V). The emitter of the phototransistor Q1 is coupled to one end of the resistor R1 and one end of the capacitor C1, and the other end of the resistor R1 is grounded.
光接收单元1900还可包括第一分压电阻和比较器CMP。电容C1的另一端耦接至分压电阻中间节点。该第一分压电阻包括电阻R2和R3。R2和R3的该中间节点还被耦接至比较器CMP的正输入端子。R2和R3的另一端分别耦接至电源电压Vcc 和接地。The light receiving unit 1900 may further include a first voltage dividing resistor and a comparator CMP. The other end of the capacitor C1 is coupled to the intermediate node of the voltage dividing resistor. The first voltage dividing resistor includes resistors R2 and R3. The intermediate node of R2 and R3 is also coupled to the positive input terminal of the comparator CMP. The other ends of R2 and R3 are respectively coupled to the power supply voltage Vcc. And grounding.
光接收单元1900还可包括第二分压电阻,第二分压电阻包括电阻R4和R5。比较器CMP的负输入端子可耦接至第二分压电阻的中间节点,即R4与R5的连接点,R4和R5的另一端分别耦接至电源电压Vcc和接地。The light receiving unit 1900 may further include a second voltage dividing resistor including resistors R4 and R5. The negative input terminal of the comparator CMP can be coupled to the intermediate node of the second voltage dividing resistor, that is, the connection point of R4 and R5, and the other ends of R4 and R5 are respectively coupled to the power supply voltage Vcc and the ground.
图19与图18的电路从左侧起直至节点S4都是一样的,即在节点S4上可生成目标脉冲信号。区别在于图19中使用比较器CMP作为比较单元来执行比较和输出。即,目标脉冲信号被输入至比较器CMP的正输入端子。比较器CMP的负输入端子被耦接至第二分压电阻的中间节点以接收供比较之用的参考电压。在此意义上,第二分压电阻可被视为参考电压生成单元。The circuits of Figures 19 and 18 are the same from the left until node S4, i.e., a target pulse signal can be generated at node S4. The difference is that the comparison and output are performed using the comparator CMP as a comparison unit in FIG. That is, the target pulse signal is input to the positive input terminal of the comparator CMP. The negative input terminal of the comparator CMP is coupled to an intermediate node of the second voltage dividing resistor to receive a reference voltage for comparison. In this sense, the second voltage dividing resistor can be regarded as a reference voltage generating unit.
容易理解,输入至比较器CMP的负输入端子的该参考电压可介于目标脉冲信号的脉冲序列的峰值和谷值之间。由此,CMP可输出反映信号光源发射的目标光信号的数字逻辑的逻辑电平信号。It will be readily appreciated that the reference voltage input to the negative input terminal of the comparator CMP can be between the peak and valley of the pulse sequence of the target pulse signal. Thus, the CMP can output a logic level signal that reflects the digital logic of the target optical signal emitted by the signal source.
尽管出于说明的目的描述了特定的实施例,但是容易理解,本发明的各方面并不限于这些特定实施例。参照特定实施例描述的一些组件可能不是必需的、可能有替换组件、或者还可能有额外的组件。例如,参照图11描述的第一实施例中的比较器可用三极管或其他比较手段来实现。Although a particular embodiment has been described for purposes of illustration, it is readily understood that aspects of the invention are not limited to the specific embodiments. Some of the components described with reference to a particular embodiment may not be required, may have replacement components, or may have additional components. For example, the comparator in the first embodiment described with reference to FIG. 11 can be implemented with a triode or other comparison means.
本领域的技术人员将理解,结合此处公开的实施例描述的各种说明性逻辑块、模块、电路和算法可被实现为电子硬件、存储在存储器中或另一计算机可读介质中并由处理器或其它处理器设备执行的指令、或其组合。此处公开的存储器可以是任何类型和大小的存储器,且可被配置成存储所需的任何类型的信息。为清楚地说明这一可互换性,以上已经以其功能的形式一般地描述了各种说明性组件、框、模块、电路、和步骤。此类功能如何被实现取决于施加在整体系统上的具体应用、设计选择和/或设计约束。技术人员可针对每一具体应用以不同方式来实现所描述的功能,但此类实现决策不应被解读为致使脱离本公开的范围。Those skilled in the art will appreciate that the various illustrative logical blocks, modules, circuits, and algorithms described in connection with the embodiments disclosed herein can be implemented as electronic hardware, stored in a memory, or in another computer readable medium and An instruction executed by a processor or other processor device, or a combination thereof. The memory disclosed herein can be any type and size of memory and can be configured to store any type of information as desired. To clearly illustrate this interchangeability, various illustrative components, blocks, modules, circuits, and steps have been described above in the form of their function. How such functions are implemented depends on the specific application, design choices, and/or design constraints imposed on the overall system. A person skilled in the art can implement the described functions in different ways for each specific application, but such implementation decisions should not be interpreted as causing the scope of the disclosure.
结合本文所公开的实施例描述的各种说明性逻辑块、模块、和电路可用设计成执行本文所描述的功能的处理器、DSP、专用集成电路(ASIC)、FPGA或其它可编程逻辑器件、分立门或晶体管逻辑、分立硬件组件、或其任何组合来实现或执行。处理器可以是微处理器,但在替代方案中,处理器可以是任何常规处理器、控制器、微控制器、或状态机。处理器还可以被实现为计算设备的组合,例如DSP与微处理器的组合、多个微处理器、与DSP核协同的一个或多个微处理器或任何其它此类配置。The various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be a processor, DSP, application specific integrated circuit (ASIC), FPGA, or other programmable logic device, designed to perform the functions described herein, Discrete or transistor logic, discrete hardware components, or any combination thereof, are implemented or executed. The processor can be a microprocessor, but in the alternative, the processor can be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
此处公开的各实施例可被实现为硬件和被存储在硬件中的指令,这些指令可例 如驻留在随机存取存储器(RAM)、闪存、只读存储器(ROM)、电可编程ROM(EPROM)、电可擦可编程ROM(EEPROM)、寄存器、硬盘、可移动盘、CD-ROM、或本领域中所知的任何其它形式的存储介质中。示例性存储介质被耦合到处理器,以使得处理器能从/向该存储介质读取/写入信息。替换地,存储介质可以被整合到处理器。处理器和存储介质可驻留在ASIC中。Embodiments disclosed herein may be implemented as hardware and instructions stored in hardware, examples of which may be Such as resident in random access memory (RAM), flash memory, read only memory (ROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disk, removable disk, CD-ROM Or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor to enable the processor to read/write information from/to the storage medium. Alternatively, the storage medium can be integrated into the processor. The processor and the storage medium can reside in an ASIC.
还注意到,在此处的任何示例性实施例中描述的操作步骤被描述以提供示例和讨论。所描述的操作可在除了所示顺序以外的各种不同顺序中执行。而且,在单个操作步骤中描述的操作实际上可在多个不同步骤中执行。另外,在示例性实施例中讨论的一个或多个操作步骤可被组合。可以理解,如对本领域的技术人员显而易见地,在流程图中图示的操作步骤可进行各种不同的修改。本领域技术人员还将理解,可使用各种不同技术中的任何一种来表示信息和信号。例如,贯穿以上描述被述及的数据、指令、命令、信息、信号、位、码元、和芯片可由电压、电流、电磁波、磁场或磁粒子、光场或光粒子、或其任何组合来表示。It is also noted that the operational steps described in any of the exemplary embodiments herein are described to provide examples and discussion. The described operations may be performed in a variety of different sequences than those shown. Moreover, the operations described in a single operational step can be performed in a number of different steps. Additionally, one or more of the operational steps discussed in the exemplary embodiments can be combined. It will be appreciated that various modifications may be made to the operational steps illustrated in the flowcharts, as apparent to those skilled in the art. Those skilled in the art will also appreciate that information and signals may be represented using any of a variety of different techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips referred to throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or magnetic particles, light or light particles, or any combination thereof. .
提供对本公开的先前描述是为使得本领域任何技术人员皆能够制作或使用本公开。对本公开的各种修改对本领域技术人员来说都将是显而易见的,且本文中所定义的普适原理可被应用到其他变体而不会脱离本公开的精神或范围。由此,本公开并非旨在被限定于本文中所描述的示例和设计,而是应被授予与本文中所公开的原理和新颖性特征相一致的最广范围。 The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the present disclosure will be obvious to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. The present disclosure is not intended to be limited to the examples and designs described herein, but rather the broadest scope of the principles and novel features disclosed herein.

Claims (16)

  1. 一种光芯片,包括:An optical chip comprising:
    光电转换单元,所述光电转换单元用于接收光信号并通过光电转换产生电信号;a photoelectric conversion unit for receiving an optical signal and generating an electrical signal by photoelectric conversion;
    光噪去除单元,所述光噪去除单元耦接至所述光电转换单元,用于去除所述电信号中的光噪声以输出数字电平信号;以及a photo noise removing unit coupled to the photoelectric conversion unit for removing optical noise in the electrical signal to output a digital level signal;
    解码单元,所述解码单元耦接至所述光噪去除单元,用于执行以下步骤以解码所述数字电平信号:a decoding unit coupled to the optical noise removing unit for performing the following steps to decode the digital level signal:
    当检测到电平跳变时,判断为一电信号单元的开始,开始计时;When a level jump is detected, it is determined to be the start of an electrical signal unit, and timing is started;
    当检测到的电平持续时间大于第一阈值且小于或等于第二阈值时,记录电平跳变的次数;Recording the number of times the level jumps when the detected level duration is greater than the first threshold and less than or equal to the second threshold;
    当检测到的电平持续时间大于该第二阈值且小于或等于第三阈值时,判断该电信号单元结束;Determining that the electrical signal unit ends when the detected level duration is greater than the second threshold and less than or equal to the third threshold;
    当检测到的电平持续时间大于该第三阈值时,判断信号接收完毕;When the detected level duration is greater than the third threshold, the determination signal is received;
    将接收到的各电信号单元转换为数据单元;以及Converting each received electrical signal unit into a data unit;
    将多个数据单元组合成数据。Combine multiple data units into data.
  2. 如权利要求1所述的光芯片,其特征在于,所述电平的跳变为低电平到高电平的跳变或/和为高电平到低电平的跳变。The optical chip according to claim 1, wherein the jump of the level changes to a low level to a high level transition or/and a high level to a low level transition.
  3. 如权利要求1所述的光芯片,其特征在于,所述解码单元进一步用于执行以下步骤来将接收到的各电信号单元转换为数据单元:The optical chip according to claim 1, wherein the decoding unit is further configured to perform the following steps to convert the received electrical signal units into data units:
    根据预先设置的对应表确定所述记录电信号单元中的电平跳变的次数对应的数据单元。A data unit corresponding to the number of times of level jump in the recorded electrical signal unit is determined according to a correspondence table set in advance.
  4. 如权利要求1所述的光芯片,其特征在于,所述第一阈值等于期望的第一电平持续时间减去预先获得的光发射单元的闪烁延迟值。The optical chip according to claim 1, wherein said first threshold is equal to a desired first level duration minus a previously obtained flicker delay value of the light emitting unit.
  5. 如权利要求1所述的光芯片,其特征在于,所述第二阈值等于期望的第二电 平持续时间减去预先获得的光发射单元的闪烁延迟值。The optical chip of claim 1 wherein said second threshold is equal to a desired second power The flat duration is subtracted from the flicker delay value of the previously obtained light emitting unit.
  6. 如权利要求1所述的光芯片,其特征在于,所述光噪去除单元包括:The optical chip according to claim 1, wherein the photo noise removing unit comprises:
    噪声过滤单元,所述噪声过滤单元的输入端接收来自所述光电转换单元的电信号,所述噪声过滤单元用于过滤掉所述电信号中由于环境光而生成的噪声电信号并在输出端输出目标脉冲信号;以及a noise filtering unit, the input end of the noise filtering unit receives an electrical signal from the photoelectric conversion unit, and the noise filtering unit is configured to filter out a noise electrical signal generated by the ambient light in the electrical signal and at the output end Output target pulse signal;
    比较单元,所述比较单元的第一输入端耦接至所述噪声过滤单元的输出端以接收所述目标脉冲信号,所述比较单元用于根据所述目标脉冲信号与参考电压之间的比较来输出所述数字电平信号。a comparison unit, a first input end of the comparison unit is coupled to an output end of the noise filter unit to receive the target pulse signal, and the comparison unit is configured to compare the reference pulse signal with a reference voltage To output the digital level signal.
  7. 如权利要求6所述的光芯片,其特征在于,所述噪声过滤单元包括:The optical chip according to claim 6, wherein the noise filtering unit comprises:
    二极管,所述二极管的正极耦接至所述光电转换单元、以及所述二极管的负极耦接至所述比较单元的所述第一输入端。a diode, an anode of the diode is coupled to the photoelectric conversion unit, and a cathode of the diode is coupled to the first input end of the comparison unit.
  8. 如权利要求7所述的光芯片,其特征在于,所述光噪去除单元还包括:The optical chip according to claim 7, wherein the light noise removing unit further comprises:
    箝位电阻,所述箝位电阻与所述光电转换单元串联,所述箝位电阻的第一端耦接至所述光电转换单元的一端和所述二极管的正极,所述箝位电阻的第二端接地,以及所述光电转换单元的另一端接电源电压,所述箝位电阻将所述二极管的正极上的电压箝位至在无信号光源照射情况下小于所述二极管的导通电压、而在有信号光源照射的情况下大于所述二极管的导通电压的一电压水平。a clamp resistor, the clamp resistor is connected in series with the photoelectric conversion unit, a first end of the clamp resistor is coupled to one end of the photoelectric conversion unit and a positive pole of the diode, and the clamp resistor is The two ends are grounded, and the other end of the photoelectric conversion unit is connected to a power supply voltage, and the clamp resistor clamps a voltage on a positive pole of the diode to be smaller than a turn-on voltage of the diode when the signal source is not illuminated, In the case of illumination with a signal source, it is greater than a voltage level of the on-voltage of the diode.
  9. 如权利要求7所述的光芯片,其特征在于,所述光噪去除单元还包括:The optical chip according to claim 7, wherein the light noise removing unit further comprises:
    参考电压生成单元,所述参考电压生成单元包括电阻和电容以构成低通滤波器,所述电阻的一端耦接至所述二极管的负极、另一端耦接至所述电容的一端和所述比较单元的第二输入端以提供所述参考电压,以及所述电容的另一端接地。a reference voltage generating unit, the reference voltage generating unit includes a resistor and a capacitor to form a low pass filter, one end of the resistor is coupled to a cathode of the diode, the other end is coupled to one end of the capacitor, and the comparison A second input of the unit provides the reference voltage and the other end of the capacitor is grounded.
  10. 如权利要求6所述的光芯片,其特征在于,所述噪声过滤单元包括:The optical chip according to claim 6, wherein the noise filtering unit comprises:
    耦合电容,所述耦合电容的第一端耦接至所述光电转换单元、以及第二端耦接至所述比较单元的所述第一输入端。 a coupling capacitor, a first end of the coupling capacitor coupled to the photoelectric conversion unit, and a second end coupled to the first input end of the comparison unit.
  11. 如权利要求10所述的光芯片,其特征在于,所述光噪去除单元还包括:The optical chip according to claim 10, wherein the light noise removing unit further comprises:
    第一分压电阻,所述第一分压电阻的第一节点耦接至电源电压、第二节点接地、以及中间节点耦接至所述耦合电容的所述第二端和所述比较单元的所述第一输入端,所述中间节点处的电压在无所述信号光源照射情况下小于所述参考电压、而在有所述信号光源照射的情况下大于所述参考电压。a first voltage dividing resistor, the first node of the first voltage dividing resistor is coupled to the power voltage, the second node is grounded, and the intermediate node is coupled to the second end of the coupling capacitor and the comparing unit The first input end, the voltage at the intermediate node is smaller than the reference voltage without the signal source illumination, and greater than the reference voltage when the signal source is illuminated.
  12. 如权利要求6所述的光芯片,其特征在于,所述比较单元包括:The optical chip according to claim 6, wherein the comparing unit comprises:
    比较器,所述比较器的正输入端子是所述比较单元的所述第一输入端、以及负输入端子接收所述参考电压。a comparator, a positive input terminal of the comparator being the first input of the comparison unit, and a negative input terminal receiving the reference voltage.
  13. 如权利要求12所述的光芯片,其特征在于,所述光噪去除单元还包括:The optical chip according to claim 12, wherein the light noise removing unit further comprises:
    参考电压生成单元,所述参考电压生成单元耦接至所述比较器的所述负输入端子以提供所述参考电压。a reference voltage generating unit coupled to the negative input terminal of the comparator to provide the reference voltage.
  14. 如权利要求13所述的光芯片,其特征在于,所述参考电压生成单元包括:The optical chip according to claim 13, wherein the reference voltage generating unit comprises:
    第二分压电阻,所述第二分压电阻的第一节点耦接至电源电压、第二节点接地、以及中间节点耦接至所述比较器的所述负输入端子以提供所述参考电压。a second voltage dividing resistor, a first node of the second voltage dividing resistor coupled to the power voltage, a second node ground, and an intermediate node coupled to the negative input terminal of the comparator to provide the reference voltage .
  15. 如权利要求6所述的光芯片,其特征在于,所述比较单元包括:The optical chip according to claim 6, wherein the comparing unit comprises:
    三极管,所述三极管的基极是所述比较单元的所述第一输入端从而耦接至所述噪声过滤单元的输出端,所述三极管的发射极接地、以及集电极通过电阻耦接至电源电压,所述集电极用于输出所述数字电平信号,其中所述参考电压为所述三极管的导通电压。a transistor, the base of the transistor is the first input end of the comparison unit and coupled to an output end of the noise filter unit, the emitter of the transistor is grounded, and the collector is coupled to the power source through a resistor a voltage, the collector is for outputting the digital level signal, wherein the reference voltage is a turn-on voltage of the transistor.
  16. 一种鉴权装置,其特征在于,包括如权利要求1-15所述的光芯片。 An authentication device comprising the optical chip of claims 1-15.
PCT/CN2017/075623 2016-03-08 2017-03-03 Optical chip for optical communications, and authentication device WO2017152812A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610130841.3A CN107171737B (en) 2016-03-08 2016-03-08 Optical chip for optical communication and authentication device
CN201610130841.3 2016-03-08

Publications (1)

Publication Number Publication Date
WO2017152812A1 true WO2017152812A1 (en) 2017-09-14

Family

ID=59788961

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/075623 WO2017152812A1 (en) 2016-03-08 2017-03-03 Optical chip for optical communications, and authentication device

Country Status (2)

Country Link
CN (1) CN107171737B (en)
WO (1) WO2017152812A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110193114A (en) * 2019-06-28 2019-09-03 广州市便携医疗科技有限公司 A kind of energy-saving driving system and method for infusion pump
WO2020019772A1 (en) * 2018-07-24 2020-01-30 京东方科技集团股份有限公司 Visible light communication apparatus, lock device, and visible light communication method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224715A (en) * 2019-06-11 2019-09-10 长沙韶光半导体有限公司 Digital isolator based on miniature transformer
CN110278034A (en) * 2019-08-07 2019-09-24 青岛海信宽带多媒体技术有限公司 A kind of optical module and light-receiving control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694597A (en) * 2012-04-28 2012-09-26 深圳光启创新技术有限公司 Decoding method and controlling method of visible light signal
CN103795465A (en) * 2013-07-31 2014-05-14 深圳光启创新技术有限公司 Multi-stage amplitude modulation visible optical signal coding method and apparatus and decoding method and apparatus, and system
CN103812557A (en) * 2013-07-31 2014-05-21 深圳光启创新技术有限公司 Visible light signal encoding and decoding method, device and system
CN104980217A (en) * 2015-06-19 2015-10-14 邹骁 Visible light communication system and method, and associated device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088317A (en) * 2011-01-18 2011-06-08 北京邮电大学 High speed optical transmission system and method based on TCM-64QAM code modulation
US20140153083A1 (en) * 2012-11-30 2014-06-05 Massachusetts Institute Of Technology Rin reduced optical source for optical coherence tomography
CN103746742A (en) * 2014-01-24 2014-04-23 陈思源 Lightwave signal processing method and device
CN105094303B (en) * 2014-05-19 2018-06-29 深圳Tcl新技术有限公司 The method and apparatus that display equipment automatically wakes up
CN104367309B (en) * 2014-11-03 2016-09-14 深圳市莱通光学科技有限公司 A kind of reflective wrist cardiotachometer and reflective wrist method for measuring heart rate
CN105227245B (en) * 2015-08-20 2017-10-10 广东顺德中山大学卡内基梅隆大学国际联合研究院 A kind of reception device of the visible light communication system based on white light LEDs
CN105262539A (en) * 2015-10-28 2016-01-20 汕头大学 Gain automatic adjustment type orthogonal frequency division multiplexing visible light communication device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694597A (en) * 2012-04-28 2012-09-26 深圳光启创新技术有限公司 Decoding method and controlling method of visible light signal
CN103795465A (en) * 2013-07-31 2014-05-14 深圳光启创新技术有限公司 Multi-stage amplitude modulation visible optical signal coding method and apparatus and decoding method and apparatus, and system
CN103812557A (en) * 2013-07-31 2014-05-21 深圳光启创新技术有限公司 Visible light signal encoding and decoding method, device and system
CN104980217A (en) * 2015-06-19 2015-10-14 邹骁 Visible light communication system and method, and associated device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020019772A1 (en) * 2018-07-24 2020-01-30 京东方科技集团股份有限公司 Visible light communication apparatus, lock device, and visible light communication method
US11095366B2 (en) 2018-07-24 2021-08-17 Boe Technology Group Co., Ltd. Visible light communication apparatus, lock device, and visible light communication method
CN110193114A (en) * 2019-06-28 2019-09-03 广州市便携医疗科技有限公司 A kind of energy-saving driving system and method for infusion pump
CN110193114B (en) * 2019-06-28 2023-12-22 广州市便携医疗科技有限公司 Energy-saving driving system and method for infusion pump

Also Published As

Publication number Publication date
CN107171737B (en) 2020-03-06
CN107171737A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
WO2017152812A1 (en) Optical chip for optical communications, and authentication device
WO2015014160A1 (en) Multi-stage amplitude modulation-based methods, apparatuses and systems for coding and decoding visible light signal
JP6058636B2 (en) Lighting device and receiver
WO2015014238A1 (en) Method, apparatus, and system for encoding and decoding visible light signal
Pradana et al. VLC physical layer design based on pulse position modulation (PPM) for stable illumination
US9628264B2 (en) Host communication circuit, client communication circuit, communication system and communication method
WO2015121135A1 (en) Signaling using idle period for coded light
EP3029859B1 (en) Error retransmission mechanism-comprised methods, apparatuses and systems for transmitting and receiving visible light signal
CN205407826U (en) Light is made an uproar and is got rid of circuit and optical receiver
CN107171734B (en) Optical chip for optical communication
WO2017152811A1 (en) Optical noise removal circuit, optical receiver, and optical chip
CN105471513A (en) Wireless signal self-adaptive receiving method, device and system
CN113811039B (en) Light modulation circuit
JP7450825B2 (en) Accelerated keying for optical communication systems
Pant et al. Analog/Digital Data Transmission using Li-Fi
WO2017191010A1 (en) Two-way communication using leds
Raquibuzzaman et al. Simple, low cost micro-controller based data communication system using ambient light sensor for VLC
JP4736886B2 (en) Illumination light transmission system
WO2016034038A1 (en) Encoding and decoding method, mobile terminal, and system for enhancing speed of visible optical signal transmission
JP2009004841A (en) Modulating method, modulating circuit, demodulating method, and demodulating circuit

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17762498

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17762498

Country of ref document: EP

Kind code of ref document: A1