Optical isolation light-emitting side compensation device and optical isolation dual compensation system

Through the signal input, bias and gain adjustment of the optical isolation light emitting side compensation device, the error problem caused by temperature changes in the optical isolation probe is solved, and high-precision and low-cost signal amplification and anti-interference ability are achieved.

CN119902335BActive Publication Date: 2025-07-25DEKEM ELECTRONICS GUANGZHOU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510362072.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-07-25
Estimated Expiration
2045-03-26

AI Technical Summary

Technical Problem

The threshold current of the laser emitter of the existing optical isolation probe changes with the ambient temperature, resulting in attenuation of the luminescence efficiency and affecting the electro-optical accuracy. The existing compensation adjustment scheme may have high adjustment accuracy and cannot meet complex and variable conditions.

Method used

The optically isolated light-emitting side compensation device is adopted, including a signal input module, a bias compensation module, a gain compensation module and an overlay control module. The bias signal and gain signal are adjusted in real time through the PI control module to eliminate errors caused by temperature characteristics.

Benefits of technology

It realizes high-precision and low-cost signal amplification control, reduces signal distortion, improves the resistance to electrical interference, and meets the signal isolation needs of complex and variable environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902335B_ABST
    Figure CN119902335B_ABST
Patent Text Reader

Abstract

The present invention relates to an optical isolation light-emitting side compensation device and an optical isolation dual compensation system. The optical isolation dual compensation system includes a photosensitive side compensation device, a light-emitting side processing device, and an optical isolation light-emitting side compensation device. The photosensitive side compensation device collects an electrical output signal, analyzes the electrical output signal to generate a first analysis signal, and sends the first analysis signal to the light-emitting side processing device. The light-emitting side processing device collects an electrical input signal and generates a second analysis signal according to the electrical input signal, and is further configured to calculate a bias signal and a gain signal according to the first analysis signal and the second analysis signal, which serve as the adjustment basis for the optical isolation light-emitting side compensation device. By changing the voltage on the photosensitive side and synchronously adjusting the gain and offset on the light-emitting side, the changes caused by the temperature characteristics are corrected, and the errors between the light-emitting side and the photosensitive side are eliminated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical isolation information technology, and particularly to an optical isolation light-emitting side compensation device and an optical isolation double compensation system. Background Art

[0002] Optical isolation probes play a crucial role in many electronic and optical systems. They can achieve effective isolation transmission of signals, ensuring that different circuit modules can transmit signals while avoiding problems such as electrical interference. They are commonly found in communication systems, high-precision measurement instruments, and some industrial control scenarios with strict signal isolation requirements.

[0003] Optical isolation probes usually use light-emitting diodes or lasers as light sources. When a forward bias current is applied to the light-emitting diode or laser, electrons and holes recombine in the internal semiconductor material, releasing photons, generating light radiation, emitting light with a certain wavelength and intensity, and then realizing its function through processes such as light transmission, isolation, and photoelectric conversion.

[0004] However, in the process of converting electrical signals into optical signals, the diode or laser is not stable. When a constant current is input to the laser emitting tube, the output laser intensity will change with the ambient temperature. At the same time, due to material decay, as the working time increases, and the light decay of the luminous efficiency, etc., the conversion efficiency gradually decreases. Moreover, the threshold current of the laser emitting tube also changes with the ambient temperature, resulting in a change in the accuracy of the electrical-to-optical conversion, thus causing errors. Additionally, factors such as optical signal transmission (such as different bending degrees of optical cables) may also affect the change in the received light intensity.

[0005] Existing optical isolation compensation adjustment schemes rely on circuit elements such as variable resistors, capacitors, digital potentiometers, or gain adjustment chips to adjust corresponding parameters. However, the above adjustment methods either have low adjustment accuracy or adjustment frequency and cannot well meet complex and changeable situations, or have high costs or bandwidths that cannot meet actual requirements. Summary of the Invention

[0006] In view of the above analysis, embodiments of the present invention aim to provide an optical isolation light-emitting side compensation device and an optical isolation double compensation system to solve the problem that in the prior art, the threshold current of the laser emitting tube changes with the ambient temperature, and the light decay of the luminous efficiency, etc., will lead to a change in the accuracy of the electrical-to-optical conversion, thus causing errors.

[0007] One aspect of the present application provides an optical isolation light-emitting side compensation device, including:

[0008] A signal input module, configured to input an electrical input signal and output a first reference signal according to the electrical input signal;

[0009] A bias compensation module for inputting a bias signal and superimposing the bias signal on the first reference signal to form a first operation signal;

[0010] A gain compensation module for inputting a gain signal, outputting a first optical control signal according to the gain signal, and converting the first optical control signal into a second operation signal of gain;

[0011] A superimposing control module for performing a superimposing operation on the first operation signal and the second operation signal, and outputting a second laser control signal according to the operation result to control a laser emitting tube to generate a light source.

[0012] As one optional embodiment, the signal input module includes: a first resistor connected to an electrical input signal input terminal;

[0013] The other end of the first resistor is respectively connected to an input terminal of the superimposing control module and one end of a second resistor grounded.

[0014] As one optional embodiment, the gain compensation module includes a first operational amplifier and an optocoupler isolator, wherein:

[0015] The input gain signal is connected to the non-inverting input terminal of the first operational amplifier through an impedance matching resistor;

[0016] The output terminal of the first operational amplifier is connected to the anode of the internal light-emitting device of the optocoupler isolator through a current-limiting resistor to form a current driving channel;

[0017] The cathode of the light-emitting device is feedback-connected to the inverting input terminal of the first operational amplifier to form a closed-loop circuit, and the cathode of the light-emitting device is connected to a grounded resistor;

[0018] A parallel capacitor is provided between the output terminal and the inverting input terminal of the first operational amplifier for filtering.

[0019] As one optional embodiment, the optocoupler isolator includes a light-emitting diode and a photoresistor, and the superimposing control module includes a second operational amplifier and a laser, wherein:

[0020] The output terminal of the second operational amplifier is connected to one end of the laser, and the other end of the laser is feedback-connected to the inverting input terminal of the second operational amplifier to form a closed-loop circuit;

[0021] One end of the photoresistor is grounded, and the other end is connected to the inverting input terminal of the second operational amplifier to generate a gain signal according to the light emission of the light-emitting diode and control the gain of the second operational amplifier.

[0022] As one of the optional embodiments, the optical isolation light-emitting side compensation device further includes a first PI control module and a second PI control module, where:

[0023] The first PI control module is configured to generate a gain compensation signal according to the peak error between the photosensitive side output signal and the electrical input signal, and input the gain compensation signal into the gain compensation module;

[0024] The second PI control module is configured to generate an offset compensation signal according to the error or average error between the photosensitive side output signal and the electrical input signal at a preset sampling moment, and input the offset compensation signal into the offset compensation module.

[0025] A second aspect of the present application provides an optical isolation dual compensation system, including:

[0026] A photosensitive side compensation device, configured to collect an electrical output signal, analyze the electrical output signal to generate a first analysis signal, and send the first analysis signal to the light-emitting side processing device;

[0027] A light-emitting side processing device, configured to collect an electrical input signal and generate a second analysis signal according to the electrical input signal, and further configured to receive the first analysis signal, and calculate an offset signal and a gain signal according to the first analysis signal and the second analysis signal;

[0028] The optical isolation light-emitting side compensation device according to any of the above embodiments.

[0029] Further, the system further includes:

[0030] A signal acquisition unit, respectively configured to collect an electrical output signal and an electrical input signal;

[0031] A signal analysis and processing unit, configured to analyze the electrical output signal / electrical input signal;

[0032] A data sending unit, configured to send the first and second analysis signals to the light-emitting side processing device;

[0033] A signal processing unit, configured to calculate an offset signal and a gain signal according to the first analysis signal and the second analysis signal.

[0034] A third aspect of the present application provides an optical isolation compensation processing method for the system as described in any of the above, the method including:

[0035] Controlling the system to collect the photosensitive side output signal and the light-emitting side electrical input signal respectively at a first frequency;

[0036] Analyzing the collected photosensitive side output signal and the light-emitting side electrical input signal;

[0037] Calculate the peak error between the parsed output signal and the electrical input signal, as well as the real-time error or error mean within a preset period.

[0038] Generate a gain compensation signal and an offset compensation signal respectively according to the peak error and the real-time error or error mean within the preset period, so that the output signal of the photosensitive side is equal to the electrical input signal of the light-emitting side.

[0039] Preferably, the method further includes:

[0040] If the error is less than / greater than a preset value and lasts for a preset number of sampling periods, control the system to collect the output signal of the sensitive side and the electrical input signal of the light-emitting side at a second frequency;

[0041] Wherein, the second frequency is less than / greater than the first sampling frequency.

[0042] The optical isolation light-emitting side compensation device of the embodiment of the present application includes a signal input module that outputs a first reference signal according to an electrical input signal, an offset compensation module that superimposes an offset signal on the first reference signal to form a first operation signal, a gain compensation module that outputs a second operation signal according to a gain signal, and a superimposing control module that operates on the first operation signal and the second operation signal and outputs a laser control signal according to the operation result. The above solution of the present application adjusts the signal output of the superimposing control module through the offset compensation module and the gain compensation module, and then changes the output of the photosensitive side, adjusts and corrects the changes caused by the temperature characteristics according to the light emission, eliminates the errors between the light-emitting side and the photosensitive side, and provides a hardware basis for the offset and gain adjustment of the laser emitter on the light-emitting side. Moreover, the solution of the present application not only has high adjustment accuracy or adjustment frequency and can better meet complex and changeable situations, but also the required cost or bandwidth can better meet the actual needs.

[0043] Furthermore, the solution of the present application controls and changes the illumination of the light-emitting device of the optocoupler isolator through the gain compensation signal, and then continuously changes the resistance value of the photosensitive coupling resistor. This continuously variable characteristic enables the gain of the operational amplifier to be adjusted continuously and delicately, and a more accurate gain value can be set, meeting the application scenarios with high-precision requirements for the signal amplification multiple, being able to control the amplification multiple more precisely, and reducing signal distortion caused by gain errors. At the same time, within a certain voltage control range, through the designed circuit of the present application, the gain change of the operational amplifier can also present an ideal linear range, and the gain can be accurately adjusted according to specific input and output requirements, facilitating the realization of the expected signal amplification ratio and being conducive to accurately grasping the relationship between the gain change and the output signal. And the above gain compensation signal of the solution of the present application is transmitted through light, achieving electrical isolation, and can effectively prevent electrical interference (such as electromagnetic noise, power supply fluctuations, etc.) in the input side circuit from being transmitted to the output side circuit where the operational amplifier is located, improving the anti-interference ability of the circuit. Description of the Drawings

[0044] Figure 1 The figure is a structural diagram of the optical isolation light-emitting side compensation device module in an embodiment;

[0045] Figure 2 The figure is a schematic diagram of the operation of the optical isolation probe in an embodiment;

[0046] Figure 3 The figure is a circuit diagram of the optical isolation light-emitting side compensation device in an embodiment;

[0047] Figure 4 The figure is a structural diagram of the optical isolation dual compensation system module in an embodiment;

[0048] Figure 5 The figure is a waveform diagram of the signal compensation adjustment result in an embodiment. Detailed Embodiments

[0049] In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions of the embodiments of the present application with reference to the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the described embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.

[0050] Unless otherwise defined, the technical terms or scientific terms used in the present application shall have the ordinary meanings understood by those of ordinary skill in the art to which the present application pertains. The "first", "second", and similar terms used in the present application do not denote any order, quantity, or importance, but are only used to distinguish different components. The terms such as "including" or "comprising" mean that the elements or items appearing before the term cover the elements or items listed after the term and their equivalents, without excluding other elements or items. The terms such as "connected" or "coupled" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The terms such as "upper", "lower", "left", "right", etc. are only used to represent relative positional relationships, and when the absolute position of the object being described changes, the relative positional relationship may also change accordingly.

[0051] In order to keep the following description of the embodiments of the present application clear and concise, the detailed descriptions of some known functions and known components are omitted in the present application.

[0052] Figure 1 The figure is a structural diagram of the optical isolation light-emitting side compensation device module in an embodiment of an application, as shown in Figure 1As shown in the figure, the optical isolation light-emitting side compensation device of an application embodiment includes:

[0053] A signal input module 100, configured to input an electrical input signal V-in and output a first reference signal according to the electrical input signal V-in;

[0054] A bias compensation module 101, configured to input a bias signal Vbias and superimpose the bias signal Vbias on the first reference signal to form a first operation signal V1;

[0055] A gain compensation module 102, configured to input a gain signal Vdac and output a second operation signal V2 and an optocoupler isolator control signal V3 according to the gain signal Vdac;

[0056] A superimposition control module 103, configured to operate the first operation signal V1 and the second operation signal V2 and output a second laser control signal V4 according to the operation result;

[0057] Wherein, the optocoupler isolator control signal V3 is used to be applied to the light-emitting device of the optocoupler isolator to generate light, and then generate a gain control signal through optical coupling. The second laser control signal V4 is used to be applied to the positive electrode of the laser emitting tube.

[0058] Figure 2 It is a working schematic diagram of an optical isolation probe. As Figure 2 shown, the optical isolation probe includes two working modules: a light-emitting side and a photosensitive side. The light-emitting side includes an electrical input signal input link and a module that converts the electrical input signal into an optical signal through a laser emitting tube in the intermediate link. The photosensitive side is a module that restores the optical signal into an electrical signal through a photodiode; the optical signal is transmitted from the light-emitting side to the photosensitive side through an optical fiber, directly transmitting an analog signal, thereby achieving electrical isolation.

[0059] The optical isolation light-emitting side compensation device of the application embodiment is arranged on the light-emitting side and is used to perform gain adjustment and bias adjustment on the diodes on the light-emitting side.

[0060] As one of the optional embodiments, Figure 3 It is a circuit diagram of the optical isolation light-emitting side compensation device of an application embodiment. As Figure 3 shown, the signal input module includes:

[0061] A first resistor R1 connected to the electrical input signal input terminal;

[0062] The other end of the first resistor is respectively connected to an input terminal of the superimposition control module and one end of a second resistor R2 grounded, and is used to output a first reference signal.

[0063] The bias compensation module includes:

[0064] The fourth resistor R4 connected to the bias signal input terminal;

[0065] The DC voltage source VCC and the fifth resistor R5 connected to the voltage source VCC;

[0066] The other end of the fourth resistor R4 and the other end of the fifth resistor R5 are commonly connected to one end of the third resistor R3, and the other end of the third resistor R3 is respectively connected to an input terminal of the superposition control module and one end of the second resistor R2 grounded, so as to superimpose the bias signal on the first reference signal.

[0067] The gain compensation module includes a first operational amplifier U1 and an optocoupler isolator U3, wherein:

[0068] The input gain signal is connected to the non-inverting input terminal of the first operational amplifier U1 through the impedance matching resistor R6; the output terminal of the first operational amplifier U1 is connected to the anode of the internal light-emitting device of the optocoupler isolator U3 through the current-limiting resistor R7 to form a current drive channel; the cathode of the light-emitting device is feedback-connected to the inverting input terminal of the first operational amplifier U1 to form a closed-loop circuit, and the cathode of the light-emitting device is connected to the grounded resistor R8;

[0069] Further, a parallel capacitor C1 is provided between the output terminal and the inverting input terminal of the first operational amplifier U1 for filtering, so that the parallel capacitor C1 and the grounded resistor R8 form an RC filter circuit.

[0070] Preferably, the optocoupler isolator includes a light-emitting diode and a photosensitive resistor, and the superposition control module includes a second operational amplifier U2 and a laser, wherein:

[0071] The output terminal of the second operational amplifier is connected to one end of the laser, and the other end of the laser is feedback-connected to the inverting input terminal of the second operational amplifier to form a closed-loop circuit;

[0072] One end of the photosensitive resistor is grounded, and the other end is connected to the inverting input terminal of the second operational amplifier and the negative electrode of the laser emitter, so as to generate a gain control signal according to the change in the resistance value of the photosensitive resistor due to the light emission of the light-emitting diode to control the gain of the second operational amplifier, and the tenth resistor R10 and the ninth resistor R9 are provided in parallel with the photosensitive resistor to reduce the influence of parasitic capacitance on high-frequency transmission and ensure the stability and accuracy of gain adjustment and bias adjustment.

[0073] In the above embodiment of the present application, the illumination of the light-emitting device of the optocoupler is controlled by the gain compensation signal, and then the resistance value of the photosensitive coupling resistor is continuously changed. This continuously variable characteristic enables the gain of the operational amplifier to be adjusted continuously and delicately, and a more accurate gain value can be set, meeting the application scenarios with high-precision requirements for the signal amplification factor. It can control the amplification factor more accurately and reduce the signal distortion caused by the gain error. At the same time, within a certain voltage control range, through the designed circuit of the present application, the gain change of the operational amplifier can also present an ideal linear range, and the gain can be accurately adjusted according to the specific input and output requirements, facilitating the realization of the expected signal amplification ratio and being beneficial to accurately grasping the relationship between the gain change and the output signal. Moreover, in the above solution of the present application, the gain compensation signal is transmitted through light, achieving electrical isolation, which can effectively prevent electrical interference (such as electromagnetic noise, power supply fluctuations, etc.) in the input-side circuit from being transmitted to the output-side circuit where the operational amplifier is located, improving the anti-interference ability of the circuit.

[0074] Preferably, the superimposed control module includes: a second operational amplifier U2 whose non-inverting input terminal is used to access the first operational signal, and whose inverting input terminal is used to access the second operational signal; a current-limiting resistor R11 is connected to the output terminal of the second operational amplifier, and the other end of the resistor R11 is connected to the laser to output a laser control signal.

[0075] The circuit of the light isolation light-emitting side compensation device in the embodiment of the present application serves as the hardware basis for gain adjustment and bias adjustment.

[0076] The light isolation light-emitting side compensation device in the embodiment of the present application includes a signal input module that outputs a first reference signal according to an electrical input signal, a bias compensation module that superimposes a bias signal on the first reference signal to form a first operational signal, a gain compensation module that outputs a second operational signal and a first laser control signal according to a gain signal, and a superimposed control module that operates on the first operational signal and the second operational signal and outputs a second laser control signal according to the operation result. The first laser control signal is used to be applied to the negative electrode of the laser emitting tube, and the second laser control signal is used to be applied to the positive electrode of the laser emitting tube. It provides a hardware basis for the bias and gain adjustment of the laser emitting tube on the light-emitting side, corrects the changes caused by the temperature characteristics according to the light-emitting adjustment, and eliminates the errors between the light-emitting side and the photosensitive side.

[0077] Based on the light isolation light-emitting side compensation device, the embodiment of the present application also provides an optical isolation double compensation system. Figure 4 For the module structure diagram of the optical isolation double compensation system in an embodiment of the present application, as Figure 4 shown, the optical isolation double compensation system in an embodiment of the present application includes:

[0078] The photosensitive side compensation device 200 is used to collect the electrical output signal, analyze the electrical output signal to generate a first analysis signal, and send the first analysis signal to the light-emitting side processing device 201;

[0079] The light-emitting side processing device 201 is used to collect the electrical input signal and generate a second analysis signal according to the electrical input signal, and is also used to receive the first analysis signal, and calculate the bias signal and the gain signal according to the first analysis signal and the second analysis signal;

[0080] The optical isolation light-emitting side compensation device 202 of any one of the above embodiments.

[0081] The sampled input voltage X of the electrical input signal is subjected to function conversion through a series of operation circuits to obtain the output voltage Y corresponding to the superimposed control module 103. The functional relationship is analogous to Y = A(aX + bB + c). Refer to the attached Figure 1 In the manual, where X is the electrical input signal V-in, B is the parameter controlled by the bias signal Vbias, A is the gain adjustment parameter controlled by the gain signal Vdac, a, b, and c are coefficients related to the corresponding resistors and DC voltages, and Y is the electrical output signal of 103.

[0082] The gain changes the brightness by changing the current of the laser emitter, and then changes the resistance value of the photosensitive resistor to change the magnitude of the gain A. The bias is changed by changing the output voltage B. The ratio between the average value and the peak-to-peak value after real-time operation calculation is used to change the gain and offset to ensure that the signals at both ends are highly consistent.

[0083] It is necessary to accurately restore the signals on the light-emitting side and the photosensitive side 1:1. In the process of converting the electrical signal into an optical signal, the laser emitter is not stable. When an electric current is input to the laser emitter, the output laser intensity will change with the ambient temperature, and at the same time, the material will decay, resulting in a gradual decrease in the conversion efficiency as the working time increases, which will affect the light intensity reaching the photosensitive side. Eventually, A and B change.

[0084] Physically, B mainly represents the threshold current of the laser, which changes with the ambient temperature. A represents the photoelectric conversion efficiency or coefficient of the laser, mainly including the luminous efficiency: changing with temperature and decaying with working years; the light transmission efficiency, which decays during transmission in the optical fiber.

[0085] The relationship between the luminous intensity of the laser and the current is usually non-linear, and the specific characteristics depend on the type and working state of the laser.

[0086] Based on this, preferably, the photosensitive side compensation device includes:

[0087] The first acquisition circuit is used to acquire the electrical output signal;

[0088] A first processor for parsing the electrical output signal to generate a first parsed signal;

[0089] A data sending circuit for sending the first parsed signal to the light-emitting side processing device.

[0090] The light-emitting side processing device includes:

[0091] A second acquisition circuit for acquiring an electrical input signal;

[0092] A data receiving circuit for receiving the first parsed signal sent by the photosensitive side compensation device;

[0093] A second processor for calculating a bias signal and a gain signal according to the first parsed signal and the second parsed signal.

[0094] Wherein, by comparing the first parsed signal and the second parsed signal, the peak-to-peak value of the signal is obtained, and the gain compensation signal is calculated according to the peak-to-peak value; and in combination with time delay compensation (time alignment), the error and the average value of each acquisition moment of the first parsed signal and the second parsed signal are compared to calculate the bias compensation signal; and then the adjusted gain signal and bias signal are input until the electrical input signal and the electrical output signal are consistent. For example, if the electrical input signal is 3Vp-p and the electrical output signal is 2.8Vp-p, the gain signal needs to be increased by 7%.

[0095] Preferably, through PI control, by comparing the first parsed signal and the second parsed signal, the peak-to-peak value of the comparison signal is input into the PI controller, which represents the error between the electrical input signal and the electrical output signal, and the gain signal is output through the PI controller. The gain signal is adjusted until the electrical input signal and the electrical output signal are equal.

[0096] At the same time, through PI control, by comparing the first parsed signal and the second parsed signal, the error and / or the average value of the error of each moment of the comparison signal are input into the PI controller, which represents the error between the electrical input signal and the electrical output signal, and the bias signal is output through the PI controller. The bias signal is adjusted until the electrical input signal and the electrical output signal are equal.

[0097] The photosensitive side compensation device transmits the first parsed signal through the optical fiber channel between the light-emitting side and the photosensitive side.

[0098] Analog channel: On the light-emitting side, the electrical input signal controls a laser emitting diode to emit laser through a controller, and the laser is transmitted in the optical fiber to a receiver; in the receiver, a photodiode generates a current under laser irradiation and is converted into an output signal through a converter.

[0099] Digital channel: At the transmitter, the microcontroller outputs a digital signal, and the controller controls the laser transceiver to emit laser light, which is transmitted through the optical fiber to the receiver; at the receiver, the laser transceiver generates an electric current when irradiated by the laser light, which is converted into a digital signal by the converter and output to the receiver microcontroller for processing. The receiver microcontroller also outputs a digital signal, and the controller controls the laser transceiver to emit laser light, which is transmitted through the optical fiber to the transmitter; at the transmitter, the laser transceiver generates an electric current when irradiated by the laser light, which is converted into a digital signal by the converter and output to the transmitter microcontroller for processing.

[0100] Among them, the digital channel samples conventional wavelength division multiplexing and shares a physical optical fiber.

[0101] Based on the hardware foundation of the embodiments of the present application, through the algorithm fitting of the first processor and the second processor, it is possible to realize the change of voltage on the photosensitive side and the synchronous gain and offset adjustment on the light-emitting side, correct the changes caused by the temperature characteristics, and eliminate the errors between the light-emitting side and the photosensitive side.

[0102] Furthermore, in one embodiment, the present application also provides an optical isolation compensation processing method for the optical isolation double compensation system as described in any one of the above, and the method includes:

[0103] S1. Control the system to collect the output signal of the photosensitive side and the electrical input signal of the light-emitting side respectively at the first frequency;

[0104] S2. Analyze the collected output signal of the photosensitive side and the electrical input signal of the light-emitting side;

[0105] S3. Align the collected and analyzed output signal of the photosensitive side and the electrical input signal of the light-emitting side in time;

[0106] S4. Calculate the peak error between the analyzed output signal and the electrical input signal and the real-time error or error mean within the preset period;

[0107] S5. Generate a gain compensation signal and a bias compensation signal respectively according to the peak error and the real-time error or error mean within the preset period, so that the output signal of the photosensitive side is equal to the electrical input signal of the light-emitting side.

[0108] Preferably, the method further includes:

[0109] S6. If the error is less than / greater than the preset value and lasts for the preset number of sampling periods, control the system to collect the output signal of the sensitive side and the electrical input signal of the light-emitting side at the second frequency;

[0110] Among them, the second frequency is less than / greater than the first sampling frequency.

[0111] In one embodiment, the results before and after adjusting the sine input signal wave by the above scheme of the present application are asFigure 5 As shown, it can be seen from the results that before adjustment, there are certain differences between the peak value of the output waveform and some waveform values and the input. Through the comparison and calculation of the input waveform and each sampled signal of the output, the error of the corresponding signal is obtained in this application. Then, after the PI controller controls the gain compensation module and the bias compensation module to output compensation adjustment signals for adjustment respectively, the output-side signal can be quickly made equal to the input signal, and this application has a high adjustment frequency and accuracy.

[0112] It should be noted that for the hardware basis provided in the embodiments of this application, the algorithm is calibrated based on the voltage function relationship, and the algorithm can be adjusted according to the hardware characteristics of the light-emitting side, which is not within the protection scope of this application.

[0113] For this application, there are also the following points to note:

[0114] (1) The accompanying drawings of the embodiments of this application only relate to the structures involved in the embodiments of this application, and other structures can refer to the general design.

[0115] (2) For the sake of clarity, in the accompanying drawings used to describe the embodiments of the present invention, the thickness and size of the layer or structure are enlarged. It can be understood that when an element such as a layer, film, region or substrate is referred to as being "on" or "under" another element, the element can be "directly" on or under the other element, or there can be intermediate elements.

[0116] (3) Without conflict, the embodiments of this application and the features in the embodiments can be combined with each other to obtain new embodiments. The above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. The protection scope of this application shall be subject to the protection scope of the claims.

[0117] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0118] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0119] The above embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. An optical isolation light-emitting side compensation device, characterized in that The device includes: A signal input module for inputting an electrical input signal and outputting a first reference signal according to the electrical input signal; A bias compensation module for inputting a bias signal and superimposing the bias signal on the first reference signal to form a first operation signal; A gain compensation module for inputting a gain signal, outputting a first optical control signal according to the gain signal, and converting the first optical control signal into a second operation signal of gain; A superimposing control module for performing a superimposing operation on the first operation signal and the second operation signal, and outputting a second laser control signal according to the operation result to control a laser emitting tube to generate a light source.

2. The optical isolation light-emitting side compensation device according to claim 1, wherein The signal input module includes: A first resistor, to which the electrical input signal is input to one end; The other end of the first resistor is respectively connected to an input end of the superimposing control module and one end of a second resistor grounded.

3. The optical isolation light-emitting side compensation device according to claim 2, wherein The bias compensation module includes: A fourth resistor, to which the bias signal is input to one end; The other end of the fourth resistor is connected to one end of a third resistor, and the other end of the third resistor is respectively connected to an input end of the superimposing control module and one end of a second resistor grounded, so as to superimpose the bias signal on the first reference signal.

4. The optical isolation light-emitting side compensation device according to claim 1, characterized in that, The gain compensation module includes a first operational amplifier and an optocoupler isolator, wherein: The input gain signal is connected to the non-inverting input terminal of the first operational amplifier through an impedance matching resistor; The output terminal of the first operational amplifier is connected to the anode of the internal light-emitting device of the optocoupler isolator through a current-limiting resistor to form a current drive channel; The cathode of the light-emitting device is feedback-connected to the inverting input terminal of the first operational amplifier to form a closed-loop circuit, and the cathode of the light-emitting device is connected to a grounded resistor; A parallel capacitor is provided between the output terminal and the inverting input terminal of the first operational amplifier for filtering.

5. The optical isolation light-emitting side compensation device according to claim 4, wherein The optocoupler isolator includes a light-emitting diode and a photoresistor, and the superimposing control module includes a second operational amplifier and a laser, wherein: The output terminal of the second operational amplifier is connected to one end of the laser, and the other end of the laser is feedback-connected to the inverting input terminal of the second operational amplifier to form a closed-loop circuit; One end of the photoresistor is grounded, and the other end is connected to the inverting input terminal of the second operational amplifier, so as to change the resistance value according to the light emission of the light-emitting diode to generate a gain signal to control the gain of the second operational amplifier.

6. The optical isolation light-emitting side compensation device according to any one of claims 1-5, characterized in that, The device further includes a first PI control module and a second PI control module, wherein: The first PI control module is used to generate a gain compensation signal according to the peak error between the output signal of the photosensitive side and the electrical input signal, and input the gain compensation signal into the gain compensation module; The second PI control module is used to generate a bias compensation signal according to the error or mean error between the output signal of the photosensitive side and the preset sampling moment of the electrical input signal, and input the bias compensation signal into the bias compensation module.

7. An optical isolation double compensation system, characterized in that, It includes: A photosensitive side compensation device for collecting an electrical output signal, analyzing the electrical output signal to generate a first analysis signal, and sending the first analysis signal to a light-emitting side processing device; A light-emitting side processing device, configured to collect an electrical input signal and generate a second parsed signal based on the electrical input signal, and further configured to receive the first parsed signal and calculate a bias signal and a gain signal based on the first parsed signal and the second parsed signal; The optical isolation light-emitting side compensation device according to any one of claims 1 to 6.

8. The optical isolation dual compensation system according to claim 7, wherein The system includes: A signal acquisition unit, respectively configured to collect an electrical output signal and an electrical input signal; A signal parsing and processing unit, configured to parse the electrical output signal / electrical input signal; A data sending unit, configured to send the first and second parsed signals to the light-emitting side processing device; A signal processing unit, configured to calculate a bias signal and a gain signal based on the first parsed signal and the second parsed signal.

9. An optical isolation compensation processing method for use in the system according to any one of claims 7-8, characterized in that The method includes: Controlling the system to collect the photosensitive side output signal and the light-emitting side electrical input signal at a first frequency respectively; Parsing the collected photosensitive side output signal and the light-emitting side electrical input signal; Calculating the peak error between the parsed output signal and the electrical input signal and the real-time error or error mean within a preset period; Generating a gain compensation signal and a bias compensation signal respectively according to the peak error and the real-time error or error mean within the preset period, so that the photosensitive side output signal and the light-emitting side electrical input signal are equal.

10. The method according to claim 9, wherein The method further includes: If the error is greater than a preset value and lasts for a preset number of sampling periods, controlling the system to collect the photosensitive side output signal and the light-emitting side electrical input signal at a second frequency, where the second frequency is greater than the first frequency; or, If the error is less than a preset value and lasts for a preset number of sampling periods, controlling the system to collect the photosensitive side output signal and the light-emitting side electrical input signal at a second frequency, where the second frequency is less than the first frequency.

Citation Information

Patent Citations

  • Voltage signal amplifying circuit

    CN107819444A

  • Feedback circuit with temperature compensation function

    CN218352398U