Transmitting circuit, receiving circuit and control method of LED (Light Emitting Diode) in multipoint correlation grating

The multi-point beam grating system addresses timing synchronization issues by using independent clock signal adjustment and adaptive signal amplification, enhancing performance and reliability in high-speed scanning applications.

CN119070798APending Publication Date: 2024-12-03WUHAN GUANGJIRONG MICRO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411054819.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Existing multi-point beam grating systems face timing synchronization issues due to all clock signals being connected together, leading to signal synchronization loss during high-speed scanning, especially when the microcontroller's driving capacity is limited.

Method used

The system includes at least two transmitting and receiving modules with clock buffers and triggers that buffer and sample data signals independently, allowing for flexible adjustment of clock signals to meet setup and hold times, and incorporates adjustable gain transimpedance amplifiers with off-chip resistors for varying ambient light conditions.

Benefits of technology

This design enhances signal synchronization and performance by ensuring correct data sampling and signal amplification, reducing synchronization misalignment and improving reliability and accuracy under varying light conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070798A_ABST
    Figure CN119070798A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of integrated circuits, in particular to a transmitting circuit, a receiving circuit and a control method of an LED in a multipoint correlation grating, clock buffers are additionally arranged in the transmitting circuit and the receiving circuit, the building time and the holding time of data flow and clock flow can be met, and the reliability of the system is improved. Each clock signal can be independently adjusted, the problem that signal synchronization detuning easily occurs during high-speed scanning of the system is solved, and the overall performance of the system is improved. Meanwhile, for the receiving circuit, the transimpedance amplifier with low power consumption is combined with an off-chip resistor to realize adjustable gain, when the ambient light intensity changes greatly, the transimpedance amplifier with adjustable gain can ensure stable receiving of signals, and the precision and reliability of the system are improved while the power consumption of the system is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuits, and in particular to a transmitting circuit, a receiving circuit and a control method of an LED in a multi-point beam grating. Background Art

[0002] Multi-point beam grating technology is widely used in industrial automation, security protection, intelligent transportation, medical equipment, robotics, smart home and sports entertainment. It is used in production line detection, automatic door and anti-theft system, vehicle detection and traffic management. In multi-point beam grating technology, the transmitting circuit and receiving circuit of the light emitting diode (LED) are the core components.

[0003] In an existing solution, all clock signals are usually connected together. This design method will cause timing problems when increasing the scanning speed, especially when the driving capacity of the microcontroller is limited. Since each clock signal cannot be adjusted independently, the system is prone to signal synchronization loss during high-speed scanning, thus affecting the overall performance.

[0004] In view of this, overcoming the defects of the prior art is an urgent problem to be solved in the field of this technology. Summary of the invention

[0005] The technical problem to be solved by the present invention is how to solve the timing synchronization problem in the LED transmitting circuit and the receiving circuit in the multi-point beam grating.

[0006] The present invention adopts the following technical solution:

[0007] In a first aspect, a transmitting circuit of an LED in a multi-point beam grating is provided, wherein the transmitting circuit comprises at least two transmitting modules, wherein the transmitting module comprises a first trigger and a first clock buffer; an output end of the first trigger of the upper-stage transmitting module is connected to a data input end of the first trigger of the lower-stage transmitting module, and an output end of the first clock buffer of the lower-stage transmitting module is respectively connected to a clock port of the first trigger of the upper-stage transmitting module and an input end of the first clock buffer;

[0008] The input end of the first trigger of the first stage transmitting module is used to receive the first data signal, and the clock port of the first trigger of the last stage transmitting module and the input end of the first clock buffer are used to receive the first clock signal;

[0009] The first clock buffer is used to buffer the received first clock signal and use the buffered clock signal as the first clock signal of the previous-stage transmitting module;

[0010] The first trigger is used to sample the first data signal according to the first clock signal, and use the sampled signal as the first data signal of the next-stage transmitting module, and is also used to control the operation of the transmitting diode according to the sampled signal and an external enable signal.

[0011] Preferably, the transmitting module further includes an AND logic gate and a first MOS tube; the output end of the first trigger is connected to the first input end of the AND logic gate, and the second input end of the AND logic gate is used to receive the external enable signal;

[0012] The output end of the AND logic gate is connected to the gate of the first MOS transistor, the source of the first MOS transistor is connected to the cathode of the emitting diode, the anode of the emitting diode is connected to a positive voltage, and the drain of the first MOS transistor is grounded;

[0013] When the sampled signal and the external enable signal are both at a high level, the AND logic gate outputs a high level to turn on the first MOS tube to drive the emitting diode to emit light.

[0014] Preferably, the transmitting module also includes a driving resistor, one end of the driving resistor is connected to the second input end of the AND logic gate, and the other end of the driving resistor is grounded; the driving resistor is used to ensure that the first MOS tube is in a closed state initially.

[0015] In a second aspect, a receiving circuit of an LED in a multi-point beam grating is provided, wherein the receiving circuit comprises at least two receiving modules, and the receiving module comprises a second trigger, a second clock buffer, a transimpedance amplifier and a transmission gate switch;

[0016] The output end of the second trigger of the upper-stage receiving module is connected to the data input end of the second trigger of the lower-stage receiving module, and the output end of the second clock buffer of the lower-stage receiving module is respectively connected to the clock port of the second trigger of the upper-stage receiving module and the input end of the second clock buffer;

[0017] The input end of the second trigger of the first-stage receiving module is used to receive the second data signal, and the clock port of the second trigger of the last-stage receiving module and the input end of the second clock buffer are used to receive the second clock signal;

[0018] The second clock buffer is used to buffer the received second clock signal and use the buffered clock signal as the second clock signal of the previous-stage receiving module;

[0019] The second trigger is used to sample the second data signal according to the second clock signal, and use the sampled signal as the second data signal of the next-stage receiving module;

[0020] The input end of the transimpedance amplifier is connected to the output end of the receiving diode, the output end of the transimpedance amplifier is connected to the input end of the transmission gate switch, the output end of the second trigger is connected to the control end of the transmission gate switch, and the output end of the transmission gate switch is connected to an external control module for transmitting the electrical signal generated by the receiving diode to the external control module.

[0021] Preferably, an off-chip resistor is further included, one end of the off-chip resistor is connected to the input end of the transimpedance amplifier, and the other end of the off-chip resistor is connected to the output end of the transimpedance amplifier.

[0022] Preferably, the receiving module further includes an indicating diode, a second MOS tube and a third trigger;

[0023] The clock port of the third trigger is connected to the output end of the second trigger, the data port of the third trigger is used to receive an external indication signal, the output end of the third trigger is connected to the gate of the second MOS tube, the source of the second MOS tube is connected to the cathode of the indicator diode, the anode of the indicator diode is connected to a positive voltage, and the drain of the second MOS tube is grounded.

[0024] In a third aspect, a control method for an emission circuit of an LED in a multi-point beam grating is provided, wherein the control method is applicable to the emission circuit of an LED in the multi-point beam grating as described in the first aspect, and comprises:

[0025] The first clock buffer of the next-stage transmitting module buffers the received first clock signal, and uses the buffered clock signal as the first clock signal of the previous-stage transmitting module;

[0026] The first trigger of the previous stage transmitting module samples the first data signal according to the first clock signal, uses the sampled signal as the first data signal of the next stage transmitting module, and controls the operation of the transmitting diode according to the sampled signal and the external enable signal;

[0027] The input end of the first trigger of the first-stage transmitting module receives the first data signal, and the clock port of the first trigger of the last-stage transmitting module and the input end of the first clock buffer receive the first clock signal.

[0028] Preferably, the operation of controlling the emitting diode according to the sampled signal and the external enable signal comprises:

[0029] Perform an AND operation on the sampled signal and the external enable signal;

[0030] If the result of the AND operation is a high level, the emitting diode emits light.

[0031] In a fourth aspect, a control method for a receiving circuit of an LED in a multi-point beam grating is provided, wherein the control method is applicable to the receiving circuit of an LED in the multi-point beam grating as described in the second aspect, and comprises:

[0032] The second clock buffer of the next-stage receiving module buffers the received second clock signal, and uses the buffered clock signal as the second clock signal of the previous-stage receiving module;

[0033] The second trigger of the previous stage receiving module samples the second data signal according to the second clock signal, and uses the sampled signal as the second data signal of the next stage receiving module;

[0034] For each level of receiving module, the signal obtained by sampling controls the on and off of the transmission gate switch, and selectively transmits the electrical signal generated by the receiving diode to the external control module;

[0035] The input end of the second trigger of the first-stage receiving module receives the second data signal, and the clock port of the second trigger of the last-stage receiving module and the input end of the second clock buffer receive the second clock signal.

[0036] Preferably, the control method of the receiving circuit further includes:

[0037] After the receiving diode receives the optical signal, the receiving diode generates the electrical signal;

[0038] The gain of the transimpedance amplifier is adjusted by an off-chip resistor so as to adaptively amplify the electrical signal according to the ambient light intensity.

[0039] Compared with the prior art, the present invention has the following beneficial effects:

[0040] Clock buffers are added to the LED transmitting circuit and receiving circuit proposed in the present invention, which can meet the establishment time and holding time of the data stream and the clock stream, and can independently adjust each clock signal, thereby solving the problem of signal synchronization misalignment that is prone to occur during high-speed scanning of the system and improving the overall performance of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1It is a structural schematic diagram of an emission circuit of an LED in a multi-point beam grating provided by an embodiment of the present invention;

[0043] Figure 2 It is a structural schematic diagram of an LED emission module in a multi-point beam grating provided by an embodiment of the present invention;

[0044] Figure 3 It is a structural schematic diagram of a receiving circuit of an LED in a multi-point beam grating provided by an embodiment of the present invention;

[0045] Figure 4 It is a structural schematic diagram of a receiving module of an LED in a multi-point beam grating provided by an embodiment of the present invention;

[0046] Figure 5 It is a flow chart of a method for controlling an emission circuit of an LED in a multi-point beam grating provided by an embodiment of the present invention;

[0047] Figure 6 It is a flow chart of a method for controlling a receiving circuit of an LED in a multi-point beam grating provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0049] Unless the context requires otherwise, throughout the specification and claims, the term "including" is to be interpreted as open inclusion, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "examples", "specific examples" or "some examples" and the like are intended to indicate that specific features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present disclosure. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the specific features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner, that is, although they may be carried in the embodiments or examples of the above terms due to reasons such as the order and position of appearance, it is not limited to that they can be carried in combination by one embodiment or example.

[0050] In the description of the present invention, the terms "first" and "second" are used only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, the meaning of "multiple" is two or more. In addition, for example, the same type of nouns may be described as two independent individuals by adding "A" and "B" at the end. In this case, the corresponding features defined as "A" and "B" are only used to distinguish the same type of individuals for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features.

[0051] When describing some embodiments, the expressions "coupling", "coupling" and "connection" and their derivatives may be used. For example, when describing some embodiments, the term "connection" may be used to indicate that two or more components are in direct physical or electrical contact with each other. For another example, when describing some embodiments, the term "coupling" may be used to indicate that two or more components are in direct physical or electrical contact. However, the terms "connection" or "coupling" may also refer to two or more components that are not in direct contact with each other, but still cooperate or interact with each other, such as "optical path coupling", "wireless connection", etc. The embodiments disclosed herein are not necessarily limited to the contents of the present invention.

[0052] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0053] Embodiment 1:

[0054] In this embodiment, a transmitting circuit of LED in a multi-point beam grating is proposed, such as Figure 1 As shown, the transmitting circuit includes at least two transmitting modules, and the transmitting module includes a first trigger and a first clock buffer; the output end of the first trigger of the upper-level transmitting module is connected to the data input end of the first trigger of the lower-level transmitting module, and the output end of the first clock buffer of the lower-level transmitting module is respectively connected to the clock port of the first trigger of the upper-level transmitting module and the input end of the first clock buffer.

[0055] The input end of the first trigger of the first-stage transmitting module is used to receive the first data signal, and the clock port of the first trigger of the last-stage transmitting module and the input end of the first clock buffer are used to receive the first clock signal; the first clock buffer is used to buffer the received first clock signal, and use the buffered clock signal as the first clock signal of the previous-stage transmitting module; the first trigger is used to sample the first data signal according to the first clock signal, and use the sampled signal as the first data signal of the next-stage transmitting module, and is also used to control the operation of the transmitting diode according to the sampled signal and an external enable signal.

[0056] Before describing this embodiment in detail, it needs to be explained in advance that all triggers proposed in this embodiment can be D triggers, and the transmitting circuit described in this embodiment includes N transmitting modules, specifically including a first-stage transmitting module, a second-stage transmitting module,..., an Nth transmitting module.

[0057] The first-stage transmitting module refers to Figure 1 The transmitter module at the leftmost level in the figure. The last transmitter module refers to Figure 1 The transmitter module at the rightmost level in the figure. The transmitter module at the previous level is adjacent to the transmitter module at the next level. Figure 1 The above is also applicable to the receiving circuit of the LED in the multi-point beam grating, and will not be described in detail in the following embodiments.

[0058] Each transmitting module includes a first trigger and a first clock buffer, the first trigger is used to store a data signal, the first clock buffer is used to receive a stable clock signal, the first trigger is used to sample the first data signal according to the first clock signal, and transmit the sampled signal to the data receiving end of the first trigger in the transmitting module of the next level, and at the same time, the operation of the emitting diode (i.e., emitting light or not) is controlled together with the sampled signal and the external enable signal.

[0059] The first clock buffer is used to buffer the received first clock signal to provide the buffered clock signal to the previous stage transmitting module. In a traditional D flip-flop, the data flow and the clock flow are in the same direction, that is, the data signal and the clock signal are input into the flip-flop at the same time. In order to optimize the timing, in this embodiment, a design in which the data flow and the clock flow are reversed is adopted, and the first clock signal from the last stage transmitting module passes through the first clock buffer, so that the rising edge or falling edge of the first clock signal reaches the clock input terminal of the first flip-flop in the previous stage transmitting module before the first data signal is stable.

[0060] When the data flow and clock flow are reversed, each level of the transmitting module can send its first data signal in advance before receiving the first clock signal of the next level module. This ensures that the first data signal is correctly sampled when the edge of the first clock signal is triggered, thereby meeting the requirements of the setup time and hold time. Among them, the setup time refers to the time that the first data signal needs to remain stable before the rising edge or falling edge of the first clock signal arrives; when the data flow and clock flow are reversed, the delay of the first clock signal will cause the clock front edge to reach the corresponding first trigger before the first data signal is stable, thus providing sufficient setup time for the first data signal. The hold time refers to the time that the first data signal needs to remain stable after the rising edge or falling edge of the first clock signal arrives; in the design of the reverse data flow and clock flow, due to the delay of the first clock signal, the hold time of the first clock signal will naturally be extended, thus providing sufficient hold time for the first data signal.

[0061] The design of the data flow and clock flow inversion in this embodiment also provides a certain flexibility to achieve different timing requirements between different transmitting modules. For example, if a transmitting module at a certain level requires a longer hold time, it can be achieved by setting the buffer time of the corresponding first clock buffer to increase the delay of the first clock signal. The more specific implementation method is not described in detail in this embodiment.

[0062] Next, other structures of the transmitting module will be described in detail. In one embodiment, Figure 2 As shown, the transmitting module also includes an AND logic gate and a first MOS tube; the output end of the first trigger is connected to the first input end of the AND logic gate, and the second input end of the AND logic gate is used to receive the external enable signal; the output end of the AND logic gate is connected to the gate of the first MOS tube, the source of the first MOS tube is connected to the cathode of the emitting diode, the anode of the emitting diode is connected to a positive voltage, and the drain of the first MOS tube is grounded; when the sampled signal and the external enable signal are both high level, the AND logic gate outputs a high level to turn on the first MOS tube to drive the emitting diode to emit light.

[0063] Among them, the AND logic gate outputs a high level only when all input signals are at a high level. In one embodiment, the first input end of the AND logic gate receives a signal from the output end of the first trigger, and the second input end of the AND logic gate is used to receive an external enable signal, which is a control signal that determines whether the transmitting circuit is allowed to work. In one embodiment, the external enable signals of all transmitting modules in the transmitting circuit can come from the same signal source. When the external enable signal and the signal output by the first trigger are both at a high level, the AND logic gate will output a high level. When the AND logic gate outputs a high level, the first MOS tube is turned on, allowing current to flow, and the emitting diode forms a path from the positive voltage of the power supply to the ground, thereby driving the emitting diode to emit light.

[0064] In one embodiment, Figure 2 As shown, the transmitting module also includes a driving resistor, one end of which is connected to the second input end of the AND logic gate, and the other end of which is grounded; the driving resistor is used to ensure that the first MOS tube is in a closed state at the beginning. Specifically, when there is no external enable signal, the driving resistor is used to pull down the level of the second input end of the AND logic gate, so that in the initial state, the AND logic gate outputs a low level, thereby making the first MOS tube non-conductive and the emitting diode in a non-luminous state.

[0065] Reference Figure 1 In one embodiment, the operation process of the transmitting circuit is as follows:

[0066] The first data signal D_I is input to the D terminal of the first trigger in the transmitting module. Whenever the first clock signal CLK_I arrives, the first trigger samples the first data signal D_I to the output terminal D_O; the first clock signal CLK_I is input to the clock input CLK terminal of the first trigger, and is output to CLK_O through the first clock buffer; the external enable signal LED_EN is input to the second input terminal of the AND logic gate through the driving resistor, and is input to the gate of the first MOS tube after performing an AND operation with the data at the data output terminal of the first trigger 0. When the AND logic gate outputs a high level, the first MOS tube is driven to be turned on, and the emitting diode forms a path from the power supply to the ground and emits light.

[0067] A clock buffer is added to the transmitting circuit of this embodiment, which can meet the setup time and hold time of the data stream and the clock stream, and can independently adjust each clock signal, thereby solving the problem of signal synchronization mismatch that is prone to occur during high-speed scanning of the system and improving the overall performance of the system.

[0068] Embodiment 2:

[0069] In Example 1, a transmitting circuit of an LED in a multi-point beam grating is proposed. In this embodiment, a receiving circuit of an LED in a multi-point beam grating is proposed. The receiving diode in the receiving circuit is used to receive the light signal emitted by the transmitting diode in the transmitting circuit. The receiving diode is a photosensitive semiconductor device that can convert the light signal into an electrical signal. When photons hit the semiconductor material, electron-hole pairs are generated. These electron-hole pairs separate near the PN junction to generate current. The tiny current output by the receiving diode is usually very small and needs to be amplified and processed by an amplifier and a signal processing circuit for subsequent data demodulation and decoding.

[0070] In one embodiment, Figure 3 As shown, the receiving circuit includes at least two receiving modules, and the receiving module includes a second trigger, a second clock buffer, a transimpedance amplifier and a transmission gate switch; the output end of the second trigger of the upper-level receiving module is connected to the data input end of the second trigger of the lower-level receiving module, and the output end of the second clock buffer of the lower-level receiving module is respectively connected to the clock port of the second trigger of the upper-level receiving module and the input end of the second clock buffer.

[0071] The input end of the second trigger of the first-stage receiving module is used to receive the second data signal, and the clock port of the second trigger of the last-stage receiving module and the input end of the second clock buffer are used to receive the second clock signal; the second clock buffer is used to buffer the received second clock signal, and use the buffered clock signal as the second clock signal of the previous-stage receiving module; the second trigger is used to sample the second data signal according to the second clock signal, and use the sampled signal as the second data signal of the next-stage receiving module; the input end of the transimpedance amplifier is connected to the output end of the receiving diode, the output end of the transimpedance amplifier is connected to the input end of the transmission gate switch, the output end of the second trigger is connected to the control end of the transmission gate switch, and the output end of the transmission gate switch is connected to the external control module, so as to transmit the electrical signal generated by the receiving diode to the external control module.

[0072] Each receiving module includes a second trigger and a second clock buffer, the second trigger is used to store a data signal, the second clock buffer is used to receive a stable clock signal, the second trigger is used to sample the second data signal according to the second clock signal, and transmit the sampled signal to the data receiving end of the second trigger in the receiving module of the next level.

[0073] The second clock buffer is used to buffer the received second clock signal to provide a stable clock signal to the upper-level receiving module. In order to optimize the timing, the data flow and the clock flow are designed to be reversed in this embodiment. By passing the second clock signal from the last-level receiving module through the second clock buffer, the rising edge or the falling edge of the second clock signal reaches the clock input terminal of the second trigger in the upper-level receiving module before the second data signal is stable. The purpose of the reverse design of the data flow and the clock flow is referred to in Example 1, and no further explanation is given in this embodiment.

[0074] The second trigger is used to sample the second data signal when the edge of a specific second clock signal is triggered. The transimpedance amplifier is used to convert the electrical signal into a voltage signal, and amplify the voltage signal and output it. The transimpedance amplifier can provide high gain to amplify the weak light signal generated by the receiving diode. The control end of the transmission gate switch is connected to the output end of the second trigger. When the second trigger outputs a high level, the transmission gate switch is turned on, allowing the electrical signal to be transmitted to the external control module. In one embodiment, the transmission gate switch can be a CMOS transmission gate switch.

[0075] When the optical signal is detected by the receiving diode, the electrical signal generated by the receiving diode is amplified by the transimpedance amplifier, and the transmission gate switch determines whether to transmit it to the external control module for processing according to the control signal of the second trigger. Only the transmission gate switch of a certain level of receiving module is selected each time, so that the multi-level receiving modules are connected to a common voltage.

[0076] In one embodiment, the gain of the transimpedance amplifier is fixed and difficult to adjust according to actual needs. This design limits the flexibility and adaptability of the system in different working environments, resulting in poor performance in certain specific application scenarios. For example, when the ambient light intensity varies greatly, the fixed-gain transimpedance amplifier cannot guarantee the stable reception of the electrical signal, thereby affecting the accuracy and reliability of the system. To solve the above problem, in one embodiment, Figure 4 As shown, the receiving module further includes an off-chip resistor, one end of the off-chip resistor is connected to the input end of the transimpedance amplifier, and the other end of the off-chip resistor is connected to the output end of the transimpedance amplifier.

[0077] In one embodiment, the off-chip resistor may be a variable resistor, and the gain of the transimpedance amplifier is changed by adjusting the value of the variable resistor. When the ambient light becomes stronger, the resistance value of the off-chip resistor is increased accordingly to increase the gain of the transimpedance amplifier, thereby improving the amplification effect of the transimpedance amplifier.

[0078] In one embodiment, when the external ambient light intensity remains unchanged, the off-chip resistor can basically be a fixed value resistor, and the corresponding resistance value of the off-chip resistor can be set according to the external environment and the distance between the transmitting diode and the receiving diode. The gain of the transimpedance amplifier is proportional to the resistance value of the off-chip resistor, that is, the larger the resistance value of the off-chip resistor, the larger the transimpedance gain of the transimpedance amplifier, and the better the amplification effect, and vice versa. The transimpedance amplifier has low power consumption and is suitable for cascading. It combines with off-chip resistors to achieve an adjustable gain range of 100K-1M, and can support AC coupling to reduce interference from other signals. For the receiving module, the low-power transimpedance amplifier combined with the off-chip resistor can achieve adjustable gain. When the ambient light intensity changes greatly, the gain-adjustable transimpedance amplifier can ensure stable reception of the signal, while reducing system power consumption, it also improves the accuracy and reliability of the system.

[0079] In one embodiment, Figure 4 As shown, the receiving module also includes an indicator diode, a second MOS tube and a third trigger; the clock port of the third trigger is connected to the output end of the second trigger, the data port of the third trigger is used to receive an external indication signal, the output end of the third trigger is connected to the gate of the second MOS tube, the source of the second MOS tube is connected to the cathode of the indicator diode, the anode of the indicator diode is connected to a positive voltage, and the drain of the second MOS tube is grounded.

[0080] Wherein, the indicator diode is used to indicate the working state of the receiving module. The clock port of the third trigger is connected to the output end of the second trigger, and the data port is used to receive an external indication signal (IND_IN). The output end of the third trigger controls the conduction and cutoff of the second MOS tube, thereby controlling the on and off of the indicator diode. When the external indication signal arrives, the third trigger receives this signal and changes its output state. The output state of the second trigger controls the clock input of the third trigger, forming a feedback loop, so that the output of the third trigger changes in a cycle. The output state of the third trigger controls the conduction and cutoff of the second MOS tube, thereby making the indicator diode light or off to indicate the state of the receiving module.

[0081] In one embodiment, referring to Figure 5 , the working process of the receiving circuit of the LED in the multi-point beam grating includes:

[0082] The second data signal D_I is input to the D terminal of the second trigger in the receiving circuit. Whenever the second clock signal CLK_I arrives, the second trigger samples the second data signal D_I to the output Q terminal of the second trigger and outputs it as the D_O signal to the D terminal of the second trigger of the next-level receiving module; the second clock signal CLK_I is input to the clock input CLK terminal of the second trigger, and at the same time outputs CLK_O to the previous-level receiving module through the second clock buffer; the external indication signal IND_IN is input to the D terminal of the third trigger. Whenever its clock signal D_O arrives, the third trigger samples the external indication signal IND_IN to the output Q terminal of the third trigger. When the Q terminal of the third trigger outputs a high level, the second MOS tube is driven to turn on, and the indicator diode forms a path from the power supply to the ground and emits light.

[0083] The output terminal TIA_I of the receiving diode outputs an electrical signal to the transimpedance amplifier. The transimpedance amplifier with off-chip resistors converts the received current signal into a voltage signal and amplifies it. When the output of the second trigger is at a high level, the transmission gate switch is turned on, and the output signal of the transimpedance amplifier can be output as an output signal to the output terminal MUX_O of the receiving circuit, and then can be processed by the corresponding signal processing circuit and transmitted to the external control module.

[0084] In this embodiment, a clock buffer is added to the receiving circuit, which can meet the setup time and hold time of the data stream and the clock stream, and can independently adjust each clock signal, thereby solving the problem of signal synchronization misalignment that is prone to occur during high-speed scanning in the system, and improving the overall performance of the system. At the same time, for the receiving circuit, a low-power transimpedance amplifier combined with an off-chip resistor can achieve adjustable gain. When the ambient light intensity changes greatly, the gain-adjustable transimpedance amplifier can ensure stable signal reception, thereby reducing system power consumption while also improving the accuracy and reliability of the system.

[0085] Embodiment 3:

[0086] In the embodiment 1, a transmitting circuit of LED in a multi-point beam grating is proposed. In the present embodiment, a control method of the transmitting circuit of LED in a multi-point beam grating is proposed. Figure 5 As shown, including:

[0087] Step 101: The first clock buffer of the next-stage transmitting module buffers the received first clock signal, and uses the buffered clock signal as the first clock signal of the previous-stage transmitting module.

[0088] The input end of the first trigger of the first-stage transmitting module receives the first data signal, and the clock port of the first trigger of the last-stage transmitting module and the input end of the first clock buffer receive the first clock signal.

[0089] By reversely designing the data flow and the clock flow, each level of the transmitting module can send its first data signal in advance before receiving the first clock signal of the next level of the transmitting module. This ensures that the first data signal is correctly sampled when the edge of the first clock signal is triggered, thereby meeting the requirements of the setup time and the hold time. For more details, refer to Example 1, and no further explanation is given in this embodiment.

[0090] Step 102: the first trigger of the previous stage transmitting module samples the first data signal according to the first clock signal, uses the sampled signal as the first data signal of the next stage transmitting module, and controls the operation of the transmitting diode according to the sampled signal and the external enable signal.

[0091] The first trigger of the previous level transmitting module samples the first data signal according to the buffered first clock signal. This sampling process refers to collecting the first data signal at a specific moment of the first clock signal, so that the output end of the first trigger outputs the corresponding signal and is used in the next level transmitting module. The sampling result and the external enable signal jointly control the working state of the transmitting diode. Specifically, the sampled signal is ANDed with the external enable signal; if the result of the AND operation is a high level, the transmitting diode emits light. If the result of the AND operation is a low level, the transmitting diode will not emit light.

[0092] The specific structure of the emission circuit of the LED in the multi-point beam grating is shown in Example 1 and will not be described in detail in this embodiment.

[0093] Embodiment 4:

[0094] In the embodiment 2, a receiving circuit of LED in a multi-point beam grating is proposed. In this embodiment, a control method of a receiving circuit of LED in a multi-point beam grating is proposed, such as Figure 6 As shown, including:

[0095] Step 201: The second clock buffer of the next-stage receiving module buffers the received second clock signal, and uses the buffered clock signal as the second clock signal of the previous-stage receiving module.

[0096] The input end of the second trigger of the first-stage receiving module receives the second data signal, and the clock port of the second trigger of the last-stage receiving module and the input end of the second clock buffer receive the second clock signal.

[0097] By reversely designing the data flow and the clock flow, each level of receiving module can send its own second data signal in advance before receiving the second clock signal of the next level of receiving module. This ensures that the second data signal is correctly sampled when the edge of the second clock signal is triggered, thereby meeting the requirements of the setup time and the hold time. For more details, refer to Example 2, which will not be described in detail in this embodiment.

[0098] Step 202: the second trigger of the previous stage receiving module samples the second data signal according to the second clock signal, and uses the sampled signal as the second data signal of the next stage receiving module.

[0099] The second trigger samples the second data signal according to the buffered second clock signal. The sampling process refers to collecting the second data signal at a specific moment of the second clock signal for use in the next-stage receiving module, that is, the sampling result is input as the second data signal of the next-stage receiving module. At the same time, the sampling result is also used to control the on-off of the transmission gate switch. The specific details will not be described in detail in this embodiment.

[0100] Step 203: For each level of receiving module, the on-off of the transmission gate switch is controlled by the sampled signal, and the electrical signal generated by the receiving diode is selectively transmitted to the external control module.

[0101] The input end of the transimpedance amplifier is connected to the output end of the receiving diode, and the receiving diode is used to convert the optical signal into an electrical signal and output the electrical signal. The function of the transimpedance amplifier is to amplify the electrical signal. The amplified signal is output through a transmission gate switch, and the control end of the switch is connected to the output end of the second trigger. When the second trigger outputs a high level, the transmission gate switch is turned on and the amplified electrical signal is transmitted to the external control module. The external control module can further process these signals to realize the control of the LED receiving circuit.

[0102] The control method of the receiving circuit also includes: after the receiving diode receives the optical signal, the receiving diode generates the electrical signal; and adjusting the amplification factor of the transimpedance amplifier through an off-chip resistor to adaptively amplify the electrical signal according to the ambient light intensity.

[0103] Among them, for the transimpedance amplifier, the value of the off-chip resistor is inversely proportional to the gain, that is, the larger the off-chip resistor value, the lower the gain; the smaller the off-chip resistor value, the higher the gain. The transimpedance amplifier has low power consumption and is suitable for cascading. It combines with the off-chip resistor to achieve a gain adjustable range of 100K-1M, and can support AC coupling to reduce interference from other signals.

[0104] For the specific structure of the receiving circuit of the LED in the multi-point beam grating, please refer to Example 2, which will not be repeated in this embodiment.

[0105] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A transmitting circuit of LED in a multi-point beam grating, characterized in that: The transmitting circuit includes at least two transmitting modules, and the transmitting module includes a first trigger and a first clock buffer; The output end of the first trigger of the previous stage transmitting module is connected to the data input end of the first trigger of the next stage transmitting module, and the output end of the first clock buffer of the next stage transmitting module is respectively connected to the clock port of the first trigger of the previous stage transmitting module and the input end of the first clock buffer; The input end of the first trigger of the first stage transmitting module is used to receive the first data signal, and the clock port of the first trigger of the last stage transmitting module and the input end of the first clock buffer are used to receive the first clock signal; The first clock buffer is used to buffer the received first clock signal and use the buffered clock signal as the first clock signal of the previous-stage transmitting module; The first trigger is used to sample the first data signal according to the first clock signal, and use the sampled signal as the first data signal of the next-stage transmitting module, and is also used to control the operation of the transmitting diode according to the sampled signal and an external enable signal.

2. The transmitting circuit of LED in the multi-point beam grating according to claim 1, characterized in that: The transmitting module also includes an AND logic gate and a first MOS tube; the output end of the first trigger is connected to the first input end of the AND logic gate, and the second input end of the AND logic gate is used to receive the external enable signal; The output end of the AND logic gate is connected to the gate of the first MOS transistor, the source of the first MOS transistor is connected to the cathode of the emitting diode, the anode of the emitting diode is connected to a positive voltage, and the drain of the first MOS transistor is grounded; When the sampled signal and the external enable signal are both at a high level, the AND logic gate outputs a high level to turn on the first MOS tube to drive the emitting diode to emit light.

3. The transmitting circuit of LED in the multi-point beam grating according to claim 2 is characterized in that: The transmitting module also includes a driving resistor, one end of which is connected to the second input end of the AND logic gate, and the other end of which is grounded; the driving resistor is used to ensure that the first MOS tube is initially in a closed state.

4. A receiving circuit for LED in a multi-point beam grating, characterized in that: The receiving circuit includes at least two receiving modules, and the receiving module includes a second trigger, a second clock buffer, a transimpedance amplifier and a transmission gate switch; The output end of the second trigger of the upper-stage receiving module is connected to the data input end of the second trigger of the lower-stage receiving module, and the output end of the second clock buffer of the lower-stage receiving module is respectively connected to the clock port of the second trigger of the upper-stage receiving module and the input end of the second clock buffer; The input end of the second trigger of the first-stage receiving module is used to receive the second data signal, and the clock port of the second trigger of the last-stage receiving module and the input end of the second clock buffer are used to receive the second clock signal; The second clock buffer is used to buffer the received second clock signal and use the buffered clock signal as the second clock signal of the previous-stage receiving module; The second trigger is used to sample the second data signal according to the second clock signal, and use the sampled signal as the second data signal of the next-stage receiving module; The input end of the transimpedance amplifier is connected to the output end of the receiving diode, the output end of the transimpedance amplifier is connected to the input end of the transmission gate switch, the output end of the second trigger is connected to the control end of the transmission gate switch, and the output end of the transmission gate switch is connected to an external control module for transmitting the electrical signal generated by the receiving diode to the external control module.

5. The receiving circuit of LED in the multi-point beam grating according to claim 4, characterized in that: An off-chip resistor is also included, one end of the off-chip resistor is connected to the input end of the transimpedance amplifier, and the other end of the off-chip resistor is connected to the output end of the transimpedance amplifier.

6. The receiving circuit of LED in the multi-point beam grating according to claim 5, characterized in that: The receiving module also includes an indicating diode, a second MOS tube and a third trigger; The clock port of the third trigger is connected to the output end of the second trigger, the data port of the third trigger is used to receive an external indication signal, the output end of the third trigger is connected to the gate of the second MOS tube, the source of the second MOS tube is connected to the cathode of the indicator diode, the anode of the indicator diode is connected to a positive voltage, and the drain of the second MOS tube is grounded.

7. A method for controlling the emission circuit of LED in a multi-point beam grating, characterized in that: The control method is applicable to the emission circuit of the LED in the multi-point beam grating as claimed in any one of claims 1 to 3, comprising: The first clock buffer of the next-stage transmitting module buffers the received first clock signal, and uses the buffered clock signal as the first clock signal of the previous-stage transmitting module; The first trigger of the previous stage transmitting module samples the first data signal according to the first clock signal, uses the sampled signal as the first data signal of the next stage transmitting module, and controls the operation of the transmitting diode according to the sampled signal and the external enable signal; The input end of the first trigger of the first-stage transmitting module receives the first data signal, and the clock port of the first trigger of the last-stage transmitting module and the input end of the first clock buffer receive the first clock signal.

8. The control method of the LED emission circuit in the multi-point beam grating according to claim 7, characterized in that: The operation of controlling the emitting diode according to the sampled signal and the external enable signal comprises: Perform an AND operation on the sampled signal and the external enable signal; If the result of the AND operation is a high level, the transmitting diode emits light.

9. A method for controlling a receiving circuit of an LED in a multi-point beam grating, characterized in that: The control method is applicable to a receiving circuit of an LED in a multi-point beam grating as claimed in any one of claims 4 to 6, comprising: The second clock buffer of the next-stage receiving module buffers the received second clock signal, and uses the buffered clock signal as the second clock signal of the previous-stage receiving module; The second trigger of the previous stage receiving module samples the second data signal according to the second clock signal, and uses the sampled signal as the second data signal of the next stage receiving module; For each level of receiving module, the signal obtained by sampling controls the on and off of the transmission gate switch, and selectively transmits the electrical signal generated by the receiving diode to the external control module; The input end of the second trigger of the first-stage receiving module receives the second data signal, and the clock port of the second trigger of the last-stage receiving module and the input end of the second clock buffer receive the second clock signal.

10. The control method of the receiving circuit of the LED in the multi-point beam grating according to claim 8, characterized in that: The control method of the receiving circuit also includes: After the receiving diode receives the optical signal, the receiving diode generates the electrical signal; The gain of the transimpedance amplifier is adjusted by an off-chip resistor so as to adaptively amplify the electrical signal according to the ambient light intensity.