Intelligent magneto-optical switch testing system and method

By obtaining the module to calibrate the optical power of the laser and calculate the optical switch insertion loss, combined with the real-time data reception of the control module and the rapid magnetic circuit switching operation of the pulse driving circuit, the problem of insufficient optical power measurement deviation and response speed in the existing system is solved, and the problem of insufficient optical power measurement is realized. A high-precision and fast-responsive test system.

CN119147228BActive Publication Date: 2025-02-11QINGDAO HUAHANG SEAGLET ENVIRONMENTAL TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411607115.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-02-11
Estimated Expiration
2044-11-12

AI Technical Summary

Technical Problem

In actual applications, the existing intelligent magneto-optical switch testing system has problems such as optical power measurement deviation, inaccurate calculation of insertion loss, insufficient response speed and stability.

Method used

By obtaining and calibrating the laser optical power, high-precision optical switch insertion loss calculation is realized, and each channel calculates independently to ensure accurate and reliable data. The control module receives data in real time through the MCU and quickly responds to optical power changes. The pulse driving circuit realizes fast magnetic circuit switching operation and improves response speed.

Benefits of technology

It improves the calculation accuracy of optical switch insertion loss, ensures data accuracy and reliability, improves the system response speed and stability, simplifies the testing process, and improves the testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119147228B_ABST
    Figure CN119147228B_ABST
Patent Text Reader

Abstract

The present invention provides an intelligent magneto-optical switch test system and method, which relates to the field of optical communication and optoelectronic measurement and control technology. The system includes: a control module, which is used to receive the insertion loss of the optical switch sent by the acquisition module, and generate a driving signal through the MCU controller unit to control the pulse drive circuit unit through the driving signal and generate a pulse signal; a magneto-optical switch of the unit to be tested, which is used to receive the pulse signal and control the corresponding magnetic circuit to close the switch and switch the channel according to the pulse signal; a power supply module, which is electrically connected to the acquisition module, the control module and the magneto-optical switch of the unit to be tested. The present invention acquires and calibrates the laser optical power through the acquisition module to realize high-precision optical switch insertion loss calculation, and each channel is calculated independently to ensure that the data is accurate and reliable. The control module receives data in real time through the MCU and responds quickly to the change of optical power. The pulse drive circuit realizes fast magnetic circuit switch operation and improves the response speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of optical communication and photoelectric measurement and control, and in particular to an intelligent magneto-optical switch testing system and method. Background Art

[0002] In the field of optical communications, the intelligent magneto-optical switch test system plays a vital role, which can achieve accurate measurement of optical power, accurate calculation of optical switch insertion loss, and rapid response and dynamic adjustment of the system. However, the existing intelligent magneto-optical switch test system still has some technical defects in practical applications, which affect the performance, stability and test efficiency of the system.

[0003] Although the laser optical power can be obtained and calibrated through the acquisition module, in actual operation, the measurement of optical power may still be interfered by various factors, such as environmental noise, laser aging, fiber connection loss, etc. These factors may cause deviations in the optical power measurement value, which in turn affects the calculation accuracy of the insertion loss of the optical switch. In addition, the complexity of the calibration process and the need for professional equipment also increase the difficulty and cost of using the system; in practical applications, the mutual influence between channels may not be completely avoided, such as crosstalk between channels and uneven attenuation of optical signals. These problems may cause deviations in the calculated insertion loss values ​​of some channels, thereby affecting the accuracy of the overall test results. The control module is controlled by the MCU controller, but in high-speed optical communication scenarios, the response speed and stability of the system still face severe challenges. For example, the pulse signal generated by the pulse drive circuit unit may be affected by electromagnetic interference or circuit aging, resulting in unstable operation or delayed response of the magnetic circuit switch. These problems may seriously affect the real-time performance and reliability of the system. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide an intelligent magneto-optical switch test system and method, which obtains and calibrates the laser optical power through an acquisition module to achieve high-precision optical switch insertion loss calculation, and each channel is calculated independently to ensure accurate and reliable data. The control module receives data in real time through the MCU and responds quickly to changes in optical power. The pulse drive circuit realizes fast magnetic circuit switch operation and improves the response speed.

[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0006] In a first aspect, an intelligent magneto-optical switch testing system comprises:

[0007] An acquisition module is used to acquire the optical power of the laser, calibrate the optical power, and calculate the insertion loss of the optical switch;

[0008] A control module, used for receiving the insertion loss of the optical switch sent by the acquisition module, and generating a driving signal through the MCU controller unit, so as to control the pulse driving circuit unit through the driving signal and generate a pulse signal;

[0009] The magneto-optical switch of the unit to be tested is used to receive the pulse signal and control the corresponding magnetic circuit to close the switch and switch the channel according to the pulse signal;

[0010] The power supply module is electrically connected to the acquisition module, the control module and the magneto-optical switch of the unit to be tested respectively.

[0011] Furthermore, the optical power of the laser is obtained, the optical power is calibrated, and the insertion loss of the optical switch is calculated, including:

[0012] Sending a control instruction to the laser so that the laser outputs different optical powers according to the control instruction to obtain an output optical power;

[0013] Calibrate the optical power output by the laser to obtain the calibrated laser output power;

[0014] According to the calibrated laser output power, Calculate the insertion loss of each channel of the optical switch, where is the laser output power, is the power measured by the optical power meter, is the coupling loss; is the reference loss value of the optical switch; is the wavelength sensitivity coefficient, which is taken as a constant of 0.2 dB / nm ; is the actual wavelength, is the design wavelength, is the temperature sensitivity coefficient, which is taken as a constant of 0.2 dB / ℃ ; is the current temperature, is the reference temperature, is the insertion loss.

[0015] Further, sending a control instruction to the laser so that the laser outputs different optical powers according to the control instruction to obtain the output optical power includes:

[0016] According to the control instructions, the laser passes Update the output power to obtain the output optical power, where, is the updated laser output power, is the laser output power at the previous moment, is the actual measured optical power at the current moment, It is the adjustment coefficient, which controls the change amplitude of the laser output power during update, and its value range is 0< <1; is the basic optical power prediction value when all independent variables are zero =2.5mW; is the influence coefficient of historical optical power, is the influence coefficient of historical insertion loss, is the regression coefficient for temperature and relative humidity percentage, is the temperature and relative humidity percentage, is the average value of historical insertion loss, is the average value of historical optical power, m is equal to 2, is the index, It's time.

[0017] Furthermore, the optical power output by the laser is calibrated to obtain the calibrated output power of the laser, including:

[0018] The optical power output by the laser is Calibrate to obtain the calibrated laser output power, where: Calibration factor, is the measured optical power after calibration, is the actual measured optical power at the current moment, is the basic optical power prediction value when all independent variables are zero =2.5mW; is the influence coefficient of historical optical power, is the influence coefficient of historical insertion loss, is the regression coefficient for temperature and relative humidity percentage, is the temperature and relative humidity percentage, is the average value of historical insertion loss, is the average value of historical optical power, m is equal to 2, is the index, It's time.

[0019] Further, the optical switch insertion loss sent by the receiving acquisition module is received, and a driving signal is generated through the MCU controller unit, so as to control the pulse driving circuit unit through the driving signal and generate a pulse signal, including:

[0020] The MCU control unit receives control instructions from the host computer through the serial port, generates corresponding drive signals according to the control instructions, and outputs the drive signals to the pulse drive circuit unit;

[0021] The pulse driving circuit unit receives the pulse signal from the MCU control unit and generates a corresponding pulse signal.

[0022] Furthermore, the MCU control unit receives a control instruction from the host computer through the serial port, generates a corresponding drive signal according to the control instruction, and outputs the drive signal to the pulse drive circuit unit, including:

[0023] The host computer sends control instructions to the MCU control unit through the serial port. The MCU control unit reads the received data and parses it according to the instruction format to obtain the parsing result. The instruction format includes identifying the instruction type and extracting the operation parameters.

[0024] According to the analysis results, the MCU performs arithmetic or logic operations to obtain the logical processing results;

[0025] Based on the processing result of the control logic, the MCU control unit generates a corresponding driving signal and outputs the driving signal to the pulse driving circuit unit.

[0026] Further, receiving the pulse signal and controlling the corresponding magnetic circuit to close the switch and switch the channel according to the pulse signal, including:

[0027] According to the pulse signal sent by the control module, the receiving circuit processes the pulse signal to obtain a processed pulse signal;

[0028] Analyze the processed pulse signal and identify characteristic parameters of the pulse signal to obtain control instructions, wherein the characteristic parameters include pulse width, amplitude and frequency;

[0029] According to the control instructions, the magnetic circuit is controlled to perform switching operations to close the switch and switch the channel.

[0030] Further, according to the pulse signal sent by the control module, the receiving circuit processes the pulse signal to obtain a processed pulse signal, including:

[0031] The pulse signal passes through Perform level conversion to obtain a converted pulse signal, where: is the input signal, is to determine the desired output level, A is the gain, B is the offset;

[0032] The converted pulse signal is amplitude adjusted and filtered to obtain a processed pulse signal.

[0033] Further, the processed pulse signal is analyzed to identify characteristic parameters of the pulse signal to obtain control instructions, wherein the characteristic parameters include pulse width, amplitude and frequency, including:

[0034] According to the processed pulse signal, an average value of the pulse signal is calculated, and according to the average value of the pulse signal, a threshold is set to determine the pulse signal;

[0035] According to the determined pulse signal, To identify the rising and falling edges of the pulse signal, the rising edge: and When the signal rises, it indicates that the signal has fallen. and When , it means that the signal has dropped; is the pulse signal at the current moment, is the signal value at the previous moment, is the difference of the signal at the current moment, It's the time point. is the difference from the previous moment;

[0036] According to the rising edge and falling edge of the pulse signal, the pulse signal can be detected;

[0037] According to the detection of the pulse signal, the time domain characteristics and statistical characteristics of the pulse signal are extracted to obtain the characteristic parameters of the pulse signal;

[0038] The extracted characteristic parameters are matched with the predefined control instruction characteristics, and a mapping relationship between the pulse signal characteristics and the control instructions is established to determine the corresponding control instructions.

[0039] In a second aspect, a method for testing an intelligent magneto-optical switch is provided, the method comprising:

[0040] The optical power of the laser is obtained by using an acquisition module, and the optical power is calibrated to obtain the optical power;

[0041] Calculating the insertion loss of the optical switch according to the acquired optical power, and sending the calculated insertion loss data of the optical switch to the control module;

[0042] In the control module, the optical switch insertion loss data is received through the MCU controller unit to generate a corresponding driving signal;

[0043] The pulse driving circuit unit is controlled by the driving signal to generate a pulse signal.

[0044] The generated pulse signal is sent to the magneto-optical switch of the unit under test, and the magneto-optical switch of the unit under test controls its internal magnetic circuit to execute the closing operation of the switch and the channel switching operation according to the pulse signal;

[0045] The power supply module provides the required working power to the acquisition module, the control module and the magneto-optical switch of the unit to be tested respectively.

[0046] According to a third aspect, a computing device includes:

[0047] one or more processors;

[0048] The storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method described.

[0049] In a fourth aspect, a computer-readable storage medium stores a program, and when the program is executed by a processor, the method described is implemented.

[0050] The above solution of the present invention includes at least the following beneficial effects:

[0051] By acquiring the laser optical power through the acquisition module and calibrating it, more accurate optical power measurement can be achieved, thereby improving the calculation accuracy of the optical switch insertion loss; the system can independently calculate the insertion loss for each channel to ensure the accuracy and reliability of the data. The control module receives the optical switch insertion loss data in real time through the MCU controller, and can quickly respond to changes in optical power to ensure that the system can be dynamically adjusted according to actual conditions. The pulse signal is generated by the pulse drive circuit unit to achieve fast magnetic circuit switch operation and improve the response speed of the system. The system automatically acquires, calculates and controls through the acquisition module, making the test process simpler and improving the test efficiency. Based on the insertion loss and other parameters, the system can dynamically adjust the drive signal to improve the adaptability and flexibility of the test. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 It is a schematic diagram of an intelligent magneto-optical switch testing system provided by an embodiment of the present invention.

[0053] Figure 2 It is a flow chart of an intelligent magneto-optical switch testing method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in a form and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0055] like Figure 1 As shown, an embodiment of the present invention provides an intelligent magneto-optical switch testing system, comprising the following steps:

[0056] An acquisition module 11 is used to acquire the optical power of the laser and calculate the insertion loss of the optical switch;

[0057] The control module 12 is used to receive the insertion loss of the optical switch sent by the acquisition module, and generate a driving signal through the MCU controller unit, so as to control the pulse driving circuit unit through the driving signal and generate a pulse signal;

[0058] The magneto-optical switch 13 of the unit to be tested is used to receive the pulse signal and control the corresponding magnetic circuit to close the switch and switch the channel according to the pulse signal;

[0059] The power supply module 14 is electrically connected to the acquisition module, the control module and the magneto-optical switch of the unit to be tested respectively.

[0060] In an embodiment of the present invention, through the acquisition module, the intelligent magneto-optical switch test system can accurately obtain the optical power of the laser and accurately calculate the insertion loss of the optical switch. The MCU controller unit equipped with the control module can receive the optical switch insertion loss data sent by the acquisition module in real time and quickly generate a corresponding drive signal. Under the control of the control module, the pulse drive circuit unit can generate a fast and stable pulse signal, and the pulse signal can accurately control the magneto-optical switch of the unit to be tested, so as to realize the rapid closure of the magnetic circuit and channel switching, thereby improving the response speed and overall performance of the optical communication system. The intelligent magneto-optical switch test system adopts a modular design, and the modules are integrated concisely and efficiently through electrical connections. The design simplifies the installation and debugging process of the system, thereby reducing maintenance costs and improving the flexibility of the system. The power supply module provides stable and reliable power support for the entire system, and adopts energy-saving technology to reduce energy consumption.

[0061] In a preferred embodiment of the present invention, obtaining the optical power of the laser, calibrating the optical power, and calculating the insertion loss of the optical switch include:

[0062] Sending a control instruction to the laser so that the laser outputs different optical powers according to the control instruction to obtain an output optical power;

[0063] Calibrate the optical power output by the laser to obtain the calibrated laser output power;

[0064] According to the calibrated laser output power, Calculate the insertion loss of each channel of the optical switch, where is the laser output power, is the power measured by the optical power meter, is the coupling loss; is the reference loss value of the optical switch; is the wavelength sensitivity coefficient, which is taken as a constant of 0.2 dB / nm ; is the actual wavelength, is the design wavelength, is the temperature sensitivity coefficient, which is taken as a constant of 0.2 dB / ℃ ; is the current temperature, is the reference temperature, is the insertion loss.

[0065] In the embodiment of the present invention, the system can send precise control instructions to the laser so that the laser can output different optical powers according to the requirements. By calculating the insertion loss of each channel of the optical switch, the system can comprehensively evaluate the performance of the optical switch. Insertion loss is an important indicator of the performance of the optical switch, which directly affects the transmission quality and efficiency of the optical signal. By accurately calculating the insertion loss of each channel, the performance of the optical switch can be more accurately understood. The system can automatically calculate the insertion loss based on the output power of the laser and the power measured by the optical power meter. The system has the ability of automatic calibration and adjustment, which can greatly reduce the complexity and error rate of manual operation and improve the test efficiency and accuracy.

[0066] In a specific embodiment of the present invention, a corresponding control instruction is sent to the laser through the host computer, and the instruction includes setting the output power and wavelength parameters of the laser. After the laser receives the control instruction, the internal circuit will adjust its working state to output the required optical power. An optical power meter is connected to the output end of the laser to measure the actual output optical power. The measured optical power value is compared with the expected value. If there is a deviation, calibration is required. After the calibration is completed, the calibrated laser output power value is recorded. The calibrated laser output power value is used as a known condition, and an optical signal is transmitted through each channel of the optical switch. The optical power meter is used to measure the power at the output end of the channel. The insertion loss of each channel is calculated based on the measured power value and the calibrated laser output power value; the above steps are repeated for each channel to obtain the insertion loss values ​​of all channels.

[0067] In a preferred embodiment of the present invention, sending a control instruction to a laser so that the laser outputs different optical powers according to the control instruction to obtain the output optical power includes:

[0068] According to the control instructions, the laser passes Update the output power to obtain the output optical power, where, is the updated laser output power, is the laser output power at the previous moment, is the actual measured optical power at the current moment, It is the adjustment coefficient, which controls the change amplitude of the laser output power during update, and its value range is 0< <1; is the basic optical power prediction value when all independent variables are zero =2.5mW; is the influence coefficient of historical optical power, is the influence coefficient of historical insertion loss, is the regression coefficient for temperature and relative humidity percentage, is the temperature and relative humidity percentage, is the average value of historical insertion loss, is the average value of historical optical power, m is equal to 2, is the index, It's time.

[0069] In an embodiment of the present invention, the system can obtain the optical power of the laser in real time and dynamically adjust the output power of the laser according to the actual measurement value. This real-time adjustment capability ensures that the laser always works in a reasonable state and improves the performance and stability of the system. By introducing the adjustment coefficient, the system can control the update amplitude of the laser output power and achieve smooth power transition, which helps to avoid the impact and interference of power mutation on the system and ensure the smooth operation of the system. The system considers the impact of temperature and relative humidity on the output power of the laser, and predicts and compensates through the corresponding coefficients. This mechanism helps to reduce the impact of external factors on laser performance and improve the robustness of the system. Reasonable power adjustment can not only ensure that the performance requirements of the system are met, but also reduce energy consumption to a certain extent and achieve energy saving goals. At the same time, by optimizing the output power of the laser, the working efficiency of the system can also be improved.

[0070] In a preferred embodiment of the present invention, the optical power output by the laser is calibrated to obtain the calibrated laser output power, including:

[0071] The optical power output by the laser is Calibrate to obtain the calibrated laser output power, where: Calibration factor, is the measured optical power after calibration, is the actual measured optical power at the current moment, is the basic optical power prediction value when all independent variables are zero =2.5mW; is the influence coefficient of historical optical power, is the influence coefficient of historical insertion loss, is the regression coefficient for temperature and relative humidity percentage, is the temperature and relative humidity percentage, is the average value of historical insertion loss, is the average value of historical optical power, m is equal to 2, is the index, It's time.

[0072] In an embodiment of the present invention, by introducing calibration coefficients and calibration processes, the system can correct errors in the measurement process, thereby improving the measurement accuracy of optical power. The system takes into account the impact of temperature and relative humidity environmental factors on optical power, and dynamically adjusts through regression coefficients, so that the system can maintain consistent measurement accuracy under different environmental conditions. By introducing the influence coefficients of historical optical power and historical insertion loss and their average values, the system can use past data to optimize current performance. By comprehensively considering multiple factors to adjust optical power, the system can operate more stably and reduce performance fluctuations caused by changes in a single factor. Through a clear calibration process and parameter adjustment mechanism, the system can reach a reasonable working state more quickly during the debugging process, reducing debugging time and cost.

[0073] In a preferred embodiment of the present invention, the optical switch insertion loss sent by the receiving acquisition module is received, and a driving signal is generated by the MCU controller unit, so as to control the pulse driving circuit unit by the driving signal and generate a pulse signal, including:

[0074] The MCU control unit receives control instructions from the host computer through the serial port, generates corresponding drive signals according to the control instructions, and outputs the drive signals to the pulse drive circuit unit;

[0075] The pulse driving circuit unit receives the pulse signal from the MCU control unit and generates a corresponding pulse signal.

[0076] In an embodiment of the present invention, the MCU control unit accurately receives the control instructions of the host computer through the serial port, and generates corresponding drive signals according to these instructions. Serial communication, as an efficient data transmission method, is used here for the instruction transmission between the MCU control unit and the host computer, ensuring the fast and stable transmission of data and improving the working efficiency of the test system. The pulse drive circuit unit generates a corresponding pulse signal according to the drive signal output by the MCU control unit. By dividing the system into different functional modules, such as an acquisition module, a control module, and a magneto-optical switch of a unit to be tested, and connecting and communicating through a standardized interface, a modular design is achieved, the maintainability and scalability of the system are improved, and the cost of system development and maintenance is reduced.

[0077] In a specific embodiment of the present invention, a communication connection is established between the host computer and the MCU control unit through a serial port. The parameters of the serial port communication are set, and the parameters include baud rate, data bit, stop bit and check bit. The host computer generates corresponding control instructions according to the requirements. The host computer sends the control instructions to the MCU control unit through the serial port. The MCU control unit receives data from the host computer through serial port interruption or polling. After receiving the data, the MCU parses it according to a predetermined instruction format and extracts the instruction type and key information of the operation parameters. According to the instruction type and operation parameters obtained by the analysis, the MCU control unit performs corresponding logic processing, and the logic processing includes setting the internal state, judging the conditions, and selecting the execution path according to the instruction requirements; converting the processing result into a corresponding drive signal, wherein the drive signal is a PWM waveform and a high and low level sequence. The MCU control unit outputs the generated drive signal to the pulse drive circuit unit through the GPIO port. After the pulse drive circuit unit receives the drive signal from the MCU, it processes the drive signal to ensure that the final output pulse signal has the required waveform, amplitude, frequency and stability.

[0078] In a preferred embodiment of the present invention, the MCU control unit receives a control instruction from a host computer through a serial port, generates a corresponding drive signal according to the control instruction, and outputs the drive signal to the pulse drive circuit unit, including:

[0079] The host computer sends control instructions to the MCU control unit through the serial port. The MCU control unit reads the received data and parses it according to the instruction format to obtain the parsing result. The instruction format includes identifying the instruction type and extracting the operation parameters.

[0080] According to the analysis results, the MCU performs arithmetic or logic operations to obtain the logical processing results;

[0081] Based on the processing result of the control logic, the MCU control unit generates a corresponding driving signal and outputs the driving signal to the pulse driving circuit unit.

[0082] In an embodiment of the present invention, through serial port communication, the host computer can send control instructions to the MCU control unit in real time, and the MCU control unit can also immediately receive and process these instructions. The real-time instruction transmission and processing mechanism significantly improves the response speed of the system and ensures the timely control of the magneto-optical switch. The MCU control unit parses the received data according to a predetermined instruction format, including identifying the instruction type and extracting operation parameters. According to the parsing result, the MCU can perform corresponding arithmetic or logical operations to obtain the processing result of the control logic, so that the system can cope with complex control requirements and realize diversified operations and control strategies. Based on the processing result of the control logic, the MCU control unit can accurately generate the corresponding drive signal, which directly determines the output of the pulse drive circuit unit. Through the precise control of the MCU, the stability and consistency of the pulse signal can be ensured, thereby improving the accuracy of the magneto-optical switch test. The error detection and processing mechanism in the whole process can timely discover and correct potential problems, thereby enhancing the robustness of the system. This robustness enables the system to maintain stable operation in the face of various uncertain factors and reduces the probability of failure.

[0083] In a specific embodiment of the present invention, the host computer sends the control instruction to the MCU control unit through the configured serial port. The MCU control unit receives the data from the host computer through its built-in serial communication module. The MCU reads the received data and parses it according to the predetermined instruction format, including identifying the instruction type, for example, through a specific identifier or instruction code and extracting operation parameters, such as speed, distance, direction and other numerical values; during the parsing process, the MCU will also perform error checking, including checksum verification and instruction length checking. According to the instruction type obtained by the analysis, the MCU performs corresponding logical judgments. For example, if the instruction is "forward", the MCU will check whether the current state allows the execution of the action. The MCU performs necessary arithmetic operations on the extracted operation parameters, including unit conversion, scaling, and offset adjustment, so as to convert the parameters provided by the host computer into the format or value required for internal processing of the MCU. After logical judgment and arithmetic operations, the MCU obtains the processing result of the control logic. Based on the processing result of the control logic, the MCU control unit generates a corresponding drive signal.

[0084] In a preferred embodiment of the present invention, a pulse signal is received, and a corresponding magnetic circuit is controlled according to the pulse signal to close a switch and switch a channel, including:

[0085] According to the pulse signal sent by the control module, the receiving circuit processes the pulse signal to obtain a processed pulse signal;

[0086] Analyze the processed pulse signal and identify characteristic parameters of the pulse signal to obtain control instructions, wherein the characteristic parameters include pulse width, amplitude and frequency;

[0087] According to the control instructions, the magnetic circuit is controlled to perform switching operations to close the switch and switch the channel.

[0088] In an embodiment of the present invention, the receiving circuit processes the pulse signal, which can significantly improve the stability and anti-interference ability of the signal. Various interferences and attenuations that may be encountered during the transmission process will be effectively suppressed, ensuring that the subsequent circuits can accurately receive and process the signal. By analyzing the processed pulse signal and identifying characteristic parameters such as pulse width, amplitude and frequency, the system can accurately identify the control instructions. The entire process is highly automated from the issuance of the pulse signal to the final control execution, and the system can respond to the control instructions quickly. Through the accurate analysis and identification of the pulse signal, the system can accurately judge the validity of the control instruction, thereby avoiding misoperation caused by signal errors or interference.

[0089] In a specific embodiment of the present invention, the receiving circuit is responsible for receiving the pulse signal sent by the control module. The receiving circuit processes the received pulse signal to ensure the integrity and accuracy of the signal. The analyzing circuit analyzes the processed pulse signal and identifies the characteristic parameters of the pulse signal, which include pulse width, amplitude and frequency. According to the extracted characteristic parameters, the system converts them into corresponding control instructions. For example, different pulse widths may correspond to different switch states. After receiving the converted control instructions, the control unit analyzes these instructions and performs corresponding operations according to the content of the instructions. For example, if the instruction is to close a switch, the control unit will send a closing signal to the magnetic circuit actuator. The magnetic circuit actuator changes the direction or intensity of the magnetic field according to the received control signal, thereby controlling the closing or opening of the switch.

[0090] In a preferred embodiment of the present invention, according to the pulse signal sent by the control module, the receiving circuit processes the pulse signal to obtain a processed pulse signal, including:

[0091] The pulse signal passes through Perform level conversion to obtain a converted pulse signal, where: is the input signal, is to determine the desired output level, A is the gain, B is the offset;

[0092] The converted pulse signal is amplitude adjusted and filtered to obtain a processed pulse signal.

[0093] In an embodiment of the present invention, the level conversion process allows the system to process input signals of different levels and convert them into the desired output levels, so that the system can adapt to a variety of different signal sources and signal standards, thereby broadening the application range of the system. Through amplitude adjustment, the amplitude of the pulse signal can be accurately controlled. The filtering process can effectively filter out the noise and interference components in the pulse signal, improve the purity and signal-to-noise ratio of the signal, and make subsequent signal processing and analysis more accurate and reliable. The pulse signal after level conversion, amplitude adjustment and filtering has better quality and stability, which helps to improve the performance of the entire system, including transmission efficiency, anti-interference ability, and signal recognition accuracy. By ensuring that the signal is within the appropriate level range and filtering out potential harmful components, this process also helps to protect the equipment in the system from damage.

[0094] In a specific embodiment of the present invention, the pulse signal is level-converted by a formula, and the converted pulse signal should have a desired amplitude and level range. After the level conversion, the amplitude adjustment is performed by adjusting the gain of the amplifier or using a digital signal processing algorithm to ensure that the signal amplitude meets the requirements of subsequent processing or transmission. In order to remove noise or interference that may be introduced during the conversion process and to smooth the edge of the pulse signal, a high-pass filter is selected, the cutoff frequency and the order are set, and the filter is applied to the converted pulse signal to remove unnecessary frequency components and improve signal quality. After amplitude adjustment and filtering, the final pulse signal is obtained.

[0095] In a preferred embodiment of the present invention, the processed pulse signal is analyzed to identify characteristic parameters of the pulse signal to obtain a control instruction, wherein the characteristic parameters include pulse width, amplitude and frequency, including:

[0096] According to the processed pulse signal, an average value of the pulse signal is calculated, and according to the average value of the pulse signal, a threshold is set to determine the pulse signal;

[0097] According to the determined pulse signal, To identify the rising and falling edges of the pulse signal, the rising edge: When the signal rises, it indicates that the signal has fallen. When , it means that the signal has dropped; is the pulse signal at the current moment, is the signal value at the previous moment, is the difference of the signal at the current moment, It's the time point. is the difference from the previous moment;

[0098] According to the rising edge and falling edge of the pulse signal, the pulse signal can be detected;

[0099] According to the detection of the pulse signal, the time domain characteristics and statistical characteristics of the pulse signal are extracted to obtain the characteristic parameters of the pulse signal;

[0100] The extracted characteristic parameters are matched with the predefined control instruction characteristics, and a mapping relationship between the pulse signal characteristics and the control instructions is established to determine the corresponding control instructions.

[0101] In an embodiment of the present invention, by calculating the average value of the pulse signal and setting the threshold, the system can more accurately identify the effective pulse signal, help distinguish the signal from the background noise, and improve the accuracy of signal recognition. By defining the conditions of the rising edge and the falling edge, the system can accurately detect the edge change of the pulse signal. Based on the results of the edge detection, the system can quickly realize the detection of the pulse signal, which helps to reduce the processing time and improve the real-time response capability of the system. By extracting the time domain characteristics and statistical characteristics of the pulse signal, the system can obtain more comprehensive information about the signal, and the characteristic parameters help to understand the characteristics of the signal more deeply. By matching the extracted characteristic parameters with the predefined control instruction characteristics, the system can establish a mapping relationship between the pulse signal characteristics and the control instructions, so that the system can accurately identify the corresponding control instructions according to different pulse signal characteristics, thereby realizing flexible and accurate instruction matching.

[0102] In a specific embodiment of the present invention, the collected pulse signal data is processed and its average value is calculated. According to the calculated average value, a threshold is set, and the threshold is usually set within a certain range above and below the average value to distinguish between signals and noise to determine the existence of pulse signals. The pulse signal existing at the current moment and the signal value at the previous moment are differentially calculated to obtain the change amount of the signal at the current moment. If the pulse signal value at the current moment is greater than the signal value at the previous moment, and the difference at the current moment is greater than 0, it means that the signal has risen, that is, the rising edge is detected; if the pulse signal value at the current moment is less than the signal value at the previous moment, and the difference between the current moment and the previous moment is greater than or equal to 0, it means that the signal has fallen, that is, the falling edge is detected. By continuously monitoring the rising and falling edges of the pulse signal, the existence and change of the pulse signal can be accurately detected. When the rising edge or falling edge is detected, the corresponding timestamp is recorded. According to the detected pulse signal and its timestamp, the time domain characteristics of the pulse signal, such as pulse width and pulse interval, are extracted; the pulse signal detected within a period of time is statistically analyzed to extract statistical features such as the number of pulses and average pulse width. A series of control instructions and their corresponding pulse signal characteristics are predefined in the system. The extracted pulse signal characteristic parameters are matched with the predefined control instruction characteristics to find the most suitable control instruction. Based on the matching results, a mapping relationship between the pulse signal characteristics and the control instruction is established so that the corresponding control instruction can be directly determined based on the received pulse signal.

[0103] like Figure 2 As shown, a method for testing an intelligent magneto-optical switch comprises:

[0104] Step 21, obtaining the optical power of the laser through an acquisition module, and calibrating the optical power to obtain the optical power;

[0105] Step 22, calculating the insertion loss of the optical switch according to the acquired optical power, and sending the calculated insertion loss data of the optical switch to the control module;

[0106] Step 23, in the control module, receiving the optical switch insertion loss data through the MCU controller unit to generate a corresponding driving signal;

[0107] Step 24, controlling the pulse driving circuit unit through the driving signal to generate a pulse signal;

[0108] Step 25, sending the generated pulse signal to the magneto-optical switch of the unit under test, and the magneto-optical switch of the unit under test controls its internal magnetic circuit to perform a switch closing operation and a channel switching operation according to the pulse signal;

[0109] Step 26, providing the required working power to the acquisition module, the control module and the magneto-optical switch of the unit to be tested respectively through the power supply module.

[0110] In an embodiment of the present invention, the optical power of the laser is acquired and calibrated by the acquisition module, so that the system can obtain accurate optical power data. Based on the calibrated optical power data, the system can more accurately calculate the insertion loss of the optical switch. By sending the calculated insertion loss data of the optical switch to the control module, the system realizes rapid data transmission and centralized processing, improves the efficiency of data processing, and ensures the timeliness of control instructions. The system exhibits rapid response capabilities by receiving the insertion loss data of the optical switch through the MCU controller unit and quickly generating the corresponding drive signal, ensuring that the optical switch can make accurate actions according to the control instructions in a short time. The pulse drive circuit unit is controlled by the drive signal to generate a pulse signal, and the signal is stably sent to the magneto-optical switch of the unit to be tested, ensuring the accurate transmission and execution of the control instructions. The magneto-optical switch of the unit to be tested can flexibly perform the closing operation and channel switching operation of the switch according to the received pulse signal, which enhances the flexibility and versatility of the system and enables it to adapt to different application scenarios and needs. A special power supply module is used to provide the required working power for the acquisition module, the control module and the magneto-optical switch of the unit to be tested, ensuring the stable operation of the entire system.

[0111] It should be noted that the system is a system corresponding to the above method, and all implementation methods in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0112] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An intelligent magneto-optical switch testing system, characterized in that: The system comprises: An acquisition module is used to acquire the optical power of the laser, calibrate the optical power, and calculate the insertion loss of the optical switch; A control module, used for receiving the insertion loss of the optical switch sent by the acquisition module, and generating a driving signal through the MCU controller unit, so as to control the pulse driving circuit unit through the driving signal and generate a pulse signal; The magneto-optical switch of the unit to be tested is used to receive the pulse signal and control the corresponding magnetic circuit to close the switch and switch the channel according to the pulse signal; The power module is electrically connected to the acquisition module, the control module and the magneto-optical switch of the unit to be tested respectively; the optical power of the laser is acquired, the optical power is calibrated, and the insertion loss of the optical switch is calculated, including: Sending a control instruction to the laser so that the laser outputs different optical powers according to the control instruction to obtain an output optical power; Calibrate the optical power output by the laser to obtain the calibrated laser output power; According to the calibrated laser output power, Calculate the insertion loss of each channel of the optical switch, where is the laser output power, is the power measured by the optical power meter, is the coupling loss; is the reference loss value of the optical switch; is the wavelength sensitivity coefficient, which is taken as a constant of 0.2 dB / nm ; is the actual wavelength, is the design wavelength, is the temperature sensitivity coefficient, which is taken as a constant of 0.2 dB / ℃ ; is the current temperature, is the reference temperature, is the insertion loss; sending a control instruction to the laser so that the laser outputs different optical powers according to the control instruction to obtain the output optical power, including: According to the control instructions, the laser passes Update the output power to obtain the output optical power, where, is the updated laser output power, is the laser output power at the previous moment, is the actual measured optical power at the current moment, It is the adjustment coefficient, which controls the change amplitude of the laser output power during update, and its value range is 0< <1; is the basic optical power prediction value when all independent variables are zero =2.5mW; is the influence coefficient of historical optical power, is the influence coefficient of historical insertion loss, is the regression coefficient for temperature and relative humidity percentage, is the temperature and relative humidity percentage, is the average value of historical insertion loss, is the average value of historical optical power, m is equal to 2, is the index, is time; the optical power output by the laser is calibrated to obtain the calibrated laser output power, including: The optical power output by the laser is Calibrate to obtain the calibrated laser output power, where: is the calibration factor, is the measured optical power after calibration, is the actual measured optical power at the current moment, is the basic optical power prediction value when all independent variables are zero =2.5mW; is the influence coefficient of historical optical power, is the influence coefficient of historical insertion loss, is the regression coefficient for temperature and relative humidity percentage, is the temperature and relative humidity percentage, is the average value of historical insertion loss, is the average value of historical optical power, m is equal to 2, is the index, It's time.

2. The intelligent magneto-optical switch testing system according to claim 1, characterized in that: The optical switch insertion loss sent by the receiving module is received, and a driving signal is generated through the MCU controller unit to control the pulse driving circuit unit through the driving signal and generate a pulse signal, including: The MCU control unit receives control instructions from the host computer through the serial port, generates corresponding drive signals according to the control instructions, and outputs the drive signals to the pulse drive circuit unit; The pulse driving circuit unit receives the pulse signal from the MCU control unit and generates a corresponding pulse signal.

3. The intelligent magneto-optical switch testing system according to claim 2, characterized in that: The MCU control unit receives control instructions from the host computer through the serial port, generates corresponding drive signals according to the control instructions, and outputs the drive signals to the pulse drive circuit unit, including: The host computer sends control instructions to the MCU control unit through the serial port. The MCU control unit reads the received data and parses it according to the instruction format to obtain the parsing result. The instruction format includes identifying the instruction type and extracting the operation parameters. According to the analysis results, the MCU performs arithmetic and logic operations to obtain the logical processing results; Based on the processing result of the control logic, the MCU control unit generates a corresponding driving signal and outputs the driving signal to the pulse driving circuit unit.

4. The intelligent magneto-optical switch testing system according to claim 3, characterized in that: Receive pulse signals and control the corresponding magnetic circuit to close the switch and switch the channel according to the pulse signals, including: According to the pulse signal sent by the control module, the receiving circuit processes the pulse signal to obtain a processed pulse signal; Analyze the processed pulse signal and identify characteristic parameters of the pulse signal to obtain control instructions, wherein the characteristic parameters include pulse width, amplitude and frequency; According to the control instructions, the magnetic circuit is controlled to perform switching operations to close the switch and switch the channel.

5. The intelligent magneto-optical switch testing system according to claim 4, characterized in that: According to the pulse signal sent by the control module, the receiving circuit processes the pulse signal to obtain a processed pulse signal, including: The pulse signal passes through Perform level conversion to obtain a converted pulse signal, where: is the input signal, is to determine the desired output level, A is the gain, B is the offset; The converted pulse signal is amplitude adjusted and filtered to obtain a processed pulse signal.

6. The intelligent magneto-optical switch testing system according to claim 5, characterized in that: The processed pulse signal is analyzed to identify the characteristic parameters of the pulse signal to obtain the control instruction, wherein the characteristic parameters include pulse width, amplitude and frequency, including: According to the processed pulse signal, an average value of the pulse signal is calculated, and according to the average value of the pulse signal, a threshold is set to determine the pulse signal; According to the determined pulse signal, To identify the rising and falling edges of the pulse signal, the rising edge: and When the signal rises, it indicates that the signal has fallen. and When , it means that the signal has dropped; is the pulse signal at the current moment, is the signal value at the previous moment, is the difference of the signal at the current moment, It's the time point. is the difference from the previous moment; According to the rising edge and falling edge of the pulse signal, the pulse signal can be detected; According to the detection of the pulse signal, the time domain characteristics and statistical characteristics of the pulse signal are extracted to obtain the characteristic parameters of the pulse signal; The extracted characteristic parameters are matched with the predefined control instruction characteristics, and a mapping relationship between the pulse signal characteristics and the control instructions is established to determine the corresponding control instructions.

7. A method for testing an intelligent magneto-optical switch, characterized in that: Applied to the system according to any one of claims 1 to 6, the method comprises: The optical power of the laser is obtained by using an acquisition module, and the optical power is calibrated to obtain the optical power; Calculating the insertion loss of the optical switch according to the acquired optical power, and sending the calculated insertion loss data of the optical switch to the control module; In the control module, the optical switch insertion loss data is received through the MCU controller unit to generate a corresponding driving signal; The pulse driving circuit unit is controlled by the driving signal to generate a pulse signal. The generated pulse signal is sent to the magneto-optical switch of the unit under test, and the magneto-optical switch of the unit under test controls its internal magnetic circuit to execute the closing operation of the switch and the channel switching operation according to the pulse signal; The power supply module provides the required working power to the acquisition module, the control module and the magneto-optical switch of the unit to be tested respectively.

Citation Information

Patent Citations

  • Spectrometer power calibration device and method

    CN116358702A

  • Method and device for online measurement of transmission or reflection on moving objects in the range of detectable electromagnetic radiation

    DE3535515A1