Mode switching module and mode switching control method
By designing a mode switching module and utilizing a combination of a fiber unit, a four-way optical unit, and an MCU unit, automatic mode switching of the Combo ONU optical module is achieved, solving the problems of cumbersome operation and high cost in existing technologies and meeting the diverse needs of users.
Patent Information
- Application Number
- CN202310717174.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-15
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2043-06-15
AI Technical Summary
Existing Combo ONU optical modules have tedious replacement work, complex operations and high costs when switching modes, making it difficult to meet users' diverse needs for uplink bandwidth.
A mode switching module is designed, including a media access control (MAC) module and a mode switching module. By combining an optical fiber unit, a four-way optical unit, and a microcontroller (MCU) unit, the module automatically switches the optical mode using software, hardware, or adaptive mode, thereby reducing manual operation.
It realizes automatic switching between different modes, reduces operation complexity and cost, and meets users' diverse bandwidth needs.
Smart Images

Figure CN116633439B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of optical communications, and in particular to a mode switching module and a method for controlling mode switching. Background Art
[0002] The current optical communications market is large, and the demand for optical modules is enormous. Currently, the Combo Optical Network Unit (Combo ONU), which is a combination of 10-Gigabit-capable symmetric passive optical network (XGSPON) optical modules, integrates Gigabit Passive Optical Network (GPON) optical modules, XGS PON optical modules, and a WDM combiner. Optical transmission is performed in either XGSPON ONU or GPON ONU mode.
[0003] The main PON technologies currently in use are GPON and XG PON, both of which are asymmetric. Due to the overall asymmetry of user uplink / downlink data, data shows that the average uplink traffic at the optical line terminal (OLT) is only 22% of the downlink traffic. The technical characteristics of asymmetric PON generally match user needs. However, as user demands increase, more and more scenarios are prioritizing uplink bandwidth, driving demand for XGS PON. Diverse user needs have driven the emergence of Combo ONU optical module mode switching. Currently, Combo ONU optical modules achieve conversion between XGS PON ONU mode and GPON ONU mode through manual switching and replacement of ONU devices. However, this involves cumbersome replacement work, increased workload, complex operations, high costs, and issues with optical transmission loss. Summary of the Invention
[0004] In view of this, in order to solve the above-mentioned technical problem of manually operating light mode switching, the embodiments of the present application provide a mode switching module and a method for controlling mode switching.
[0005] In a first aspect, an embodiment of the present application provides a mode switching module, including:
[0006] Media access control MAC module, mode switching module;
[0007] The MAC module is connected to the mode switching module;
[0008] The output end of the mode switching module is connected to an external device, and the input end is connected to the output end of the first power supply;
[0009] The mode switching module includes a first optical fiber unit, a second optical fiber unit, a four-way light unit, and a microcontroller MCU unit;
[0010] The positive receiving end of the first optical fiber unit is connected to the positive data receiving end of the MAC module, the negative receiving end is connected to the negative data receiving end of the MAC module, the positive transmitting end is connected to the positive data transmitting end of the MAC module, the negative transmitting end is connected to the first ground end, the input end is connected to the first output end of the MAC module, the first output end is connected to the first input end of the four-directional optical unit, and the second output end is connected to the first input end of the MCU unit;
[0011] The positive receiving end of the second optical fiber unit is connected to the positive data receiving end of the MAC module, the negative receiving end is connected to the negative data receiving end of the MAC module, the positive transmitting end is connected to the second ground end, the negative transmitting end is connected to the negative data transmitting end of the MAC module, the input end is connected to the first output end of the MAC module, the first output end is connected to the second input end of the four-directional optical unit, and the second output end is connected to the second input end of the MCU unit;
[0012] The output end of the four-directional light unit is connected to an external device;
[0013] The third input terminal of the MCU unit is connected to the second output terminal of the MAC module, the fourth input terminal is connected to the third output terminal of the MAC module, the first output terminal is connected to the first input terminal of the MAC module, and the second output terminal is connected to the second input terminal of the MAC module;
[0014] The fourth output terminal of the MAC module is connected to the internal ground terminal of the mode switching module.
[0015] In a possible implementation, the four-directional optical unit includes: a first photon unit, a second photon unit, and a combiner;
[0016] The first output end of the first photon unit is connected to the first input end of the first optical fiber unit, the second input end is connected to the second input end of the first optical fiber unit, the first input end is connected to the first output end of the first optical fiber unit, the second input end is connected to the second output end of the first optical fiber unit, and the third output end is connected to the first input end of the combiner;
[0017] The first output end of the second photon unit is connected to the first input end of the second optical fiber unit, the second output end is connected to the second input end of the second optical fiber unit, the first input end is connected to the first output end of the second optical fiber unit, the second input end is connected to the second output end of the second optical fiber unit, and the third output end is connected to the second input end of the combiner;
[0018] The output end of the combiner is connected to an external device.
[0019] In a possible implementation, the mode switching module further includes: a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor, a seventh capacitor, an eighth capacitor, and a ninth capacitor;
[0020] One end of the first resistor and one end of the second resistor are connected to the output end of the first power supply, and the other end of the first resistor is connected to the forward receiving end of the first optical fiber unit and one end of the fifth capacitor;
[0021] The other end of the second resistor is connected to the negative receiving end of the first optical fiber unit and one end of the sixth capacitor;
[0022] The other end of the fifth capacitor is connected to the forward data receiving end of the MAC module and one end of the seventh capacitor;
[0023] The other end of the sixth capacitor is connected to the negative data receiving end of the MAC module and one end of the eighth capacitor;
[0024] The other end of the seventh capacitor is connected to the forward receiving end of the second optical fiber unit;
[0025] The other end of the eighth capacitor is connected to the negative receiving end of the second optical fiber unit;
[0026] One end of the third resistor is connected to the reverse transmitting end of the first optical fiber unit, and the other end is connected to one end of the first capacitor, and the other end of the first capacitor is connected to the first ground end;
[0027] One end of the fourth resistor is connected to the forward transmitting end of the first optical fiber unit and one end of the third capacitor, and the other end is connected to one end of the second capacitor, and the other end of the second capacitor is connected to the first ground end;
[0028] The other end of the third capacitor is connected to the forward data transmitting end of the MAC module;
[0029] One end of the fourth capacitor is connected to the negative transmitting end of the second optical fiber unit, and the other end is connected to the negative data transmitting end of the MAC module;
[0030] One end of the fifth resistor is connected to the forward transmitting end of the second optical fiber unit, and the other end is connected to one end of the ninth capacitor;
[0031] The other end of the ninth capacitor is connected to the second ground end.
[0032] In a possible implementation, the mode switching module further includes an internal power supply unit;
[0033] The module further includes a first inductor, a sixth resistor, a seventh resistor, a tenth capacitor, and an eleventh capacitor;
[0034] The first output end of the internal power supply unit is connected to one end of the tenth capacitor, one end of the eleventh capacitor, and one end of the first inductor, and the second output end is connected to the first output end of the internal power supply unit;
[0035] The other end of the first inductor is connected to the output end of the second power supply;
[0036] The other end of the tenth capacitor and the other end of the eleventh capacitor are connected to a third ground terminal;
[0037] One end of the sixth resistor is connected to the third input end of the MCU unit and the second output end of the MAC module, and the other end and one end of the seventh resistor are connected to the output end of the third power supply;
[0038] The other end of the seventh resistor is connected to the fourth input end of the MCU unit and the third output end of the MAC module.
[0039] In a second aspect, an embodiment of the present application provides a mode switching control method, which is applied to any mode switching module described in the first aspect, including:
[0040] After receiving the master mode selection request, the MAC module generates a corresponding master mode selection instruction;
[0041] Determining a target mode category according to the main mode selection instruction;
[0042] Determining a switching strategy of a mode switching module corresponding to a sub-mode according to the target mode category;
[0043] Control of the sub-modes is performed using the switching strategy.
[0044] In one possible implementation, determining the target mode category according to the main mode selection instruction includes:
[0045] Determining the category of the main mode selection instruction;
[0046] When the category of the main mode selection instruction is a hardware selection instruction, determining the category of the target mode to be a hardware mode;
[0047] When the category of the main mode selection instruction is a software selection instruction, determining the category of the target mode to be a software mode;
[0048] When the type of the main mode selection instruction is an adaptive selection instruction, the target mode type is determined to be an adaptive mode.
[0049] In a possible implementation, determining a switching strategy for a corresponding sub-mode according to the target mode category includes:
[0050] When the target mode category is a hardware mode, determining a first switching strategy corresponding to an optical fiber network XGS / GPON sub-mode in the hardware mode;
[0051] When the target mode category is software mode, determining a second switching strategy corresponding to the XGS / GPON sub-mode in the software mode;
[0052] When the target mode category is the adaptive mode, a third switching strategy corresponding to the XGS / GPON sub-mode in the adaptive mode is determined.
[0053] In a possible implementation, the controlling the sub-mode by using the switching strategy includes:
[0054] Calling a pre-stored target address and writing a first set value to the target address to start the hardware mode;
[0055] Acquire a level signal of a Pin9 interface of a MAC module according to a first switching strategy corresponding to the hardware mode;
[0056] When the level signal is a high level signal, the control mode switching module performs switching control of the XGSPON sub-mode;
[0057] When the level signal is a low level signal, the control mode switching module performs switching control of the GPON sub-mode.
[0058] In a possible implementation, the controlling the sub-mode by using the switching strategy includes:
[0059] Calling a pre-stored target address and writing a second set value to the target address to start the software mode;
[0060] Acquire a digital signal of the I2C interface in the MCU unit according to a second switching strategy corresponding to the software mode;
[0061] When the digital signal is 1, the switching control of the XGSPON sub-mode is executed;
[0062] When the digital signal is 0, the switching control of the GPON sub-mode is performed.
[0063] In a possible implementation, the controlling the sub-mode by using the switching strategy includes:
[0064] When determining the third switching strategy corresponding to the adaptive mode, obtaining an application mode of the optical line terminal OLT;
[0065] When the application mode of the OLT end is the XGSPON application mode, monitoring the first optical fiber unit to send the first optical signal of the MCU unit;
[0066] When it is detected that the first optical signal is the first target downlink light, performing switching control of the XGSPON sub-mode;
[0067] or,
[0068] When the application mode of the OLT end is the GPON application mode, monitoring the second optical fiber unit to send the second optical signal of the MCU unit;
[0069] When it is detected that the second optical signal is a second target downlink light, performing switching control of the GPON sub-mode;
[0070] or,
[0071] When the application mode of the OLT end is the consortium Combo application mode, determining the operating mode of the Combo ONU optical mode, the operating mode of the Combo ONU optical module includes the XGSPON ONU operating mode and the GPON ONU operating mode;
[0072] When the operating mode of the Combo ONU optical module is in the XGSPON ONU operating mode, monitoring the first optical signal of the MCU unit sent by the first optical fiber unit;
[0073] receiving the first optical signal through a MAC module and generating a first switching instruction for the MAC module;
[0074] determining a switching state of a power supply according to the first switching instruction, and executing a step of controlling the sub-mode by using a first switching strategy / a second switching strategy according to the switching state;
[0075] When the operating mode of the Combo ONU optical module is in the GPON ONU operating mode, monitoring the second optical signal of the MCU unit sent by the second optical fiber unit;
[0076] receiving the second optical signal through the MAC module and generating a second switching instruction for the MAC module;
[0077] The switching state of the power supply is determined according to the second switching instruction, and the step of controlling the sub-mode by using the first switching strategy / the second switching strategy is performed according to the switching state.
[0078] The mode switching solution provided by the embodiment of the present application is provided by setting a media access control MAC module and a mode switching module; the MAC module is connected to the mode switching module; the output end of the mode switching module is connected to an external device, and the input end is connected to the output end of a first power supply; wherein, the mode switching module includes a first optical fiber unit, a second optical fiber unit, a four-way optical unit, and a microcontroller MCU unit; the positive receiving end of the first optical fiber unit is connected to the positive data receiving end of the MAC module, the negative receiving end is connected to the negative data receiving end of the MAC module, the positive transmitting end is connected to the positive data transmitting end of the MAC module, the negative transmitting end is connected to the first ground end, the input end is connected to the first output end of the MAC module, the first output end is connected to the first input end of the four-way optical unit, and the second output end is connected to the first input end of the MCU unit; the second optical fiber unit is connected to the first input end of the MCU unit; The positive receiving end of the unit is connected to the positive data receiving end of the MAC module, the negative receiving end is connected to the negative data receiving end of the MAC module, the positive transmitting end is connected to the second ground end, the negative transmitting end is connected to the negative data transmitting end of the MAC module, the input end is connected to the first output end of the MAC module, the first output end is connected to the second input end of the four-directional light unit, and the second output end is connected to the second input end of the MCU unit; the output end of the four-directional light unit is connected to an external device; the third input end of the MCU unit is connected to the second output end of the MAC module, the fourth input end is connected to the third output end of the MAC module, the first output end is connected to the first input end of the MAC module, and the second output end is connected to the second input end of the MAC module; the fourth output end of the MAC module is connected to the internal ground end of the mode switching module. The four-way optical unit inside the mode switching module analyzes whether the received optical information is received by the first optical unit or the second optical fiber unit, thereby determining the module's operating mode. The optical signal is then fed back to the MAC module via the MCU unit, and the switching operation is performed through software, hardware, or adaptive mode. This solution can implement switching strategies for different modes, achieving the technical effects of saving costs, reducing manual operations, reducing the complexity of its conversion, and meeting the diverse needs of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0080] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0081] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0082] Figure 1 A schematic diagram of the structure of a mode switching module provided in an embodiment of the present application;
[0083] Figure 2 A schematic structural diagram of another mode switching module provided in an embodiment of the present application;
[0084] Figure 3 A flow chart of a mode switching control method provided in an embodiment of the present application;
[0085] Figure 4 A flow chart of another mode switching control method provided in an embodiment of the present application;
[0086] Figure 5 A schematic diagram of a flow chart of a first switching strategy provided in an embodiment of the present application;
[0087] Figure 6 A schematic diagram of a flow chart of a second switching strategy provided in an embodiment of the present application;
[0088] Figure 7 A schematic diagram of a flow chart of a third switching strategy provided in an embodiment of the present application;
[0089] Figure 8 This is a schematic diagram of the structure of the XGS / GPON Combo optical module provided in an embodiment of the present application. DETAILED DESCRIPTION
[0090] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0091] In the embodiments of this application, the terms "including" and "having" are intended to convey an open-ended, inclusive meaning and indicate that additional elements / components / etc. may be present in addition to the listed elements / components / etc. The terms "first" and "second" are used merely as labels and do not limit the quantity of their objects. Furthermore, the various elements and regions in the drawings are shown for schematic purposes only, and thus this application is not limited to the sizes or distances shown in the drawings.
[0092] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of this application and have no specific meaning. Therefore, "module" and "component" can be used interchangeably.
[0093] To facilitate understanding of the embodiments of the present application, further explanation will be given below with reference to specific embodiments in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present application.
[0094] A PON (Passive Optical Network) is a typical passive optical network (PON), meaning it lacks any electronic components or power supplies. A PON consists of an optical line terminal (OLT) installed at a central control station and a number of supporting optical network units (ONUs) installed at user locations.
[0095] Optical Network Units (ONUs) are categorized as active optical network units (ANUs) and passive optical network units (PNUs). Devices containing optical receivers, upstream optical transmitters, and multiple bridge amplifiers for network monitoring are generally called optical nodes. PONs use a single optical fiber to connect to the OLT, which then connects to the ONUs.
[0096] As the name implies, Combo means a combination. Combo PON is a combination of GPON and 10G GPON. It leverages the two technologies and adopts different bearer wavelengths, combining the two wavelengths within a single optical module to achieve independent transmission and reception of GPON and 10G GPON optical signals. While being compatible with existing GPON network services, it also provides high-bandwidth services on demand, reusing existing network equipment and optical distribution networks (ODNs). This avoids changes to existing network resources and the occupation of additional equipment room space. User-side ONU terminals can be replaced as needed based on service package upgrades, enabling rapid and smooth upgrades to high-bandwidth services.
[0097] Figure 1 A schematic diagram of the structure of a mode switching module provided in an embodiment of the present application. Applied to the optical mode switching process. Figure 1 According to the diagram provided, the mode switching module specifically includes:
[0098] Media Access Control (MAC) module 11 and mode switching module 12 .
[0099] The MAC module 11 is connected to the mode switching module 12 .
[0100] The output end of the mode switching module 12 is connected to an external device, and the input end is connected to the output end of the first power supply.
[0101] The mode switching module 12 includes a first optical fiber unit 121 , a second optical fiber unit 122 , a four-directional light unit 123 , and a microcontroller MCU unit 124 .
[0102] The positive receiving end of the first optical fiber unit 121 is connected to the positive data receiving end of the MAC module 11, the negative receiving end is connected to the negative data receiving end of the MAC module 11, the positive transmitting end is connected to the positive data transmitting end of the MAC module 11, the negative transmitting end is connected to the first ground end, the input end is connected to the first output end of the MAC module 11, the first output end is connected to the first input end of the four-directional optical unit 123, and the second output end is connected to the first input end of the MCU unit 124.
[0103] The positive receiving end of the second optical fiber unit 122 is connected to the positive data receiving end of the MAC module 11, the negative receiving end is connected to the negative data receiving end of the MAC module 11, the positive transmitting end is connected to the second ground end, the negative transmitting end is connected to the negative data transmitting end of the MAC module 11, the input end is connected to the first output end of the MAC module 11, the first output end is connected to the second input end of the four-directional optical unit 123, and the second output end is connected to the second input end of the MCU unit 124.
[0104] The output end of the four-directional light unit 123 is connected to an external device.
[0105] The third input terminal of the MCU unit 124 is connected to the second output terminal of the MAC module 11, the fourth input terminal is connected to the third output terminal of the MAC module 11, the first output terminal is connected to the first input terminal of the MAC module 11, and the second output terminal is connected to the second input terminal of the MAC module 11.
[0106] The fourth output terminal of the MAC module 11 is connected to the internal ground terminal of the mode switching module 12 .
[0107] Reference Figure 1 In the provided diagram, the MCU unit 124 in the mode switching module receives a 1G optical fiber signal (1G Lost Of Synchronous, 1G_LOS) by connecting to the first optical fiber unit and receives a 10G_LOS by connecting to the second optical fiber unit. By detecting optical signals of different wavelengths, the received optical signals are reported to the MAC module 11. The MAC module then issues a mode switching instruction to control the specified hardware unit in the MCU unit 124 to implement the mode switching operation. Alternatively, software logic is used to detect specific downlink optical data received by the first optical fiber unit 121 and the second optical fiber unit 122, and through analysis, it is determined whether the first optical fiber unit 121 or the second optical fiber unit 122 is working. The software logic is used to control the optical signal input to the four-way optical unit 123, and the received optical signals are integrated and output, thereby implementing the mode switching in the software environment. Similarly, a mode switching design is designed using a specified hardware interface on the MAC module 11. The MAC module 11 detects whether the hardware interface meets the conditions for switching the mode, and controls the state of the power switch of the first optical fiber unit 121 or the second optical fiber unit 122 through the hardware interface, thereby achieving the purpose of mode switching. Figure 1 The provided diagram shows that the optical signal sent by the optical terminal OLT is used to determine which optical mode the current optical signal belongs to, and then the mode switching is automatically completed through the adaptive mechanism. However, if the OLT cannot determine the optical mode, the MAC module 11 detects and executes the mode switching operation, which also achieves the purpose of mode switching, thereby implementing switching strategies for different modes, achieving the technical effect of saving costs, reducing manual operations, reducing the complexity of the conversion, and meeting the diverse needs of users.
[0108] The mode switching module provided in the embodiment of the present application is provided with a media access control MAC module and a mode switching module; the MAC module is connected to the mode switching module; the output end of the mode switching module is connected to an external device, and the input end is connected to the output end of the first power supply; wherein, the mode switching module includes a first optical fiber unit, a second optical fiber unit, a four-directional optical unit, and a microcontroller MCU unit; the positive receiving end of the first optical fiber unit is connected to the positive data receiving end of the MAC module, the negative receiving end is connected to the negative data receiving end of the MAC module, the positive transmitting end is connected to the positive data transmitting end of the MAC module, the negative transmitting end is connected to the first ground end, the input end is connected to the first output end of the MAC module, the first output end is connected to the first input end of the four-directional optical unit, and the second output end is connected to the first input end of the MCU unit; the second The positive receiving end of the optical fiber unit is connected to the positive data receiving end of the MAC module, the negative receiving end is connected to the negative data receiving end of the MAC module, the positive transmitting end is connected to the second ground end, the negative transmitting end is connected to the negative data transmitting end of the MAC module, the input end is connected to the first output end of the MAC module, the first output end is connected to the second input end of the four-directional optical unit, and the second output end is connected to the second input end of the MCU unit; the output end of the four-directional optical unit is connected to an external device; the third input end of the MCU unit is connected to the second output end of the MAC module, the fourth input end is connected to the third output end of the MAC module, the first output end is connected to the first input end of the MAC module, and the second output end is connected to the second input end of the MAC module; the fourth output end of the MAC module is connected to the internal ground end of the mode switching module. The four-way optical unit inside the mode switching module analyzes whether the received optical information is received by the first optical unit or the second optical fiber unit, thereby determining the module's operating mode. The optical signal is then fed back to the MAC module via the MCU unit, and the switching operation is performed through software, hardware, or adaptive mode. This solution can implement switching strategies for different modes, achieving the technical effects of saving costs, reducing manual operations, reducing the complexity of its conversion, and meeting the diverse needs of users.
[0109] In one possible example, the four-way optical unit includes: a first photon unit, a second photon unit and a combiner; the first output end of the first photon unit is connected to the first input end of the first optical fiber unit, the second input end is connected to the second input end of the first optical fiber unit, the first input end is connected to the first output end of the first optical fiber unit, the second input end is connected to the second output end of the first optical fiber unit, and the third output end is connected to the first input end of the combiner; the first output end of the second photon unit is connected to the first input end of the second optical fiber unit, the second output end is connected to the second input end of the second optical fiber unit, the first input end is connected to the first output end of the second optical fiber unit, the second input end is connected to the second output end of the second optical fiber unit, and the third output end is connected to the second input end of the combiner; the output end of the combiner is connected to an external device.
[0110] In a possible example, the mode switching module further includes: a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor, a seventh capacitor, an eighth capacitor and a ninth capacitor; one end of the first resistor and one end of the second resistor are connected to the output end of the first power supply, and the other end of the first resistor is connected to the positive receiving end of the first optical fiber unit and one end of the fifth capacitor; the other end of the second resistor is connected to the negative receiving end of the first optical fiber unit and one end of the sixth capacitor; the other end of the fifth capacitor is connected to the positive data receiving end of the MAC module and one end of the seventh capacitor; the other end of the sixth capacitor is connected to the negative data receiving end of the MAC module and one end of the eighth capacitor; the other end of the seventh capacitor is connected to the positive data receiving end of the second optical fiber unit. positive receiving end; the other end of the eighth capacitor is connected to the negative receiving end of the second optical fiber unit; one end of the third resistor is connected to the reverse transmitting end of the first optical fiber unit, and the other end is connected to one end of the first capacitor, and the other end of the first capacitor is connected to the first ground terminal; one end of the fourth resistor is connected to the positive transmitting end of the first optical fiber unit and one end of the third capacitor, and the other end is connected to one end of the second capacitor, and the other end of the second capacitor is connected to the first ground terminal; the other end of the third capacitor is connected to the positive data transmitting end of the MAC module; one end of the fourth capacitor is connected to the negative transmitting end of the second optical fiber unit, and the other end is connected to the negative data transmitting end of the MAC module; one end of the fifth resistor is connected to the positive transmitting end of the second optical fiber unit, and the other end is connected to one end of the ninth capacitor; the other end of the ninth capacitor is connected to the second ground terminal.
[0111] In one possible example, the mode switching module also includes an internal power supply unit; the module also includes a first inductor, a sixth resistor, a seventh resistor, a tenth capacitor and an eleventh capacitor; the first output end of the internal power supply unit is connected to one end of the tenth capacitor, one end of the eleventh capacitor and one end of the first inductor, and the second output end is connected to the first output end of the internal power supply unit; the other end of the first inductor is connected to the output end of the second power supply; the other end of the tenth capacitor and the other end of the eleventh capacitor are connected to the third ground end; one end of the sixth resistor is connected to the third input end of the MCU unit and the second output end of the MAC module, and the other end and one end of the seventh resistor are connected to the output end of the third power supply; the other end of the seventh resistor is connected to the fourth input end of the MCU unit and the third output end of the MAC module.
[0112] The following will be introduced as an example: a MAC module, a first optical fiber unit, a second optical fiber unit, an MCU unit, a four-way optical unit including: a first photon unit, a second photon unit and a combiner, a mode switching module also including: a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor, a seventh capacitor, an eighth capacitor and a ninth capacitor, the mode switching module also including an internal power supply unit; and the module also including a first inductor, a sixth resistor, a seventh resistor, a tenth capacitor and an eleventh capacitor. Figure 2 A schematic structural diagram of another mode switching module provided in an embodiment of the present application. Figure 2 This is introduced based on the previous embodiment. Figure 2 According to the diagram provided, the mode switching module specifically includes:
[0113] Media Access Control (MAC) module 11 and mode switching module 12 .
[0114] The mode switching module includes a first optical fiber unit 121 , a second optical fiber unit 122 , a four-directional light unit 123 , and a microcontroller MCU unit 124 .
[0115] The MAC module mentioned here is the main control chip, which is used to receive external response signals and feedback corresponding instructions, as well as to control various hardware structures and software structures. The mode switching module mentioned here is used to realize the switching of different optical modes in the optical module. For example, it is used for switching between GPON ONU optical mode and XGSPON ONU optical mode. The first optical fiber unit mentioned here is used to receive and send 1G GPON optical signals; the second optical fiber unit mentioned here is used to receive and send 10G XGSPON optical signals. The four-way optical unit mentioned here is used to integrate the received optical signals and the transmitted optical signals and output optical signals to external devices. The MCU unit mentioned here is used to receive software instructions sent by the MAC module, receive the 1G_LOS optical signal sent by the first optical fiber unit, and receive the 10G_LOS optical signal sent by the second optical fiber unit, and feed the optical signal back to the MAC module.
[0116] according to Figure 2 According to the provided diagram, the four-directional optical unit in the mode switching module includes: a first photon unit, a second photon unit and a combiner WDM.
[0117] The first output end of the first photon unit is connected to the first input end of the first optical fiber unit 121, the second input end is connected to the second input end of the first optical fiber unit 121, the first input end is connected to the first output end of the first optical fiber unit 121, the second input end is connected to the second output end of the first optical fiber unit 121, and the third output end is connected to the first input end of the combiner WDM.
[0118] The first output end of the second photonic unit is connected to the first input end of the second optical fiber unit 122, the second output end is connected to the second input end of the second optical fiber unit 122, the first input end is connected to the first output end of the second optical fiber unit 122, the second input end is connected to the second output end of the second optical fiber unit 122, and the third output end is connected to the second input end of the combiner WDM.
[0119] The output end of the WDM combiner is connected to an external device.
[0120] according to Figure 2The provided diagram shows that the mode switching module sets three mode switching modes; the first mode is through hardware switching: the MAC module controls the specified Pin9 interface to enter the hardware switching mode, and the mode selection is achieved by the different levels of the electrical signal received by the Pin9 interface; when the Pin9 interface is set to receive a high-level signal, the XGSPON ONU mode is selected, and when the Pin9 interface is set to receive a low-level signal, the GPON ONU mode is selected. The switching state of the first optical fiber unit and the second optical fiber unit is controlled by the BEN pin in the MAC module. Uplink and downlink optical communications are carried out between the first optical fiber unit and the first photon unit. The first photon unit is used to send the received downlink light to the combiner WDM. At the same time, the 1170nm uplink light and 1577nm downlink optical communications are carried out between the second optical fiber unit and the second photon unit. The received optical signal is sent to the combiner WDM, and the combiner WDM outputs the optical signal corresponding to the selected optical wavelength to provide the external device with the XGS / GPON ONU mode optical signal. The second method is switching through software: the MAC module controls the software interface to select the software mode, and then the MAC module outputs the I2C interface instruction to the MUC unit to select the optical mode. For example, the MAC module is controlled to input logic 1 to the I2C interface of the MCU unit, indicating that the XGSPON ONU mode is selected, and the MAC module is controlled to input logic 0 to the I2C interface of the MCU unit, indicating that the GPON ONU mode is selected. The third method is through adaptive switching: the optical mode is determined by the type of application signal sent by the OLT end. When the OLT end is an XGSPON OLT application, the corresponding transmitting end and receiving end are both in XGSPON ONU mode, detecting whether there is a 1G_LOS optical signal. When it is detected that 1G_LOS receives a 1490nm downstream optical signal, it automatically switches to the XGSPON ONU mode; when the OLT end is a GPON OLT application, the corresponding transmitting end and receiving end are both in GPON ONU mode, detecting whether there is a 10G_LOS optical signal. When it is detected that 10G_LOS receives a 1577nm downstream optical signal, it automatically switches to the GPON ONU mode; when the OLT end is a Combo OLT application, the corresponding transmitting end and receiving end are both in XGS / GPON ONU mode, and the MAC module controls the mode switching instruction to execute software switching or hardware switching.
[0121] according to Figure 2 According to the diagram provided, the mode switching module in the mode switching module also includes: a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, a sixth capacitor C6, a seventh capacitor C7, an eighth capacitor C8 and a ninth capacitor C9.
[0122] One end of the first resistor R1 and one end of the second resistor R2 are connected to the output end of the first power supply, and the other end of the first resistor R1 is connected to the forward receiving end of the first optical fiber unit 121 and one end of the fifth capacitor C5.
[0123] The other end of the second resistor R2 is connected to the negative receiving end of the first optical fiber unit 121 and one end of the sixth capacitor C6.
[0124] The other end of the fifth capacitor C5 is connected to the positive data receiving end of the MAC module 11 and one end of the seventh capacitor C7.
[0125] The other end of the sixth capacitor C6 is connected to the negative data receiving end of the MAC module 11 and one end of the eighth capacitor C8.
[0126] The other end of the seventh capacitor C7 is connected to the forward receiving end of the second optical fiber unit 122 .
[0127] The other end of the eighth capacitor C8 is connected to the negative receiving end of the second optical fiber unit 122 .
[0128] One end of the third resistor R3 is connected to the reverse transmitting end of the first optical fiber unit 121 , and the other end is connected to one end of the first capacitor C1 . The other end of the first capacitor C1 is connected to the first ground end.
[0129] One end of the fourth resistor R4 is connected to the forward transmitting end of the first optical fiber unit 121 and one end of the third capacitor C3 , and the other end is connected to one end of the second capacitor C2 , and the other end of the second capacitor C2 is connected to the first ground end.
[0130] The other end of the third capacitor C3 is connected to the forward data transmitting end of the MAC module 11 .
[0131] One end of the fourth capacitor C4 is connected to the negative transmitting end of the second optical fiber unit 122 , and the other end is connected to the negative data transmitting end of the MAC module 11 .
[0132] One end of the fifth resistor R5 is connected to the forward transmitting end of the second optical fiber unit 122 , and the other end is connected to one end of the ninth capacitor C9 .
[0133] The other end of the ninth capacitor C9 is connected to the second ground end.
[0134] Among them, the first resistor and the second resistor are 100Ω, the third resistor, the fourth resistor and the fifth resistor are 50Ω, and the first capacitor to the ninth capacitor are 0.1UF.
[0135] The positive transmitting end / negative transmitting end (TD+ / - end) of the MAC module is used as a single end through the 10G and 1G receiving ends, and 50Ω impedance matching is added on the basis of the original Combo ONU optical module to ensure that the input signal quality is considerable.
[0136] The positive receiving end and negative receiving end (RD+ / -) of the MAC module share a common connection, which will affect the 10G high-speed optical signal. Pull-up impedance matching is added at the 1G end to ensure the output signal quality of the 10G receiving end.
[0137] A 0.1UF capacitor is set at the positive / negative receiving end R+ / - and the positive / negative transmitting end T+ / - to filter out low-frequency ripple interference and stabilize the voltage.
[0138] according to Figure 2 In the diagram provided, the pull-up impedance matching purpose of the first optical fiber unit is achieved by the first resistor and the second resistor; the purpose of voltage stabilization and anti-interference is achieved by the RC loop composed of the first capacitor and the third resistor; the RC loop formed by the second capacitor and the fourth resistor also provides a stable voltage for the receiving end in the first optical fiber unit; the RC loop formed by the ninth capacitor and the fifth resistor provides a stable voltage for the receiving end of the second optical fiber unit.
[0139] according to Figure 2 According to the provided diagram, the mode switching module in the mode switching module further includes an internal power supply unit.
[0140] The module further includes a first inductor L, a sixth resistor R6, a seventh resistor R7, a tenth capacitor C10, and an eleventh capacitor C11.
[0141] The first output terminal of the internal power supply unit is connected to one end of the tenth capacitor C10, one end of the eleventh capacitor C11 and one end of the first inductor L, and the second output terminal is connected to the first output terminal of the internal power supply unit.
[0142] The other end of the first inductor L is connected to the output end of the second power supply.
[0143] The other end of the tenth capacitor C10 and the other end of the eleventh capacitor C11 are connected to the third ground.
[0144] One end of the sixth resistor R6 is connected to the third input end of the MCU unit 124 and the second output end of the MAC module 11 , and the other end and one end of the seventh resistor R7 are connected to the output end of the third power supply.
[0145] The other end of the seventh resistor R7 is connected to the fourth input end of the MCU unit 124 and the third output end of the MAC module 11 .
[0146] according to Figure 2In the diagram provided, the sixth and seventh resistors R6 and R7 are 10 kΩ in size. These resistors provide impedance matching for the I2C communication interface from the MAC module to the MCU. The first inductor L, the tenth and eleventh capacitors C10 and C11 provide a stable digital power signal for the internal power supply of the mode switching module. The IAC interface of the MAC module corresponds to the SDA data signal interface and the SCL clock signal interface, providing software logic signals to the MCU. The LOS interface of the MAC module receives optical signals sent by the MCU, and the Pin 9 interface of the MAC module receives hardware signals fed back from the MCU. The output of the MAC is connected to the internal ground terminal of the mode switching module.
[0147] The mode switching module provided in the present application sets a MAC module and a mode switching module, and controls the MCU unit to select a specified optical mode through software control of the MAC module; executes hardware control of the MCU unit to select a specified optical mode through a specified pin of the MAC module, and then uses a combiner WDM to integrate the optical signal based on the downlink light received by the first optical fiber unit or the second optical fiber unit, and outputs the switched optical signal to an external device; or analyzes the application of the optical module at the OLT end and the wavelength of the optical signal received by the MCU unit to determine the optical mode, thereby realizing adaptive switching of the optical mode; when the OLT end is in a ComboOLT application, the switching instruction of the MAC module is used to execute software switching or hardware switching operations, and similarly realize switching processing of different optical modes, thereby realizing switching strategies of different modes, thereby achieving the technical effects of saving costs, reducing manual operations, reducing the complexity of its conversion, and meeting the diverse needs of users.
[0148] Figure 3 A flow chart of a mode switching control method provided in an embodiment of the present application. Applied in a mode switching module. Figure 3 The control method for mode switching specifically includes:
[0149] S301. After receiving a master mode selection request, the MAC module generates a corresponding master mode selection instruction.
[0150] This application is used in optical mode automatic switching applications. By setting the hardware switching mode, software switching mode and adaptive switching mode, the switching logic is executed using the switching mode selected by the user. The system logic is controlled through the specified I2C software interface, and different optical modes are distinguished according to the size of the signal set by the software interface to implement the mode switching operation; different signal sizes are set by controlling the specified pin interface through the MAC module, and different optical modes are set according to different signals, and the mode switching operation is implemented by controlling the received signal; different control methods are used according to different OLT end applications: when the OLT end is in single-ended application, the wavelength size of the received optical signal is determined by analysis to implement automatic mode switching operation; when the OLT end is in Combo application mode, after the MAC module outputs the control instruction to select the optical mode, automatic mode switching is implemented by software switching or hardware switching.
[0151] The master mode mentioned here can be understood as a variety of ways to implement optical mode switching. The master mode selection request here can be understood as a request sent by the user or interactively selected to select a specific mode switching method. The master mode selection instruction here can be understood as a control instruction generated by the MAC module of the main control chip to specify a mode switching operation.
[0152] Furthermore, after the main control chip receives the main mode selection request sent by the external device or user terminal, it is parsed by the MAC module of the main control chip and generates the corresponding main mode selection instruction to prepare for the next step of optical mode switching.
[0153] S302: Determine the target mode category according to the main mode selection instruction.
[0154] The target mode category mentioned here can be understood as a specified mode switching category among multiple switching modes.
[0155] Furthermore, the main mode selection instruction is sent to the mode switching module through the MAC module. After analysis, the category of the mode switching method specified in the information contained in the main mode selection instruction is determined, preparing for the next step of executing different optical mode switching according to the specified mode switching method.
[0156] S303: Determine a switching strategy for a sub-mode corresponding to the mode switching module according to the target mode category.
[0157] The sub-modes mentioned here can be understood as different light mode categories that the device supports and can switch to. The switching strategies mentioned here can be understood as the specific execution steps corresponding to each mode switching method.
[0158] Furthermore, after selecting a specific mode switching method, different execution strategies corresponding to different mode switching methods are obtained according to the structure of the mode switching module, in preparation for the next step of switching the optical mode.
[0159] S304: Use the switching strategy to control the sub-mode.
[0160] The control mentioned here can be understood as the operation process of mode switching.
[0161] Furthermore, according to the specified mode switching strategy and the structural design of the mode switching module, automatic switching of different light modes can be achieved, and switching strategies of different modes can be implemented, thereby achieving the technical effect of saving costs, reducing manual operations, reducing the complexity of conversion and meeting the diverse needs of users.
[0162] An embodiment of the present application provides a mode switching control method, which generates a corresponding main mode selection instruction after a MAC module receives a main mode selection request; determines a target mode category according to the main mode selection instruction; determines a switching strategy for a sub-mode corresponding to a mode switching module according to the target mode category; uses the switching strategy to perform control of the sub-mode; sets multiple mode switching modes, generates a main mode selection instruction according to the main mode selection request, and thus selects a specified mode switching mode; and then uses the internal logic control of the mode switching module to achieve switching operations of different optical modes, thereby realizing switching strategies of different modes, achieving the technical effects of saving costs, reducing manual operations, reducing the complexity of its conversion, and meeting the diverse needs of users.
[0163] Figure 4 A flow chart of another mode switching control method provided in an embodiment of the present application, which is applied to a mode switching module. Figure 4 This is introduced based on the previous embodiment. Figure 4 The control method for mode switching further includes:
[0164] S401 : After receiving a master mode selection request, the MAC module generates a corresponding master mode selection instruction.
[0165] After the main control chip receives the main mode selection request sent by the external device or user terminal, it is analyzed by the MAC module of the main control chip and generates the corresponding main mode selection instruction to prepare for the next step of optical mode switching.
[0166] S402: Determine the type of the main mode selection instruction.
[0167] Based on the multiple mode switching modes set, the specific type of the selected mode switching mode is obtained through the main mode selection instruction. For example, by designing and implementing three automatic mode switching modes: mode A switching mode, mode B switching mode, and mode C switching mode, after parsing the information of mode A carried in the main mode selection instruction, the mode type is determined to be mode A switching mode.
[0168] S403: When the type of the main mode selection instruction is a hardware selection instruction, determine that the target mode type is a hardware mode.
[0169] S404: When the type of the main mode selection instruction is a software selection instruction, determine that the target mode type is a software mode.
[0170] S405 : When the type of the main mode selection instruction is an adaptive selection instruction, determine that the target mode type is an adaptive mode.
[0171] Furthermore, the target mode category is determined according to the category of the main mode selection instruction. The main mode is divided into hardware mode, software mode and adaptive mode according to the type of the main mode selection instruction. When the type of the main mode selection instruction is a software selection instruction, it indicates that the current main mode selection request carries a software selection mode, and thus the target mode category of the mode switch is determined to be software mode; when the type of the main mode selection instruction is a hardware selection instruction, it indicates that the current main mode selection request carries a hardware selection mode, and thus the target mode category of the mode switch is determined to be hardware mode; when the type of the main mode selection instruction is an adaptive selection instruction, it indicates that the current main mode selection request carries an adaptive selection mode, and thus the target mode category of the mode switch is determined to be adaptive mode.
[0172] S406: When the target mode category is the hardware mode, determine a first switching strategy corresponding to the optical fiber network XGS / GPON sub-mode in the hardware mode.
[0173] S407: When the target mode category is the software mode, determine a second switching strategy corresponding to the XGS / GPON sub-mode in the software mode.
[0174] S408: When the target mode category is the adaptive mode, determine a third switching strategy corresponding to the XGS / GPON sub-mode in the adaptive mode.
[0175] S409: Use the switching strategy to control the sub-mode.
[0176] Furthermore, the mode switching strategy is determined according to the target mode category. According to the set mode switching module structure, the set mode switching strategy is divided into a first switching strategy, a second switching strategy and a third switching strategy. When the target mode category is software mode, it indicates that the software mode switching method is currently selected, and the XGS / GPON sub-mode switching operation is performed according to the set first switching strategy; when the target mode category is hardware mode, it indicates that the hardware mode switching method is currently selected, and the XGS / GPON sub-mode switching operation is performed according to the set second switching strategy; when the target mode category is adaptive mode, it indicates that the adaptive mode switching method is currently selected, and the XGS / GPON sub-mode switching operation is performed according to the set third switching strategy.
[0177] in, Figure 8 This is a schematic diagram of the structure of the XGS / GPON Combo optical module provided in the embodiment of this application. Figure 8 The diagram provided shows that the XGS / GPON Combo optical module includes: XGS / GPON Combo OLT end and XGS / GPON Combo ONU optical network unit. Optical transmission is completed between the two through the physical channel of optical fiber and optical cable network (Optical Distribution Network, ODN). The main functions of the OLT end are traffic scheduling, buffer control, providing user-oriented passive optical network interface and bandwidth allocation, that is, completing uplink access to the upper PON network and sending distribution to all ONU user terminal devices through the ODN network. The OLT has XGS / GPON receiver (RX) and transmitter (TX) ports, which can be in three states: XGSPON ONU mode for both the transmitter (TX) and receiver (RX); GPON ONU mode for both the transmitter (TX) and receiver (RX); or XGSPON ONU mode for both the transmitter (TX) and receiver (RX) (GPON ONU). ComboOLT mode is also possible, with the transmitter (TX) in XGSPON ONU mode and the receiver (RX) in GPON ONU mode, or both in GPON ONU mode and XGSPON ONU mode. The ONU selectively receives broadcast data from the OLT and collects and caches Ethernet data sent by users. Optical transmission and communication are achieved through fiber transmission within a 20km range, utilizing upstream optical fiber from the transmitter and downstream optical fiber from the receiver.
[0178] A mode switching control method provided in an embodiment of the present application generates a corresponding main mode selection instruction after receiving a main mode selection request, determines the category of the target mode according to the category of the main mode selection instruction, and thus selects a mode switching implementation method, and then sets different switching strategies according to different modes, executes XGS / GPON sub-mode switching operations according to the strategies, and implements switching strategies for different modes, thereby achieving the technical effects of saving costs, reducing manual operations, reducing the complexity of conversion, and meeting the diverse needs of users.
[0179] Figure 5 A schematic diagram of the first switching strategy provided in the embodiment of the present application is provided. Figure 5 The diagram provided shows the specific implementation steps for the first switching strategy including:
[0180] S501: Call a pre-stored target address and write a first set value into the target address to start a hardware mode.
[0181] S502 : Acquire a level signal of the Pin9 interface of the MAC module according to a first switching strategy corresponding to the hardware mode.
[0182] The target address mentioned here can be understood as the register interface address specified in the hardware. The first set value mentioned here can be understood as the fixed value set to start the hardware mode. For example, setting the target address to 1 will start the hardware mode, or setting the target address to 1111 / 0001 will start the hardware mode. The Pin9 interface mentioned here can be understood as the hardware interface set in the mode switching module circuit structure for detecting signals.
[0183] Furthermore, the address of the register with the open address 118 and bit 3 is set to the target address, and 1 is written to the target address of the specified location (for example, address 118 of page A2 in the system) to start the hardware mode interface. Then, high and low levels are input through the Pin9 interface to select the XGS / GPON ONU mode.
[0184] S503: When the level signal is a high level signal, the control mode switching module performs switching control of the XGSPON sub-mode.
[0185] S504: When the level signal is a low level signal, the control mode switching module performs switching control of the GPON sub-mode.
[0186] In one possible embodiment, mode switching is achieved by detecting the level of the Pin9 interface signal. For example, when the input level is high, the XGSPON ONU mode is selected. When the input level is low, the GPON ONU mode is selected. Alternatively, when the input level is low, the XGSPON ONU mode is selected. When the input level is high, the GPON ONU mode is selected.
[0187] The first switching strategy method provided in the embodiment of the present application starts the hardware mode by selecting a hardware interface, and selects different light modes by specifying different received levels of the Pin9 interface, thereby achieving the purpose of mode switching using the hardware interface.
[0188] Figure 6 The flowchart of the second switching strategy provided in the embodiment of the present application is shown in FIG. Figure 6 The diagram provided shows the specific implementation steps for the second switching strategy including:
[0189] S601: Call a pre-stored target address and write a second set value into the target address to start a software mode.
[0190] S602: Acquire a digital signal of the I2C interface in the MCU unit according to a second switching strategy corresponding to the software mode.
[0191] The target address here can be understood as the register interface address specified in the hardware. The second set value here can be understood as the fixed value set to start the software mode. For example, setting the target address to 1 starts the software mode, or setting the target address to 1111 / 0001 starts the software mode. The I2C interface here can be understood as the software protocol interface set in the software code logic for detecting signals.
[0192] Furthermore, the address of the register at the open address 118, bit 3 is set to the target address, 0 is written to the target address of the call specified location (for example, address 118 of page A2 in the system), the software interface is entered, and then 0 or 1 is written to the register at address 118, bit 3 in the MCU unit through the I2C interface located on the MCU unit.
[0193] S603: When the digital signal is 1, the switching control of the XGSPON sub-mode is executed.
[0194] S604: When the digital signal is 0, execute the switching control of the GPON sub-mode.
[0195] In one possible example, mode switching is achieved by detecting the size of the digital signal of the I2C interface. For example, when writing 1, it corresponds to switching to XGSPON ONU mode, and writing 0 to switch to GPON ONU mode; or when writing 0, it corresponds to switching to XGSPON ONU mode, and writing 1 to switch to GPON ONU mode.
[0196] The second switching strategy method provided in the embodiment of the present application starts the software mode by selecting a software interface, and selects different light modes by specifying different digital signals received by the I2C interface, thereby achieving the purpose of mode switching using the software interface.
[0197] Figure 7 The flowchart of the third switching strategy provided in the embodiment of the present application is shown in FIG. Figure 7 The diagram provided shows the specific implementation steps for the third switching strategy including:
[0198] S701: When determining a third switching strategy corresponding to an adaptive mode, obtain an application mode of an optical line terminal OLT.
[0199] The Combo ONU optical module OLT side needs to be in a separate XGSPON OLT application or GPON OLT application to determine the working mode. It can automatically adapt to switch to XGSPON or GPON ONU mode according to the application mode of the OLT side.
[0200] The OLT is located in the main service room, and optical transmission is completed by connecting the branch end to multiple optical modems through a 20km optical fiber. There are four different wavelengths of light wave signals in the optical fiber: upstream light 2.5G1270nm, upstream light 1.25G1310nm; downstream light 2.5G1490nm, downstream light 10G1577nm.
[0201] S702: When the application mode of the OLT end is the XGSPON application mode, monitor the first optical signal sent by the first optical fiber unit to the MCU unit.
[0202] S703: When it is detected that the first optical signal is the first target downlink light, perform switching control of the XGSPON sub-mode.
[0203] The first optical fiber unit mentioned here can be understood as a GPON ONU optical module.
[0204] When the OLT side is a separate XGSPON OLT application, that is, the transmitter TX+ / - and the receiver RX+ / - on the OLT side are both in XGSPON ONU mode, the first optical signal 1G_LOS output by the first optical fiber unit does not detect any interference from the GPON ONU. At the same time, the first optical signal 1G_LOS is automatically monitored in real time. When the first optical signal 1G_LOS detects 1577nm downstream light, the ComboONU optical module will automatically switch to XGS ONU mode.
[0205] S704: When the application mode of the OLT end is the GPON application mode, monitor the second optical signal sent by the second optical fiber unit to the MCU unit.
[0206] S705: When it is detected that the second optical signal is the second target downlink light, perform switching control of the GPON sub-mode.
[0207] The second optical fiber unit mentioned here can be understood as the XGSPON ONU optical module.
[0208] When the OLT side is a single GPON OLT application, that is, the transmitter TX+ / - and the receiver RX+ / - of the OLT side are both in GPON ONU mode, and the second optical signal 10G_LOS does not detect any interference from the XGSPON ONU, at the same time, the second optical signal 10G_LOS automatically monitors in real time. When the second optical signal 10G_LOS detects 1490nm downstream light during the monitoring process, the Combo ONU optical module will automatically switch to GPON ONU mode.
[0209] S706 : When the application mode of the OLT end is the Combo application mode, determine the working mode of the Combo ONU optical module. The working modes of the Combo ONU optical module include the XGSPON ONU working mode and the GPON ONU working mode.
[0210] The Combo ONU optical module works in XGSPON ONU mode or GPON ONU mode, and the OLT end can be a ComboOLT application. That is, during the operation of the overall Combo ONU optical module, when the OLT end uses one of the application modes in the GPON OLT application or the XGSPON OLT application, the opposite application mode will appear. At this time, the MAC module needs to give an instruction on whether to switch the mode.
[0211] S707 : When the working mode of the Combo ONU optical module is in the XGSPON ONU working mode, monitor the first optical signal sent by the first optical fiber unit to the MCU unit.
[0212] S708: Receive a first optical signal through the MAC module and generate a first switching instruction for the MAC module.
[0213] S709: Determine the switching state of the power supply according to the first switching instruction, and execute the step of controlling the sub-mode by using the first switching strategy / the second switching strategy according to the switching state.
[0214] When the Combo ONU is operating in XGSPON ONU mode, the first optical signal 1G_LOS detects the 1490nm downstream optical signal on the GPON OLT end in real time. At this time, the MCU unit reports the situation to the MAC module. The OLT end can be a Combo OLT application. At that time, it is necessary to wait for the MAC module to send an instruction whether to switch to XGSPON optical mode or GPON ONU optical mode. Then, the switch at the power supply will perform the corresponding circuit switching operation according to the instruction of the MAC module. If the MAC module issues a switching mode instruction, the control method of selecting software mode or hardware mode will be used for switching. Otherwise, the original state will be maintained.
[0215] S710: When the operating mode of the Combo ONU optical module is the GPON ONU operating mode, monitor the second optical signal sent by the second optical fiber unit to the MCU unit.
[0216] S711 : Receive a second optical signal through the MAC module and generate a second switching instruction for the MAC module.
[0217] S712: Determine the switching state of the power supply according to the second switching instruction, and execute the step of controlling the sub-mode by using the first switching strategy / the second switching strategy according to the switching state.
[0218] When the Combo ONU optical module is in GPON ONU working mode, the second optical signal 10G_LOS can detect the 1577nm downstream optical signal at the XGSPON OLT end in real time. At this time, the MCU unit reports the situation to the MAC module. The OLT end can be a ComboXGS / GPON OLT application. At that time, it is necessary to wait for the MAC module to send an instruction whether to switch to XGSPON ONU optical mode or GPON ONU optical mode. Then the switch at the power supply will make the corresponding circuit switching operation according to the instruction of the MAC module. If the MAC module issues a switching mode instruction, it will use the control method of selecting software mode or hardware mode to switch, otherwise it will remain in the original state.
[0219] It can be observed that 10G and 1G high-speed signals share the MAC interface. The MAC is connected to the multi-end Combo ONU optical modules and the Combo ONU optical modules are connected by a bidirectional transmission optical fiber with a transmission distance of 20 kilometers. However, the Combo ONU optical module can only choose to operate in one of the GPON ONU mode and XGSPON ONU mode within the same time period. The mode switching is assisted by the target address 118, bit3 register and power switch in the MCU unit.
[0220] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of this application. It should be understood that the above description is only the specific implementation methods of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application should be included in the scope of protection of this application.
Claims
1. A mode switching module, characterized in that: include: Media access control MAC module, mode switching module; The MAC module is connected to the mode switching module; The output end of the mode switching module is connected to an external device, and the input end is connected to the output end of the first power supply; The mode switching module includes a first optical fiber unit, a second optical fiber unit, a four-way light unit, and a microcontroller MCU unit; The positive receiving end of the first optical fiber unit is connected to the positive data receiving end of the MAC module, the negative receiving end is connected to the negative data receiving end of the MAC module, the positive transmitting end is connected to the positive data transmitting end of the MAC module, the negative transmitting end is connected to the first ground end, the input end is connected to the first output end of the MAC module, the first output end is connected to the first input end of the four-directional optical unit, and the second output end is connected to the first input end of the MCU unit; The positive receiving end of the second optical fiber unit is connected to the positive data receiving end of the MAC module, the negative receiving end is connected to the negative data receiving end of the MAC module, the positive transmitting end is connected to the second ground end, the negative transmitting end is connected to the negative data transmitting end of the MAC module, the input end is connected to the first output end of the MAC module, the first output end is connected to the second input end of the four-directional optical unit, and the second output end is connected to the second input end of the MCU unit; The output end of the four-directional light unit is connected to an external device; The third input terminal of the MCU unit is connected to the second output terminal of the MAC module, the fourth input terminal is connected to the third output terminal of the MAC module, the first output terminal is connected to the first input terminal of the MAC module, and the second output terminal is connected to the second input terminal of the MAC module; The fourth output terminal of the MAC module is connected to the internal ground terminal of the mode switching module.
2. The module according to claim 1, wherein: The four-directional light unit includes: a first photon unit, a second photon unit and a combiner; The first output end of the first photon unit is connected to the first input end of the first optical fiber unit, the second output end is connected to the second input end of the first optical fiber unit, the first input end is connected to the first output end of the first optical fiber unit, the second input end is connected to the second output end of the first optical fiber unit, and the third output end is connected to the first input end of the combiner; The first output end of the second photon unit is connected to the first input end of the second optical fiber unit, the second output end is connected to the second input end of the second optical fiber unit, the first input end is connected to the first output end of the second optical fiber unit, the second input end is connected to the second output end of the second optical fiber unit, and the third output end is connected to the second input end of the combiner; The output end of the combiner is connected to an external device.
3. The module according to claim 1, wherein: The mode switching module further includes: a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor, a seventh capacitor, an eighth capacitor, and a ninth capacitor; One end of the first resistor and one end of the second resistor are connected to the output end of the first power supply, and the other end of the first resistor is connected to the forward receiving end of the first optical fiber unit and one end of the fifth capacitor; The other end of the second resistor is connected to the negative receiving end of the first optical fiber unit and one end of the sixth capacitor; The other end of the fifth capacitor is connected to the forward data receiving end of the MAC module and one end of the seventh capacitor; The other end of the sixth capacitor is connected to the negative data receiving end of the MAC module and one end of the eighth capacitor; The other end of the seventh capacitor is connected to the forward receiving end of the second optical fiber unit; The other end of the eighth capacitor is connected to the negative receiving end of the second optical fiber unit; One end of the third resistor is connected to the negative transmitting end of the first optical fiber unit, and the other end is connected to one end of the first capacitor, and the other end of the first capacitor is connected to the first ground end; One end of the fourth resistor is connected to the forward transmitting end of the first optical fiber unit and one end of the third capacitor, and the other end is connected to one end of the second capacitor, and the other end of the second capacitor is connected to the first ground end; The other end of the third capacitor is connected to the forward data transmitting end of the MAC module; One end of the fourth capacitor is connected to the negative transmitting end of the second optical fiber unit, and the other end is connected to the negative data transmitting end of the MAC module; One end of the fifth resistor is connected to the forward transmitting end of the second optical fiber unit, and the other end is connected to one end of the ninth capacitor; The other end of the ninth capacitor is connected to the second ground end.
4. The module according to claim 1, wherein: The mode switching module also includes an internal power supply unit; The module further includes a first inductor, a sixth resistor, a seventh resistor, a tenth capacitor, and an eleventh capacitor; The first output end of the internal power supply unit is connected to one end of the tenth capacitor, one end of the eleventh capacitor, and one end of the first inductor, and the second output end is connected to the first output end of the internal power supply unit; The other end of the first inductor is connected to the output end of the second power supply; The other end of the tenth capacitor and the other end of the eleventh capacitor are connected to a third ground terminal; One end of the sixth resistor is connected to the third input end of the MCU unit and the second output end of the MAC module, and the other end and one end of the seventh resistor are connected to the output end of the third power supply; The other end of the seventh resistor is connected to the fourth input end of the MCU unit and the third output end of the MAC module.
5. A mode switching control method, applied to the mode switching module according to any one of claims 1 to 4, characterized in that: include: After receiving the master mode selection request, the MAC module generates a corresponding master mode selection instruction; Determining a target mode category according to the main mode selection instruction; Determining a switching strategy of a mode switching module corresponding to a sub-mode according to the target mode category; Control of the sub-modes is performed using the switching strategy.
6. The method according to claim 5, characterized in that Determining the target mode category according to the main mode selection instruction includes: Determining the category of the main mode selection instruction; When the category of the main mode selection instruction is a hardware selection instruction, determining the category of the target mode to be a hardware mode; When the category of the main mode selection instruction is a software selection instruction, determining the category of the target mode to be a software mode; When the type of the main mode selection instruction is an adaptive selection instruction, the target mode type is determined to be an adaptive mode.
7. The method according to claim 6, characterized in that The determining of a switching strategy for a corresponding sub-mode according to the target mode category includes: When the target mode category is a hardware mode, determining a first switching strategy corresponding to an optical fiber network XGS / GPON sub-mode in the hardware mode; When the target mode category is software mode, determining a second switching strategy corresponding to the XGS / GPON sub-mode in the software mode; When the target mode category is the adaptive mode, a third switching strategy corresponding to the XGS / GPON sub-mode in the adaptive mode is determined.
8. The method according to claim 7, characterized in that The controlling the sub-mode by using the switching strategy includes: Calling a pre-stored target address and writing a first set value to the target address to start the hardware mode; Acquire a level signal of a Pin9 interface of a MAC module according to a first switching strategy corresponding to the hardware mode; When the level signal is a high level signal, the control mode switching module performs switching control of the XGSPON sub-mode; When the level signal is a low level signal, the control mode switching module performs switching control of the GPON sub-mode.
9. The method according to claim 7, characterized in that The controlling the sub-mode by using the switching strategy includes: Calling a pre-stored target address and writing a second set value to the target address to start the software mode; Acquire a digital signal of the I2C interface in the MCU unit according to a second switching strategy corresponding to the software mode; When the digital signal is 1, the switching control of the XGSPON sub-mode is executed; When the digital signal is 0, the switching control of the GPON sub-mode is performed.
10. The method according to claim 7, characterized in that The controlling the sub-mode by using the switching strategy includes: When determining the third switching strategy corresponding to the adaptive mode, obtaining an application mode of the optical line terminal OLT; When the application mode of the OLT is the XGSPON application mode, monitoring the first optical fiber unit to send the first optical signal of the MCU unit; When it is detected that the first optical signal is the first target downlink light, performing switching control of the XGSPON sub-mode; or, When the application mode of the OLT is the GPON application mode, monitoring the second optical fiber unit to send the second optical signal of the MCU unit; When it is detected that the second optical signal is a second target downlink light, performing switching control of the GPON sub-mode; or, When the application mode of the OLT is the consortium Combo application mode, determining the operating mode of the Combo ONU optical module, where the operating mode of the Combo ONU optical module includes an XGSPON ONU operating mode and a GPON ONU operating mode; When the operating mode of the Combo ONU optical module is in the XGSPON ONU operating mode, monitoring the first optical signal of the MCU unit sent by the first optical fiber unit; receiving the first optical signal through a MAC module and generating a first switching instruction for the MAC module; determining a switching state of a power supply according to the first switching instruction, and executing a step of controlling the sub-mode by using a first switching strategy / a second switching strategy according to the switching state; When the operating mode of the Combo ONU optical module is in the GPON ONU operating mode, monitoring the second optical signal of the MCU unit sent by the second optical fiber unit; receiving the second optical signal through the MAC module and generating a second switching instruction for the MAC module; The switching state of the power supply is determined according to the second switching instruction, and the step of controlling the sub-mode by using the first switching strategy / the second switching strategy is performed according to the switching state.
Citation Information
Patent Citations
OLT self-adaptive system and method thereof
CN105263071A
Method for transmitting and receiving data in PON system, network device, and system
CN111316575A