Optical switching module and control system
The conversion of electrical signals to optical signals is realized through the optical transfer module, which solves the problem of electrical signals being easily disturbed in industrial control systems, improves the stability of signal transmission and the maintainability of the system, adapts to different application scenarios, and reduces the complexity of the system.
Patent Information
- Application Number
- CN202510583020.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2025-07-04
AI Technical Summary
In existing industrial control systems, the electrical signal communication between the controller and the driver is susceptible to electromagnetic interference, resulting in unstable signal transmission, high system complexity, poor scalability and flexibility, making it difficult to meet the needs of high-speed and high-precision applications.
The optical conversion module is used to convert the electrical signal and the optical signal in two-way direction. The electrical signal interference is monitored through the photoelectric converter and generates a state signal, reducing the complexity of the system. It adopts a modular design and optical fiber connection for easy installation and maintenance.
It improves the anti-interference ability of the signal, simplifies the maintenance process, enhances the maintainability and flexibility of the system, adapts to different application scenarios, reduces the integration complexity and improves compatibility.
Smart Images

Figure CN120263289A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of industrial control and its automation, and particularly relates to an optical transfer module and a control system. Background Art
[0002] In an industrial control system, the communication between a controller and a driver usually relies on electrical signal transmission. However, this traditional method is vulnerable to electromagnetic interference (EMI), especially in a complex electromagnetic environment or during long-distance transmission, where data transmission is unstable. In the prior art, multiple relay modules are usually introduced between the controller and the driver, with one designated as the host relay and the others as slave relays. Through RS485 communication connection, the slave relays are responsible for receiving and forwarding the target signal sent by the controller to the driver, while the host relay polls each slave relay at preset times to receive signals and makes adjustments based on this information to ensure that the target control signal is accurately transmitted to the driver.
[0003] The deficiencies of the prior art include: Although relay modules are added, the communication still relies on RS485 electrical signal communication and is vulnerable to electromagnetic interference (EMI). Especially in the complex electromagnetic conditions of an industrial environment, even with relay modules, signal transmission may still be interfered with, affecting the stability and reliability of communication. In addition, it is necessary to compare and regulate the transmitted signals, which increases the complexity of the system and raises the overall maintenance cost. When there is a problem with the transmission line or different lengths of transmission lines are required, the cables must be remade, resulting in poor scalability and flexibility, making it inconvenient for the system to be quickly adjusted and upgraded, and the data transmission rate of the communication is relatively low, making it difficult to meet the requirements of high-speed and high-precision applications, limiting the response speed and real-time performance of the system.
[0004] Therefore, in view of the above technical problems, it is necessary to provide an optical transfer module and a control system. Summary of the Invention
[0005] The purpose of the present invention is to provide an optical transfer module and a control system, which can reduce the complexity of the communication system between the controller and the driver. The optical transfer module only performs optoelectronic signal conversion and monitors whether the input electrical signal is interfered with, without the need to communicate with the CPU.
[0006] To achieve the above purpose, the technical solution provided by a specific embodiment of the present invention is as follows:
[0007] An optical transfer module, the optical transfer module includes a first optical transfer unit and a plurality of second optical transfer units;
[0008] The first optical transfer unit and each of the second optical transfer units respectively include at least one group of optoelectronic converters, which are used to realize the bidirectional conversion between electrical signals and optical signals, and are used to monitor the electrical signals and generate a status signal for characterizing whether the electrical signals are interfered;
[0009] The first optical transfer unit further includes a power supply unit, which is electrically connected to the optoelectronic converters and provides a first power supply voltage for all the optoelectronic converters.
[0010] In one or more embodiments of the present invention, the optoelectronic converter includes a first signal conversion unit, a second signal conversion unit, an optoelectronic conversion unit and an interference detection unit, the electrical signal includes a first differential signal and a second differential signal, and the optical signal includes a first optical signal and a second optical signal;
[0011] The first signal conversion unit is used to convert the first differential signal into a first single-ended signal, and is used to convert the second single-ended signal into a second differential signal;
[0012] The second signal conversion unit is connected to the first signal conversion unit, and is used to convert the first single-ended signal into a first low-voltage differential signal, and is used to convert the second low-voltage differential signal into the second single-ended signal;
[0013] The optoelectronic conversion unit is connected to the second signal conversion unit, and is used to convert the first low-voltage differential signal into a first optical signal for output, and is used to receive the second optical signal and convert the second optical signal into a second low-voltage differential signal;
[0014] The interference detection unit is connected to the first signal conversion unit, and is used to perform signal processing based on at least two first single-ended signals and generate the status signal.
[0015] In one or more embodiments of the present invention, the power supply unit includes a control unit, a fault reporting unit, a first optoelectronic isolation unit and a second optoelectronic isolation unit;
[0016] The control unit is connected to the first signal conversion unit, the first signal conversion unit is used to convert an external differential control signal into a single-ended control signal, the control unit controls the power-on or power-off of the first power supply voltage based on the single-ended control signal, and the first optoelectronic isolation unit is connected between the first signal conversion unit and the control unit to achieve electrical isolation;
[0017] The fault reporting unit is connected to the first signal conversion unit. The fault reporting unit is configured to generate a fault reporting single-ended signal based on the operating state of the power supply unit. The first signal conversion unit is configured to convert the fault reporting single-ended signal into a fault reporting differential signal and transmit it to the outside. The second opto-isolation unit is connected between the first signal conversion unit and the fault reporting unit to achieve electrical isolation.
[0018] In one or more embodiments of the present invention, the first opto-isolation unit includes a first opto-coupler, a first transistor, a first matching resistor, and a second matching resistor. The first input terminal of the first opto-coupler is connected to the second power supply voltage, the second input terminal is directly or indirectly connected to the first signal conversion unit, the first output terminal is connected to the ground potential, the second output terminal is connected to the first end of the first matching resistor, the second end of the first matching resistor is connected to the first end of the second matching resistor and the base of the first transistor, the second end of the second matching resistor is connected to the emitter of the first transistor and the operating voltage, and the collector of the first transistor is connected to the control unit; and / or,
[0019] The second opto-isolation unit includes a second opto-coupler. The first input terminal of the second opto-coupler is directly or indirectly connected to the fault reporting unit, the second input terminal is connected to the ground potential, the first output terminal is connected to the ground potential, the second output terminal is directly or indirectly connected to the second power supply voltage, and the second output terminal of the second opto-coupler is connected to the first signal conversion unit.
[0020] In one or more embodiments of the present invention, the first signal conversion unit includes a differential-to-single-ended signal chip and a single-ended-to-differential signal chip. The input terminal of the differential-to-single-ended signal chip receives a first differential signal, and the output terminal is connected to the second signal conversion unit, configured to convert the first differential signal into a first single-ended signal, and convert an external differential control signal into a single-ended control signal. The input terminal of the single-ended-to-differential signal chip is connected to the second signal conversion unit and receives a second single-ended signal, configured to convert the second single-ended signal into a second differential signal and output the second differential signal through its output terminal, and configured to convert the fault reporting single-ended signal into a fault reporting differential signal and transmit it to the outside; and / or,
[0021] The second signal conversion unit includes a low-voltage differential to single-ended signal chip and a single-ended to low-voltage differential signal chip. The input end of the low-voltage differential to single-ended signal chip receives the first low-voltage differential signal, and the output end is connected to the first signal conversion unit, which is used to convert the first low-voltage differential signal into a second single-ended signal. The input end of the single-ended to low-voltage differential signal chip is connected to the first signal conversion unit and receives the first single-ended signal, and the output end is connected to the optoelectronic conversion unit, which is used to convert the first single-ended signal into a second low-voltage differential signal.
[0022] In one or more embodiments of the present invention, the optoelectronic conversion unit includes a transmitter peripheral circuit, a receiver peripheral circuit, and a communication status monitoring unit;
[0023] The transmitter peripheral circuit includes a first capacitor, a second capacitor, a first resistor, and a first diode assembly. The first ends of the first capacitor and the second capacitor are used to receive the first low-voltage differential signal. The second end of the first capacitor is connected to the first end of the first resistor and the first end of the first diode assembly. The second end of the second capacitor is connected to the second end of the first resistor and the second end of the first diode assembly. The third end of the first diode assembly is connected to the ground voltage;
[0024] The receiver peripheral circuit includes a third capacitor, a fourth capacitor, a second resistor, and a second diode assembly. The first ends of the third capacitor and the fourth capacitor are used to generate the second low-voltage differential signal. The second end of the third capacitor is connected to the first end of the second resistor and the first end of the second diode assembly. The second end of the fourth capacitor is connected to the second end of the second resistor and the second end of the second diode assembly. The third end of the second diode assembly is connected to the ground voltage;
[0025] The communication status monitoring unit includes a first diode, a third resistor, a fourth resistor, and a third transistor. The first end of the third resistor is directly or indirectly connected to the receiver, the second end is connected to the base of the third transistor, the collector of the third transistor is connected to the ground potential, the emitter is connected to the cathode of the first diode, the anode of the first diode is connected to the first end of the fourth resistor, and the second end of the fourth resistor is connected to the first power supply voltage.
[0026] In one or more embodiments of the present invention, the interference detection unit includes a first NOT gate, a second NOT gate, a first AND gate, a second AND gate, and an OR gate;
[0027] The input terminal of the first NOT gate receives a first single-ended signal, the input terminal of the second NOT gate receives an adjacent first single-ended signal, the output terminal of the first NOT gate is connected to the first input terminal of the first AND gate, the second input terminal of the first AND gate receives an adjacent first single-ended signal, and the output terminal is connected to the first input terminal of the OR gate. The first input terminal of the second AND gate is connected to the output terminal of the second NOT gate, the second input terminal of the second AND gate receives the first single-ended signal, and the output terminal is connected to the second input terminal of the OR gate. The output terminal of the OR gate generates a status signal.
[0028] In one or more embodiments of the present invention, the interference detection unit further includes a timer and a second diode. The input pin of the timer is connected to the output terminal of the OR gate and receives the status signal. The cathode of the second diode is connected to the output pin of the timer, and the anode is connected to the first power supply voltage.
[0029] The technical solution provided by another specific embodiment of the present invention is as follows:
[0030] A control system includes: a controller, a driver, and an optical transfer module according to any one of the embodiments;
[0031] The optical transfer module includes a first optical transfer unit and a plurality of second optical transfer units. The first optical transfer unit and each second optical transfer unit respectively include at least one group of optoelectronic converters. The optoelectronic converters are used to realize the bidirectional conversion between electrical signals and optical signals, and are used to monitor the electrical signals and generate a status signal for characterizing whether the electrical signals are interfered. The first optical transfer unit includes a power supply unit, and the power supply unit is electrically connected to the optoelectronic converters and provides a first power supply voltage for all optoelectronic converters;
[0032] The controller is electrically connected to the optoelectronic converters and is used to generate and receive electrical signals;
[0033] The driver is connected to the optoelectronic converters through optical fibers.
[0034] In one or more embodiments of the present invention, the optical transfer module includes a first optical transfer unit and two second optical transfer units. The first optical transfer unit and each second optical transfer unit respectively include two groups of optoelectronic converters; and / or, the number of drivers is less than or equal to the number of optoelectronic converters.
[0035] Compared with the prior art, the optical transfer module and control system of the present invention improve the anti-interference ability of signals by converting electrical signals into optical signals for communication. The first optical transfer unit provides the first power supply voltage for multiple second optical transfer units. When any second optical transfer unit has a problem, only the faulty second optical transfer unit needs to be replaced, without replacing the entire optical transfer module, which improves the maintainability and flexibility of the system. Moreover, only optoelectronic signal conversion is required inside the optical transfer module, without the need to interact with the CPU, reducing the maintenance complexity;
[0036] The optical transfer module adopts a modular design, which can be seamlessly connected to the existing control system, and is convenient for connecting multiple devices, adapting to different application scenarios, reducing the integration complexity and improving the compatibility;
[0037] The electrical signal interference detection function is realized through the interference detection unit, which can quickly locate the fault location when a problem occurs;
[0038] The optical transfer module converts electrical signals into optical signals for communication, improving the anti-interference ability of the signals between the controller and the driver. The optical transfer module and the driver are connected by optical fiber, and the optical fiber can be cut on-site according to the actual required length, which is convenient for installation and later maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0040] Figure 1 It is a structural block diagram of an optical transfer module of the present invention;
[0041] Figure 2 It is a structural schematic diagram of the first optical transfer unit in Embodiment 1 of the present invention;
[0042] Figure 3a It is a circuit schematic diagram of the first optoelectronic isolation unit in Embodiment 1 of the present invention;
[0043] Figure 3b It is a circuit schematic diagram of the second optoelectronic isolation unit in Embodiment 1 of the present invention;
[0044] Figure 4 It is a circuit schematic diagram of the optical port of the optoelectronic conversion unit in Embodiment 1 of the present invention;
[0045] Figure 5 It is a circuit schematic diagram of the interference detection unit in Embodiment 1 of the present invention;
[0046] Figure 6 This is the system block diagram of the control system in Embodiment 1 of the present invention. Detailed implementation manners
[0047] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0048] Unless otherwise clearly stated, throughout the specification and claims, the term "comprise" or its variations such as "comprises" or "including" etc. will be understood to include the stated elements or components, without excluding other elements or other components.
[0049] "Coupled" or "connected" or "linked" in the specification includes both direct connection and indirect connection. Indirect connection is a connection through an intermediate medium, such as a connection through an electrical conduction medium, which may have parasitic inductance or parasitic capacitance; indirect connection may also include a connection through other active devices or passive devices on the basis of achieving the same or similar functional purposes, such as a connection through circuits or components such as switches and follower circuits. In addition, in the present invention, words such as "first" and "second" are mainly used to distinguish one technical feature from another technical feature, and do not necessarily require or imply that there is a certain actual relationship, quantity or order between these technical features.
[0050] In the detailed description of the specification, reference is made to the accompanying drawings that form a part of it, in which the same reference numerals always represent the same components, and which are shown by way of exemplary embodiments that can be implemented. It should be understood that other embodiments can be utilized without departing from the scope of the present application, and structural or logical changes can be made. Therefore, the following detailed description should not be considered restrictive.
[0051] The various operations in the specification can be described as a plurality of discrete actions or operations in the order that is most helpful for understanding the claimed subject matter. However, the described order should not be construed as implying that these operations must be order-related. Specifically, these operations may not be executed in the order presented. The described operations can be executed in an order different from the described embodiments. Various additional operations can be performed in additional embodiments and / or the described operations can be omitted.
[0052] Various components and devices may be referred to or shown in the singular form in this document (for example, "MOS tube", "transistor", "switch", etc.), but this is only for convenience of discussion, and any element mentioned in the singular form may include multiple such elements according to the teachings of this document.
[0053] The specification describes the use of phrases "in this embodiment" or "in other embodiments" or "in some embodiments", which can each refer to one or more of the same or different embodiments. In addition, the terms "including", "comprising", "having", etc. used in relation to the embodiments of the present application are synonymous.
[0054] like Figure 1 As shown, the present invention discloses an optical adapter module, including a first optical adapter unit 10 and a plurality of second optical adapter units 20, the first optical adapter unit 10 and each second optical adapter unit 20 respectively include at least one group of photoelectric converters 30, the photoelectric converters 30 are used to realize bidirectional conversion between electrical signals and optical signals, and are used to monitor electrical signals and generate status signals for characterizing whether the electrical signals are interfered with, the first optical adapter unit 10 includes a power supply unit 11, the power supply unit 11 is electrically connected to the photoelectric converters 30 and provides a first power supply voltage G5V for all photoelectric converters 30.
[0055] Furthermore, the present invention also discloses a control system, which includes a controller, a driver and an optical adapter module, wherein the controller is electrically connected to the photoelectric converter in the optical adapter module for generating and receiving electrical signals, and the driver is connected to the photoelectric converter via an optical fiber.
[0056] The present invention is further described below in conjunction with specific embodiments.
[0057] Embodiment 1:
[0058] Combination Figure 1 and Figure 2 As shown, this embodiment discloses an optical adapter module, which includes a first optical adapter unit 10 and a plurality of second optical adapter units 20. The first optical adapter unit 10 and each second optical adapter unit 20 respectively include at least one group of photoelectric converters 30. The photoelectric converters 30 are used to realize bidirectional conversion between electrical signals and optical signals, and to monitor electrical signals and generate status signals for characterizing whether the electrical signals are interfered with. The first optical adapter unit 10 includes a power supply unit 11, which is electrically connected to the photoelectric converters 30 and provides a first power supply voltage G5V for all photoelectric converters 30.
[0059] In this embodiment, the first optical transfer unit 10 is taken as an example for illustration. It can be understood that except for the power supply unit 11, the remaining structure of the first optical transfer unit 10 is similar to that of the second optical transfer unit 20. In this embodiment, one group of first optical transfer units 10 and two groups of second optical transfer units 20 are provided, and the first optical transfer unit 10 and the second optical transfer unit 20 each include two groups of optical-electric converters 30.
[0060] As Figure 2 shown, the optical-electric converter 30 in this embodiment includes a first signal conversion unit 31, a second signal conversion unit 32, an optical-electric conversion unit 33, and an interference detection unit 34. The electrical signals include a first differential signal TX± and a second differential signal RX±, and the optical signals include a first optical signal and a second optical signal. It should be noted that in this embodiment, the first differential signal TX± and the second differential signal RX± are used to distinguish the signals generated and received by the first signal conversion unit 31. Among them, the first differential signal TX1± is an external electrical signal received by the first signal conversion unit 31 (such as a control electrical signal from an external controller), and the second differential signal RX1± is an electrical signal obtained by converting the optical signal multiple times.
[0061] The first signal conversion unit 31 is used to realize the bidirectional conversion between differential signals and single-ended signals, specifically including converting the external first differential signal TX± into a first single-ended signal TX1, and converting the second single-ended signal RX1 into a second differential signal RX±.
[0062] The second signal conversion unit 32 is connected to the first signal conversion unit 31 and is used to realize the bidirectional conversion between low-voltage differential signals and single-ended signals, specifically including converting the first single-ended signal TX1 into a first low-voltage differential signal O_TX1±, and converting the second low-voltage differential signal O_RX1± into a second single-ended signal RX1.
[0063] The optical-electric conversion unit 33 is connected to the second signal conversion unit 32 and is used to realize the bidirectional conversion between low-voltage differential signals and optical signals, specifically including: the optical-electric conversion unit 33 is used to convert the first low-voltage differential signal O_TX1± into a first optical signal for output, and receive the second optical signal and convert the second optical signal into a second low-voltage differential signal O_RX1±.
[0064] The interference detection unit 34 is connected to the first signal conversion unit 31 and is used to perform signal processing based on at least two adjacent first single-ended signals TX1 (such as the first single-ended signal TX1 and the first single-ended signal nTX1) and generate a status signal XOR_TX1.
[0065] As Figure 2As shown, the power supply unit 11 includes a control unit 111, a fault reporting unit 113, a first opto-isolation unit 112, and a second opto-isolation unit 114. The power supply unit 11 is used to generate a first power supply voltage G5V of about 5V based on a 24V operating voltage.
[0066] Further, the control unit 111 is connected to a first signal conversion unit 31. The first signal conversion unit 31 is used to convert an external differential control signal PON± into a single-ended control signal PON. The control unit 111 controls the power-on or power-off of the first power supply voltage G5V based on the single-ended control signal PON. The first opto-isolation unit 112 is connected between the first signal conversion unit 31 and the control unit 111 to achieve electrical isolation.
[0067] The fault reporting unit 113 is connected to the first signal conversion unit 31. The fault reporting unit 113 is used to generate a fault reporting single-ended signal O_FLT based on the operating state of the power supply unit 11. The first signal conversion unit 31 is used to convert the fault reporting single-ended signal O_FLT into a fault reporting differential signal FLT± and transmit it to the outside. The second opto-isolation unit 114 is connected between the first signal conversion unit 31 and the fault reporting unit 113 to achieve electrical isolation.
[0068] As Figure 3a shown, the first opto-isolation unit 112 includes a first opto-coupler U1, a first transistor Q1, a first matching resistor r1, a second matching resistor r2, a third matching resistor r3, a fourth matching resistor r4, and a first matching capacitor c1.
[0069] Specifically, the first end of the third matching resistor r3 is connected to the first signal conversion unit 31 and receives the single-ended control signal PON. The second end of the third matching resistor r3 is connected to the first end of the fourth matching resistor r4 and the second input terminal 2 of the first opto-coupler U1. The second end of the fourth matching resistor r4 and the first input terminal 1 of the first opto-coupler U1 are connected to the second power supply voltage G3V3. The first output terminal 3 of the first opto-coupler U1 is connected to the ground potential. The second output terminal 4 of the first opto-coupler U1 is connected to the first end of the first matching resistor r1. The second end of the first matching resistor r1 is connected to the first end of the second matching resistor r2 and the base of the first transistor Q1. The second end of the second matching resistor r2 is connected to the emitter of the first transistor Q1 and the operating voltage E24V. The collector of the first transistor Q1 is connected to the control unit 111. The first end of the first matching capacitor c1 is connected to the operating voltage E24V, and the second end is connected to the ground potential. The second power supply voltage in this embodiment is a 3.3V power supply voltage, and the operating voltage E24V is a 24V operating voltage. Further, the control unit 111 controls the power-on or power-off of the first power supply voltage G5V based on the isolated single-ended control signal PON_OUT.
[0070] As shown Figure 3b in FIG. 2, the second opto - isolation unit 114 includes a second opto - coupler U2, a fifth matching resistor r5, a sixth matching resistor r6, a seventh matching resistor r7, a second matching capacitor c2, and a third matching capacitor c3.
[0071] Specifically, the first end of the fifth matching resistor r5 is connected to the fault reporting unit 113 and receives the un - isolated single - ended signal FLT generated by the fault reporting unit 113. The second end is connected to the first end of the sixth matching resistor r6, the first end of the second matching capacitor c2, and the first input terminal 1 of the second opto - coupler U2. The second end of the sixth matching resistor r6, the second end of the second matching capacitor c2, and the second input terminal 2 of the second opto - coupler U2 are connected to the ground potential. The first output terminal 3 of the second opto - coupler U2 is connected to the ground potential. The second output terminal 4 of the second opto - coupler U2 is connected to the first signal conversion unit 31 and generates an isolated fault reporting single - ended signal O_FLT. The first end of the seventh matching resistor r7 is connected to the second output terminal 4 of the second opto - coupler U2, and the second end is connected to the second power supply voltage G3V3. The first end of the third matching capacitor c3 is connected to the second power supply voltage G3V3, and the second end is connected to the ground potential.
[0072] In the first opto - isolation unit 112 and the second opto - isolation unit 114 of this embodiment, the circuit structure is simple and the cost is low, which can meet the requirements of isolation transmission. The amplitude of the output signal (i.e., PON_OUT) is compensated by the first transistor Q1 to improve the data transmission rate of the first opto - isolation unit 112.
[0073] As shown Figure 2 in FIG. 3, the first signal conversion unit 31 in this embodiment includes a differential - to - single - ended signal chip and a single - ended - to - differential signal chip.
[0074] The input terminal of the differential - to - single - ended signal chip receives the first differential signal TX± and the differential control signal PON± from outside the optical transfer module. The output terminal is connected to the second signal conversion unit 32, and is used to convert the first differential signal TX± into a first single - ended signal TX1, and convert the differential control signal PON± from outside the optical transfer module into a single - ended control signal PON. The input terminal of the single - ended - to - differential signal chip is connected to the second signal conversion unit 32 and receives the second single - ended signal RX1, and is used to convert the second single - ended signal RX1 into a second differential signal RX± and output the second differential signal RX± through its output terminal, and convert the fault reporting single - ended signal into a fault reporting differential signal FLT± and transmit it to the outside.
[0075] The second signal conversion unit 32 includes a low-voltage differential to single-ended signal chip and a single-ended to low-voltage differential signal chip. The input terminal of the low-voltage differential to single-ended signal chip receives the first low-voltage differential signal O_TX1±, and the output terminal is connected to the first signal conversion unit 31, which is used to convert the first low-voltage differential signal O_TX1± into a second single-ended signal RX1. The input terminal of the single-ended to low-voltage differential signal chip is connected to the first signal conversion unit 31 and receives the first single-ended signal TX1, and the output terminal is connected to the optoelectronic conversion unit 33, which is used to convert the first single-ended signal TX1 into a second low-voltage differential signal O_RX1±. In this embodiment, the differential to single-ended signal chip realizes the corresponding function through different enable configurations of the DS34C86 chip. The single-ended to differential signal chip can realize the corresponding function through enable configuration of the DS34C87 chip. The low-voltage differential to single-ended signal chip and the single-ended to low-voltage differential signal chip can realize the corresponding function through enable configuration of the MS2111 chip.
[0076] Combined Figure 1 with Figure 2 As shown in the figure, the optical transfer module in this embodiment further includes a plurality of input / output interfaces 35, a transmit / receive optical port 36, a first power supply interface 37, and a second power supply interface 38.
[0077] Specifically, each group of optoelectronic converters 30 in this embodiment respectively includes a corresponding input / output interface 35 (to distinguish the input / output interfaces of each optoelectronic converter in the Figure 1 shown optical transfer module, here they are distinguished by CN1, CN2, CN3, and CN4, where CN1 and CN2 respectively correspond to the input / output interfaces of the two optoelectronic converters 30 in the first optical transfer unit 10, and CN3 and CN4 respectively correspond to the input / output interfaces of the two optoelectronic converters 30 in the second optical transfer unit 20).
[0078] Each group of optoelectronic converters 30 in this embodiment respectively includes a corresponding transmit / receive optical port 36 (to distinguish the transmit / receive optical ports 36 of each optoelectronic converter in the Figure 1 shown optical transfer module, here they are distinguished by CN9, CN10, CN5, and CN6, where CN9 and CN10 respectively correspond to the transmit / receive optical ports of the two optoelectronic converters 30 in the first optical transfer unit 10, and CN5 and CN6 respectively correspond to the transmit / receive optical ports of the two optoelectronic converters 30 in the second optical transfer unit 20).
[0079] In addition, each second optical transfer unit 20 in this embodiment is respectively provided with a first power supply interface 37, the first optical transfer unit 10 is provided with a second power supply interface 38, and the number of the second power supply interfaces 38 is equal to the number of the second optical transfer units 20. And each first power supply interface 37 is internally electrically connected to one of the second power supply interfaces 38. For easy distinction, Figure 1CN13 shown is the first power interface 37 of the second optical transfer unit 20, and CN7 and CN8 are the second power interfaces 38.
[0080] As Figure 2 shown, taking an optical - electrical converter 30 of the first optical transfer unit 10 as an example, the input - output interface CN1 includes an input interface IN CN1 and an output interface OUT CN1. One end of the input interface IN CN1 is connected to the input end of the differential - to - single - ended signal chip, and one end of the output interface OUT CN1 is connected to the output end of the single - ended - to - differential signal chip. It can be understood that the other ends of the input - output interface CN1 (including the input interface IN CN1 and the output interface OUT CN1) are connected to an external controller 40. Correspondingly, the transmit - receive optical port CN10 includes a receive optical port RX and a transmit optical port TX.
[0081] The power supply unit 11 is electrically connected to the optical - electrical converter 30 in the first optical transfer unit 10 and the second power interface 38. The power supply unit 11 directly provides a first power voltage G5V for the optical - electrical converter 30 in the first optical transfer unit 10, and transmits the first power voltage G5V to the first power interface 37 through the second power interface 38. The first power interface 37 is electrically connected to the optical - electrical converter 30 in the second optical transfer unit 20 and provides the first power voltage G5V.
[0082] As Figure 4 shown, the optical - electrical conversion unit 33 includes a transmit - receive optical port 36, a transmitter peripheral circuit, a receiver peripheral circuit, and a communication status monitoring unit. The transmit - receive optical port 36 is connected to an optical fiber, and the transmitter peripheral circuit, the receiver peripheral circuit, and the communication status monitoring unit are all connected to the transmit - receive optical port 36.
[0083] The transmitter peripheral circuit includes a first capacitor C1, a second capacitor C2, a first resistor R1, and a first diode assembly 61. The first ends of the first capacitor C1 and the second capacitor C2 are used to receive a first low - voltage differential signal O_TX1±. The second end of the first capacitor C1 is connected to the first end of the first resistor R1 and the first end of the first diode assembly 61. The second end of the second capacitor C2 is connected to the second end of the first resistor R1 and the second end of the first diode assembly 61. The third end of the first diode assembly 61 is connected to the ground voltage. The first capacitor C1 and the second capacitor C2 are used for AC coupling, and the first resistor R1 is used for impedance matching.
[0084] The peripheral circuit of the receiver includes a third capacitor C3, a fourth capacitor C4, a second resistor R2, and a second diode assembly 62. The first ends of the third capacitor C3 and the fourth capacitor C4 are used to generate a second low-voltage differential signal O_RX1±. The second end of the third capacitor C3 is connected to the first end of the second resistor R2 and the first end of the second diode assembly 62. The second end of the fourth capacitor C4 is connected to the second end of the second resistor R2 and the second end of the second diode assembly 62. The third end of the second diode assembly 62 is connected to the ground voltage. The third capacitor C3 and the fourth capacitor C4 are used to achieve AC coupling, and the second resistor R2 is used to achieve impedance matching.
[0085] The communication status monitoring unit includes a first diode D1, a third resistor R3, a fourth resistor R4, and a third transistor Q3. The first end of the third resistor R3 is directly or indirectly connected to the receiver, the second end is connected to the base of the third transistor Q3, the collector of the third transistor Q3 is connected to the ground potential, the emitter is connected to the cathode of the first diode D1, the anode of the first diode D1 is connected to the first end of the fourth resistor R4, and the second end of the fourth resistor R4 is connected to the first power supply voltage G5V.
[0086] The data transmission frequency in this embodiment is 20Mhz, and the communication status is characterized by the on / off of the first diode D1: when an optical signal is received, the SD1 signal is high, and conversely, when no optical signal is received, the SD1 signal becomes low.
[0087] As Figure 5 shown, the interference detection unit 34 includes a first NOT gate I1, a second NOT gate I2, a first AND gate A1, a second AND gate A2, an OR gate O1, a timer U3, and a second diode D2.
[0088] The input end of the first NOT gate I1 receives a first single-ended signal TX1. The input end of the second NOT gate I2 receives an adjacent first single-ended signal TX1. The output end of the first NOT gate I1 is connected to the first input end of the first AND gate A1. The second input end of the first AND gate A1 receives an adjacent first single-ended signal nTX1, and the output end is connected to the first input end of the OR gate O1. The first input end of the second AND gate A2 is connected to the output end of the second NOT gate I2. The second input end of the second AND gate A2 receives the first single-ended signal TX1, and the output end is connected to the second input end of the OR gate O1. The output end of the OR gate O1 generates a status signal XOR_TX1. The input pin of the timer U3 is connected to the output end of the OR gate O1 and receives the status signal XOR_TX1. The cathode of the second diode D2 is connected to the output pin Output of the timer U3, and the anode is connected to the first power supply voltage G5V.
[0089] Furthermore, in this embodiment, the first NOT gate I1 and the second NOT gate I2 are obtained by configuring the chip SN74HC14, the timer U3 is a 555 timer chip LM555CMX, the first AND gate A1 and the second AND gate A2 are configured by the AND gate chip SN74HC08, and the OR gate O1 is configured by the OR gate chip SN74HC32. Under normal working conditions, the nTX1 and TX1 signals are 0 and 1 (two different values), respectively, and the state signal XOR_TX1 is 1 at this time. When there is interference, the nTX1 and TX1 signals will be 1 or 0 at the same time, and the state signal XOR_TX1 is 0 at this time. In this embodiment, the state signal XOR_TX1 is input to the TRIG pin of the 555 timer chip LM555CMX, and the 555 timer chip LM555CMX is used to delay the state signal XOR_TX1, and control whether the second diode D2 emits light through the output of the 555 timer, so as to judge whether there is interference through the display state of the second diode D2.
[0090] Furthermore, the peripheral circuit of the timer U3 further includes a fifth resistor R5, and the fifth resistor R5 is connected between the output pin Output of the timer U3 and the second diode.
[0091] Embodiment 2:
[0092] like Figure 6 As shown, this embodiment provides a control system, including: a controller 40, a driver 50 and an optical switching module;
[0093] The optical switching module includes a first optical switching unit 10 and a plurality of second optical switching units 20. The first optical switching unit 10 and each second optical switching unit 20 respectively include at least one group of photoelectric converters 30. The photoelectric converters 30 are used to realize bidirectional conversion between electrical signals and optical signals, and are used to monitor electrical signals and generate status signals for characterizing whether the electrical signals are interfered with. The first optical switching unit 10 includes a power supply unit 11. The power supply unit 11 is electrically connected to the photoelectric converters 30 and provides a first power supply voltage G5V for all the photoelectric converters 30.
[0094] The controller 40 is electrically connected to the photoelectric converter 30 and is used to generate and receive electrical signals;
[0095] The driver 50 is connected to the photoelectric converter 30 via an optical fiber.
[0096] It is understandable that the number of drivers 50 is less than or equal to the number of optoelectronic converters 30. In this embodiment, the optical switching module includes a first optical switching unit 10 and two second optical switching units 20, and the first optical switching unit 10 and each second optical switching unit 20 respectively include two groups of optoelectronic converters 30. The optical switching module in this embodiment is only responsible for the conversion of optoelectronic signals and does not interact with the CPU for data, which simplifies the system architecture and reduces the complexity of later maintenance.
[0097] The first optical switching unit 10 provides a first power supply voltage G5V for multiple second optical switching units 20. This design ensures that even if a single second optical switching unit 20 has a problem, there is no need to replace the entire optical switching module, but only need to replace the faulty second optical switching unit 20, thereby improving the maintainability and flexibility of the system.
[0098] The interface of the controller 40 can be connected to any input / output interface of the optical adapter module, and it is only necessary to connect the transmitting / receiving optical port corresponding to the input / output interface to the optical port of the driver 50. The optical adapter module in this embodiment is equipped with 6 transmitting / receiving optical ports, which can simultaneously connect 6 drivers 50 and 6 controller 40 interfaces, and can adapt to the number of feed axes with high-speed and high-precision requirements in machine tools in the CNC field.
[0099] In this embodiment, the optical switching module is connected to the driver 50 via an optical fiber, and the optical fiber can be cut on site according to the actual required length, which is convenient for installation and subsequent maintenance, and further enhances the scalability and adaptability of the system.
[0100] It can be seen from the above technical solutions that the present invention has the following beneficial effects:
[0101] The present invention provides a first power supply voltage for multiple second optical switching units through a first optical switching unit, ensuring that even if a single second optical switching unit has a problem, it is not necessary to replace the entire optical switching module, and only the faulty second optical switching unit needs to be replaced, thereby improving the maintainability and flexibility of the system, and the optical switching module only needs to perform photoelectric signal conversion and does not need to interact with the CPU, thereby reducing the complexity of maintenance;
[0102] The optical switching module adopts a modular design, which can be seamlessly connected with the existing control system and conveniently connect multiple devices to adapt to different application scenarios, reducing integration complexity and improving compatibility;
[0103] The interference detection unit realizes the electrical signal interference detection function, which can quickly locate the fault part when a problem occurs;
[0104] The optical adapter module converts electrical signals into optical signals for communication, which improves the anti-interference ability of the signals between the controller and the driver. The optical adapter module and the driver are connected by optical fiber, which can be cut on site according to the actual required length, facilitating installation and subsequent maintenance.
[0105] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0106] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. An optical switching module, characterized in that: The optical switching module includes a first optical switching unit and a plurality of second optical switching units; The first optical switching unit and each of the second optical switching units respectively include at least one group of photoelectric converters, the photoelectric converters are used to realize bidirectional conversion between electrical signals and optical signals, and are used to monitor electrical signals and generate status signals for indicating whether the electrical signals are interfered with; The first optical switching unit further includes a power supply unit, which is electrically connected to the photoelectric converters and provides a first power supply voltage for all the photoelectric converters.
2. The optical transfer module according to claim 1, wherein The photoelectric converter includes a first signal conversion unit, a second signal conversion unit, a photoelectric conversion unit and an interference detection unit, the electrical signal includes a first differential signal and a second differential signal, and the optical signal includes a first optical signal and a second optical signal; The first signal conversion unit is used to convert the first differential signal into a first single-ended signal, and is used to convert the second single-ended signal into a second differential signal; The second signal conversion unit is connected to the first signal conversion unit, and is used to convert the first single-ended signal into a first low-voltage differential signal, and is used to convert the second low-voltage differential signal into the second single-ended signal; The photoelectric conversion unit is connected to the second signal conversion unit, and is used to convert the first low voltage differential signal into a first optical signal for output, and is used to receive the second optical signal and convert the second optical signal into a second low voltage differential signal; The interference detection unit is connected to the first signal conversion unit, and is used for performing signal processing based on at least two first single-ended signals and generating the state signal.
3. The optical switching module according to claim 2, characterized in that: The power supply unit includes a control unit, a fault reporting unit, a first photoelectric isolation unit and a second photoelectric isolation unit; The control unit is connected to the first signal conversion unit, the first signal conversion unit is used to convert an external differential control signal into a single-ended control signal, the control unit controls the first power supply voltage to be powered on or off based on the single-ended control signal, and the first photoelectric isolation unit is connected between the first signal conversion unit and the control unit to achieve electrical isolation; The fault reporting unit is connected to the first signal conversion unit, the fault reporting unit is used to generate a fault reporting single-ended signal based on the working status of the power supply unit, the first signal conversion unit is used to convert the fault reporting single-ended signal into a fault reporting differential signal and transmit it to the outside, and the second photoelectric isolation unit is connected between the first signal conversion unit and the fault reporting unit to achieve electrical isolation.
4. The optical switching module according to claim 3, characterized in that: The first opto-isolation unit includes a first opto-coupler, a first transistor, a first matching resistor, and a second matching resistor. The first input terminal of the first opto-coupler is connected to the second power supply voltage, the second input terminal is directly or indirectly connected to the first signal conversion unit, the first output terminal is connected to the ground potential, the second output terminal is connected to the first end of the first matching resistor, the second end of the first matching resistor is connected to the first end of the second matching resistor and the base of the first transistor, the second end of the second matching resistor is connected to the emitter of the first transistor and the operating voltage, and the collector of the first transistor is connected to the control unit; and / or, The second opto-isolation unit includes a second opto-coupler. The first input terminal of the second opto-coupler is directly or indirectly connected to the fault reporting unit, the second input terminal is connected to the ground potential, the first output terminal is connected to the ground potential, the second output terminal is directly or indirectly connected to the second power supply voltage, and the second output terminal of the second opto-coupler is connected to the first signal conversion unit.
5. The optical transfer module according to claim 3, characterized in that, The first signal conversion unit includes a differential-to-single-ended signal chip and a single-ended-to-differential signal chip. The input terminal of the differential-to-single-ended signal chip receives a first differential signal, and the output terminal is connected to the second signal conversion unit, which is used to convert the first differential signal into a first single-ended signal and convert an external differential control signal into a single-ended control signal. The input terminal of the single-ended-to-differential signal chip is connected to the second signal conversion unit and receives a second single-ended signal, which is used to convert the second single-ended signal into a second differential signal and output the second differential signal through its output terminal, and is used to convert a fault reporting single-ended signal into a fault reporting differential signal and transmit it to the outside; and / or, The second signal conversion unit includes a low-voltage differential-to-single-ended signal chip and a single-ended-to-low-voltage differential signal chip. The input terminal of the low-voltage differential-to-single-ended signal chip receives a first low-voltage differential signal, and the output terminal is connected to the first signal conversion unit, which is used to convert the first low-voltage differential signal into a second single-ended signal. The input terminal of the single-ended-to-low-voltage differential signal chip is connected to the first signal conversion unit and receives a first single-ended signal, and the output terminal is connected to the opto-electronic conversion unit, which is used to convert the first single-ended signal into a second low-voltage differential signal.
6. The optical transfer module according to claim 2, characterized in that, The opto-electronic conversion unit includes a transmitter peripheral circuit, a receiver peripheral circuit, and a communication status monitoring unit; The transmitter peripheral circuit includes a first capacitor, a second capacitor, a first resistor, and a first diode assembly. The first ends of the first capacitor and the second capacitor are used to receive the first low-voltage differential signal. The second end of the first capacitor is connected to the first end of the first resistor and the first end of the first diode assembly. The second end of the second capacitor is connected to the second end of the first resistor and the second end of the first diode assembly. The third end of the first diode assembly is connected to the ground voltage; The peripheral circuit of the receiver includes a third capacitor, a fourth capacitor, a second resistor, and a second diode assembly. The first ends of the third capacitor and the fourth capacitor are used to generate the second low-voltage differential signal. The second end of the third capacitor is connected to the first end of the second resistor and the first end of the second diode assembly. The second end of the fourth capacitor is connected to the second end of the second resistor and the second end of the second diode assembly. The third end of the second diode assembly is connected to the ground voltage; The communication status monitoring unit includes a first diode, a third resistor, a fourth resistor, and a third transistor. The first end of the third resistor is directly or indirectly connected to the receiver, and the second end is connected to the base of the third transistor. The collector of the third transistor is connected to the ground potential, and the emitter is connected to the cathode of the first diode. The anode of the first diode is connected to the first end of the fourth resistor, and the second end of the fourth resistor is connected to the first power supply voltage.
7. The optical transfer module according to claim 2, wherein The interference detection unit includes a first NOT gate, a second NOT gate, a first AND gate, a second AND gate, and an OR gate; The input end of the first NOT gate receives a first single-ended signal. The input end of the second NOT gate receives an adjacent first single-ended signal. The output end of the first NOT gate is connected to the first input end of the first AND gate. The second input end of the first AND gate receives an adjacent first single-ended signal, and the output end is connected to the first input end of the OR gate. The first input end of the second AND gate is connected to the output end of the second NOT gate. The second input end of the second AND gate receives the first single-ended signal, and the output end is connected to the second input end of the OR gate. The output end of the OR gate generates a status signal.
8. The optical switching module according to claim 7, characterized in that: The interference detection unit further includes a timer and a second diode. The input pin of the timer is connected to the output end of the OR gate and receives the status signal. The cathode of the second diode is connected to the output pin of the timer, and the anode is connected to the first power supply voltage.
9. A control system, characterized in that, Comprising: A controller, a driver, and an optical transfer module according to any one of claims 1 to 8; The optical transfer module includes a first optical transfer unit and a plurality of second optical transfer units. The first optical transfer unit and each second optical transfer unit respectively include at least one group of optoelectronic converters. The optoelectronic converters are used to realize the bidirectional conversion between electrical signals and optical signals, and are used to monitor the electrical signals and generate a status signal for characterizing whether the electrical signals are interfered. The first optical transfer unit includes a power supply unit, and the power supply unit is electrically connected to the optoelectronic converters and provides a first power supply voltage for all optoelectronic converters; The controller is electrically connected to the optoelectronic converters and is used to generate and receive electrical signals; The driver is connected to the optoelectronic converters through an optical fiber.
10. The control system according to claim 9, characterized in that, The optical transfer module includes a first optical transfer unit and two second optical transfer units. The first optical transfer unit and each second optical transfer unit respectively include two groups of optoelectronic converters; And / or, the number of the drivers is less than or equal to the number of the optoelectronic converters.