MEME optical switch micromirror optimal deflection voltage automatic debugging device and debugging method

By designing an automatic adjustment device for silicon-based micromirrors for MEME optical switches, the optimal deflection voltage is automatically adjusted using a drive control circuit board and an optical switch fixture, solving the problem of low efficiency in manual adjustment of silicon-based micromirrors for MEME optical switches and achieving rapid and efficient production.

CN117595921BActive Publication Date: 2026-07-21THE 34TH RES INST OF CHINA ELECTRONICS TECH CORP
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
THE 34TH RES INST OF CHINA ELECTRONICS TECH CORP
Filing Date
2023-11-27
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In the existing technology, the optimal deflection voltage adjustment efficiency of silicon-based micromirrors for MEME optical switches is low, and manual adjustment is time-consuming, which cannot meet the needs of mass production.

Method used

An automatic adjustment device for the optimal deflection voltage of a silicon-based micromirror for MEME optical switching was designed. The device includes a drive control circuit board, a MEME optical switch fixture, a highly stable light source, and a high-precision optical power meter. The device is automatically adjusted by an embedded microprocessor and a high-voltage DC bias level module, and the optimal parameters converge within 60 seconds.

Benefits of technology

It significantly improves production efficiency and reduces manual debugging time from 3 hours to 60 seconds, thus improving production efficiency and facilitating industrial application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117595921B_ABST
    Figure CN117595921B_ABST
Patent Text Reader

Abstract

The application discloses a kind of MEME optical switch micro lens optimal deflection voltage automatic debugging device and debugging method, the device is including interconnected drive control circuit board and with high-stability light source, high-precision optical power meter connection MEME optical switch fixture, drive control circuit board is equipped with embedded microprocessor and with embedded microprocessor connection control debugging interface connector, power management module, reset unit, high-performance communication controller, health management unit and high-voltage DC bias level module, control debugging interface connector is also connected with power management module and high-performance communication controller, high-voltage DC bias level module is also connected with power management module and reset unit, drive control circuit board input end connects external control, debugging, power supply signal.This kind of device low cost, with the advantages of high efficiency, miniaturization, light weight, low power consumption, it is convenient for industrial application, the debugging method of using this kind of device is easy to operate, practical, can improve production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical communication, and more particularly to all-optical switching and optical switching technology, specifically to an automatic adjustment device and method for the optimal deflection voltage of a MEME optical switch micromirror. Background Technology

[0002] MEME optical switches achieve optical path switching by controlling the deflection of silicon-based micromirrors through deflection voltage. Each MEME optical switch has two deflection voltage control pins, P and N, as well as a ground pin, G. Since the optimal deflection voltage for each P or N pin needs to be found from more than 600 parameters, manually debugging a MEME optical switch would take about 3 hours, which is extremely inefficient and cannot meet the needs of mass production.

[0003] If an automatic adjustment device for the optimal deflection voltage of a MEMS optical switch silicon-based micromirror can be developed, which can converge the optimal deflection voltage parameter of a MEMS optical switch silicon-based micromirror within 60 seconds, it will greatly improve production efficiency and have enormous social and economic value. Summary of the Invention

[0004] The purpose of this invention is to address the shortcomings of existing technologies by providing an automatic adjustment device and method for the optimal deflection voltage of MEME optical switch micromirrors. This device is low-cost, highly efficient, miniaturized, lightweight, and consumes little power, making it suitable for industrial applications. This method is easy to operate, highly practical, and can improve production efficiency.

[0005] The technical solution to achieve the objective of this invention is:

[0006] An automatic adjustment device for the optimal deflection voltage of a MEME optical switch based on a silicon micromirror includes an interconnected drive control circuit board and a MEME optical switch fixture connected to a high-stability light source and a high-precision optical power meter. The drive control circuit board is equipped with an embedded microprocessor and a control and debugging interface connector connected to the embedded microprocessor, a power management module, a reset unit, a high-performance communication controller, a health management unit, and a high-voltage DC bias level module. The control and debugging interface connector is also connected to the power management module and the high-performance communication controller; the high-voltage DC bias level module is also connected to the power management module and the reset unit. The input terminal of the drive control circuit board is connected to external control, debugging, and power supply signals. The clamp is a device that can fix the MEMS optical switch and connect the P, N, and G pins of the MEMS optical switch to the control circuit board. The P, N, and G pins of the MEMS optical switch clamp are connected to the drive control board. The high-stability light source is connected to the optical port of the optical switch fixed on the MEMS optical switch clamp. The high-stability light source outputs a highly stable 1550nm wavelength optical signal. Within a temperature range of -20℃ to 50℃, the power stability can reach ±0.1dBm. The high-precision optical power meter is connected to the optical port of the MEMS optical switch fixed on the optical switch clamp. It can measure the 1550nm optical signal with a measurement accuracy of at least 0.1dBm.

[0007] The embedded microprocessor is a highly integrated, low-power, high-performance microprocessor. Its function is to parse control command signals and generate control signals for the high-voltage DC bias level module according to the control command signals. This enables the high-voltage DC bias level module circuit to output 96 channels of high-precision DC bias levels with different values. The embedded microprocessor also receives working voltage and current circuit board temperature health management information collected by the health management unit. The device model is XK29085007.

[0008] The power management module is a highly integrated power conversion module. Its function is to convert the 12V supply voltage into 3.3V and 60V operating voltages, and to provide the voltage and current required for the operation of the reset unit, high-performance communication controller, embedded microprocessor, and high-voltage DC bias level module.

[0009] The reset unit uses a reset chip MAX6822TUK-T, whose main function is to provide a low-level reset signal for the embedded microprocessor.

[0010] The high-performance communication controller is a micro controller that realizes communication protocol conversion and control functions. It is used to manage the control signals of the input and output embedded microprocessor. The device model is HHD65HVD230.

[0011] The health management unit is equipped with an interconnected temperature detection chip HWD18B20-A and a voltage divider resistor.

[0012] The high-voltage DC bias level module is equipped with a high-voltage output DA chip. The SPI control bus interface signal pin of the DA chip is connected to the SPI interface of the embedded microprocessor through PCB wiring. The parallel drive level signal output by the DA chip output interface is connected to the MEME optical switch fixture in a parallel connection manner.

[0013] An automatic adjustment method for the optimal deflection voltage of a silicon-based micromirror for MEME optical switching, comprising the aforementioned automatic adjustment device for the optimal deflection voltage of a silicon-based micromirror for MEME optical switching, the method comprising the following steps:

[0014] 1) System initialization: includes:

[0015] 1-1) Interrupt setting and enabling: Configure the interrupt management register of the embedded microprocessor, enable the CAN receive interrupt, and disable other idle interrupts;

[0016] 1-2) AD controller initialization: Configure the AD controller register of the embedded microprocessor, set the ADC priority to medium, the clock setting register frequency to 100Ksps, set the waiting period interval for continuous sampling to 1 system clock, and start the run control register to sample 5 times continuously.

[0017] 1-3) SPI controller initialization: Configure the SPI controller register of the embedded microprocessor, configure the control register to use master mode, set the clock phase CPOL to 0 (i.e., low level when the clock is idle) and the polarity CPHA to 0 (i.e., data acquisition is performed on the first transition edge of the clock), configure the SPI baud rate to 100 bit / s, and configure the extended register to make the serially transmitted data high-order bits first.

[0018] 1-4) CAN controller initialization: Configure the CAN controller register of the embedded microprocessor to set the CAN communication rate to 500kbps, the working mode to normal working mode, the receiving filter to use dual filter mode, and open a receiving buffer area to store the data received by the bus.

[0019] 1-5) DA chip array initialization: Initialize and configure the DA chip via SPI, enabling all 4 channels of the DA chip and setting the output mode to tri-state mode;

[0020] 1-6) Optical switch initialization: Control the DA chip to output the voltage required for optical switch optical path switching, so that the optical switch is in a state where a certain optical path is connected;

[0021] 1-7) Initialization of the communication protocol processing component: Initialize the software global variables of the communication protocol processing component, so that the global variables are in the predetermined initial value;

[0022] 2) System Self-Test: The system self-test process mainly completes the acquisition of equipment operating parameters, namely power supply voltage and temperature, and determines whether the system status is normal based on predefined thresholds, including:

[0023] 2-1) The system periodically obtains the voltage value output by the health management unit from the AD converter. Each AD converter performs 5 consecutive samplings, and the result is taken as the arithmetic mean.

[0024] 2-2) The correspondence between the 12-bit acquired value and the input voltage is N=(Ui*4095) / 2.5, where N is the value and Ui is the input voltage;

[0025] 2-3) The actual parameter value to be monitored can be obtained by multiplying the input voltage by the corresponding coefficient. The calculation formula is: P=Ui*α, where P is the result parameter value, Ui is the input voltage, and the coefficient α is determined by the actual circuit parameters.

[0026] 2-4) Determine whether the parameter status is normal or abnormal based on predefined thresholds. The threshold for judging the working voltage is 58.0V - 62.0V, and the threshold for judging the circuit board temperature is -35℃ - 65℃.

[0027] 3) Generation of suboptimal parameters: The output voltage of the DA output port is changed in 0.3V increments. The voltage value when the optical power meter reading is the smallest is recorded. This is the suboptimal parameter voltage value of pin P and pin N.

[0028] 4) Optimal parameter generation: Simultaneously, according to the suboptimal voltage value, fix the voltage value of pin P, and adjust the voltage of pin N in 0.1V steps. Record the voltage value when the optical power meter reading is the smallest. This is the optimal parameter voltage value of pin N. Simultaneously, according to the optimal voltage value, fix the voltage value of pin N, and adjust the voltage of pin P in 0.1V steps. Record the voltage value when the optical power meter reading is the smallest. This is the optimal parameter voltage value of pin P. At this time, the optimal voltages of pins P and N are the optimal parameters of the MEMS optical switch under test.

[0029] This technical solution can solve the technical problem that it takes more than 3 hours to find the optimal deflection parameters of a silicon-based micromirror for MEMS optical switching from more than 1,200 parameters manually. It can automatically find the optimal parameters within 60 seconds, which greatly improves production efficiency and facilitates its application on the production line.

[0030] This device is low-cost, highly efficient, miniaturized, lightweight, and consumes little power, making it suitable for industrial applications. This method is easy to operate, highly practical, and can improve production efficiency. Attached Figure Description

[0031] Figure 1 This is a schematic diagram of the structure of an embodiment;

[0032] Figure 2This is a schematic diagram of the internal connection of the drive control board in the embodiment;

[0033] Figure 3 This is a flowchart illustrating the method in the embodiment. Detailed Implementation

[0034] The present invention will be further described below with reference to the accompanying drawings and embodiments, but this is not intended to limit the scope of the invention. Example

[0035] like Figure 1 As shown, an automatic adjustment device for the optimal deflection voltage of a silicon-based micromirror for MEME optical switching includes interconnected drive control circuit boards and a MEME optical switch fixture connected to a highly stable light source and a high-precision optical power meter, wherein, as... Figure 2 As shown, the drive control circuit board is equipped with an embedded microprocessor and a control and debugging interface connector connected to the embedded microprocessor, a power management module, a reset unit, a high-performance communication controller, a health management unit, and a high-voltage DC bias level module. The control and debugging interface connector is also connected to the power management module and the high-performance communication controller, and the high-voltage DC bias level module is also connected to the power management module and the reset unit. The input terminal of the drive control circuit board is connected to external control, debugging signals, and power supply signals. The MEME optical switch fixture is a device that can fix the MEMS optical switch and connect the P, N, and G pins of the MEMS optical switch to the control circuit board. The P, N, and G pins of the MEME optical switch fixture are connected to the drive control board. The high-stability light source is connected to the optical port of the optical switch fixed on the MEMS optical switch fixture. The high-stability light source outputs a highly stable 1550nm wavelength optical signal. Within a temperature range of -20℃ to 50℃, the power stability can reach ±0.1dBm. The high-precision optical power meter is connected to the optical port of the MEMS optical switch fixed on the optical switch fixture. It can measure the 1550nm optical signal with a measurement accuracy of at least 0.1dBm.

[0036] In this example, the embedded microprocessor is a highly integrated, low-power, high-performance microprocessor. Its function is to parse control command signals and generate control signals for the high-voltage DC bias level module according to the control command signals. This enables the high-voltage DC bias level module circuit to output 96 channels of high-precision DC bias levels with different values. The embedded microprocessor also receives working voltage and current circuit board temperature health management information collected by the health management unit. The device model is XK29085007.

[0037] The power management module is a highly integrated power conversion module. Its function is to convert the 12V supply voltage into 3.3V and 60V operating voltages, providing the voltage and current required for the operation of the reset unit, high-performance communication controller, embedded microprocessor, and high-voltage DC bias level module. In this example, the power management module model is HNSR12S60S, manufactured by the 43rd Research Institute of China Electronics Technology Group Corporation.

[0038] In this example, the reset unit uses the MAX6822TUK-T reset chip, whose main function is to provide a low-level reset signal for the embedded microprocessor.

[0039] In this example, the high-performance communication controller is a microcontroller that implements communication protocol conversion and control functions. It is used to manage the control signals of the input and output embedded microprocessor. The device model is HHD65HVD230.

[0040] In this example, the health management unit is equipped with an interconnected temperature detection chip HWD18B20-A and a voltage divider resistor.

[0041] In this example, the high-voltage DC bias level module is equipped with a high-voltage output DA chip. The DA chip's SPI control bus interface signal pins are connected to the SPI interface of the embedded microprocessor through PCB wiring. The parallel drive level signal output by the DA chip's output interface is connected to the MEME optical switch fixture in a parallel connection manner.

[0042] In this example, the control and debugging interface connector 1 is model J63, manufactured by Guizhou Aerospace.

[0043] In this example, as Figure 2As shown, pins 1 and 2 of the control debugging interface connector are connected to the power input interface of the power management module via PCB routing; pins 3 and 4 of the control debugging interface connector are connected to the communication interface of the high-performance communication controller via PCB routing; pins 5 and 6 of the control debugging interface connector are connected to the debugging interface of the embedded microprocessor via PCB routing; the first 3.3V power output interface of the power management module is connected to the power supply interface of the reset unit via PCB routing; the second 3.3V power output interface of the power management module is connected to the power supply interface of the embedded microprocessor via PCB routing; and the third 3.3V power output interface of the power management module is connected to the power supply interface of the high-performance communication controller via PCB routing. The 60V power output interface of the power management module is connected to the 60V power supply interface of the high-voltage DC bias level module via PCB wiring. The communication interface of the high-performance communication controller is connected to the communication interface of the embedded microprocessor via PCB wiring. The reset signal output port of the reset unit is connected to the reset interface of the embedded microprocessor via PCB wiring. The output interface of the health management unit is connected to the data acquisition interface of the embedded microprocessor via PCB wiring. The SPI bus interface of the embedded microprocessor is connected to the SPI interface of the high-voltage DC bias level module via PCB wiring. The high-voltage DC bias level module is composed of DA chips. The SPI control bus interface pins of the DA chips are connected one-to-one to the SPI interface of the embedded microprocessor. The chip select signal of the DA chips is connected to a general-purpose input / output interface of the embedded microprocessor via a PCB trace. The main function of the drive control circuit board is to receive control commands, adjust the DA output voltage correctly according to the received commands, and monitor the optical power value detected by the optical power meter in real time.

[0044] An automatic adjustment method for the optimal deflection voltage of a MEME optical switch silicon-based micromirror includes the aforementioned automatic adjustment device for the optimal deflection voltage of a MEME optical switch silicon-based micromirror, such as... Figure 3 As shown, the method includes the following steps:

[0045] 1) System initialization: includes:

[0046] 1-1) Interrupt setting and enabling: Configure the interrupt management register of the embedded microprocessor, enable the CAN receive interrupt, and disable other idle interrupts;

[0047] 1-2) AD controller initialization: Configure the AD controller register of the embedded microprocessor, set the ADC priority to medium, the clock setting register frequency to 100Ksps, set the waiting period interval for continuous sampling to 1 system clock, and start the run control register to sample 5 times continuously.

[0048] 1-3) SPI controller initialization: Configure the SPI controller register of the embedded microprocessor, configure the control register to use master mode, set the clock phase CPOL to 0 (i.e., low level when the clock is idle) and the polarity CPHA to 0 (i.e., data acquisition is performed on the first transition edge of the clock), configure the SPI baud rate to 100 bit / s, and configure the extended register to make the serially transmitted data high-order bits first.

[0049] 1-4) CAN controller initialization: Configure the CAN controller register of the embedded microprocessor to set the CAN communication rate to 500kbps, the working mode to normal working mode, the receiving filter to use dual filter mode, and open a receiving buffer area to store the data received by the bus.

[0050] 1-5) DA chip array initialization: Initialize and configure the DA chip via SPI, enabling all 4 channels of the DA chip and setting the output mode to tri-state mode;

[0051] 1-6) Optical switch initialization: Control the DA chip to output the voltage required for optical switch optical path switching, so that the optical switch is in a state where a certain optical path is connected;

[0052] 1-7) Initialization of the communication protocol processing component: Initialize the software global variables of the communication protocol processing component, so that the global variables are in the predetermined initial value;

[0053] 2) System Self-Test: The system self-test process mainly completes the acquisition of equipment operating parameters, namely power supply voltage and temperature, and determines whether the system status is normal based on predefined thresholds, including:

[0054] 2-1) The system periodically obtains the voltage value output by the health management unit from the AD converter. Each AD converter performs 5 consecutive samplings, and the result is taken as the arithmetic mean.

[0055] 2-2) The correspondence between the 12-bit acquired value and the input voltage is N=(Ui*4095) / 2.5, where N is the value and Ui is the input voltage;

[0056] 2-3) The actual parameter value to be monitored can be obtained by multiplying the input voltage by the corresponding coefficient. The calculation formula is: P=Ui*α, where P is the result parameter value, Ui is the input voltage, and the coefficient α is determined by the actual circuit parameters.

[0057] 2-4) Determine whether the parameter status is normal or abnormal based on predefined thresholds. The threshold for judging the working voltage is 58.0V - 62.0V, and the threshold for judging the circuit board temperature is -35℃ - 65℃.

[0058] 3) Generation of suboptimal parameters: The output voltage of the DA output port is changed in 0.3V increments. The voltage value when the optical power meter reading is the smallest is recorded. This is the suboptimal parameter voltage value of pin P and pin N.

[0059] 4) Optimal parameter generation: Simultaneously, according to the suboptimal voltage value, fix the voltage value of pin P, and adjust the voltage of pin N in 0.1V steps. Record the voltage value when the optical power meter reading is the smallest. This is the optimal parameter voltage value of pin N. Simultaneously, according to the optimal voltage value, fix the voltage value of pin N, and adjust the voltage of pin P in 0.1V steps. Record the voltage value when the optical power meter reading is the smallest. This is the optimal parameter voltage value of pin P. At this time, the optimal voltages of pins P and N are the optimal parameters of the MEMS optical switch under test.

[0060] In this example, during the production of MEME optical switches, each channel of each MEME optical switch has two optimal deflection voltages for silicon-based micromirrors that need to be adjusted: the optimal deflection voltage for pin P and the optimal deflection voltage for pin N. Each optimal deflection voltage needs to be found in 0.1V increments within the voltage range of 0V to 60V. A MEME optical switch has 24 channels, requiring the search of 24 × 2 × 60 = 2880 optimal deflection voltage parameters. The traditional method is to find the optimal deflection voltage manually. This method has two drawbacks: first, adjusting one MEME optical switch takes about 3.2 hours, which is too inefficient and cannot meet the needs of mass production of MEME optical switches; second, the constant plugging and unplugging of fiber optic heads during the adjustment process consumes the device's lifespan and reduces equipment reliability.

[0061] This example employs a technical solution that integrates the drive control circuit board, optical switch fixture, high-stability light source, and high-precision optical power meter into a single automatic adjustment device for the optimal deflection voltage of the silicon-based micromirror of the MEME optical switch. This significantly improves the efficiency of finding the optimal deflection voltage, thereby increasing the production efficiency of MEME optical switches.

[0062] In this example, with main performance indicators equal to, and some indicators superior to, those of foreign products, the convergence time for finding the optimal deflection voltage is shortened to less than 60 seconds, while also possessing the following advantages:

[0063] 1) Automatically finds the optimal bias voltage; has temperature and voltage detection functions; has automatic voltage curve generation function; operating temperature: -40℃~70℃; storage temperature: -45℃~75℃;

[0064] 2) It has automatic data collection and analysis functions: it automatically collects, stores and processes data, automatically analyzes and processes data, and automatically generates optimal parameters without manual intervention;

[0065] 3) This method achieves low cost, high efficiency, miniaturization, lightweight design, and low power consumption, making it easy to promote and apply on production lines. It is also convenient to operate and highly practical.

Claims

1. An automatic adjustment device for the optimal deflection voltage of a silicon-based micromirror for MEME optical switching, characterized in that, The device includes an interconnected drive control circuit board and a MEME optical switch fixture connected to a high-stability light source and a high-precision optical power meter. The drive control circuit board is equipped with an embedded microprocessor and a control and debugging interface connector connected to the embedded microprocessor, a power management module, a reset unit, a high-performance communication controller, a health management unit, and a high-voltage DC bias level module. The control and debugging interface connector is also connected to the power management module and the high-performance communication controller, and the high-voltage DC bias level module is also connected to the power management module and the reset unit. The input terminal of the drive control circuit board is connected to external control, debugging, and power supply signals. The clamp is a device that can fix the MEMS optical switch and connect the P, N, and G pins of the MEMS optical switch to the control circuit board. The P, N, and G pins of the MEMS optical switch clamp are connected to the drive control board. The high-stability light source is connected to the optical port of the optical switch fixed on the MEMS optical switch clamp. The high-stability light source outputs a highly stable 1550nm wavelength optical signal. Within a temperature range of -20℃ to 50℃, the power stability can reach ±0.1dBm. The high-precision optical power meter is connected to the optical port of the MEMS optical switch fixed on the optical switch clamp. It can measure the 1550nm optical signal with a measurement accuracy of at least 0.1dBm.

2. The automatic adjustment device for optimal deflection voltage of MEME optical switch silicon-based micromirror according to claim 1, characterized in that, The embedded microprocessor is a highly integrated, low-power, high-performance microprocessor. Its function is to parse control command signals and generate control signals for the high-voltage DC bias level module according to the control command signals. This enables the high-voltage DC bias level module circuit to output 96 channels of high-precision DC bias levels with different values. The embedded microprocessor also receives working voltage and current circuit board temperature health management information collected by the health management unit. The device model is XK29085007.

3. The automatic adjustment device for optimal deflection voltage of MEME optical switch silicon-based micromirror according to claim 1, characterized in that, The power management module is a highly integrated power conversion module. Its function is to convert the 12V supply voltage into 3.3V and 60V operating voltages, and to provide the voltage and current required for the operation of the reset unit, high-performance communication controller, embedded microprocessor, and high-voltage DC bias level module.

4. The automatic adjustment device for optimal deflection voltage of MEME optical switch silicon-based micromirror according to claim 1, characterized in that, The reset unit uses a reset chip MAX6822TUK-T, which is used to provide a low-level reset signal for the embedded microprocessor.

5. The automatic adjustment device for optimal deflection voltage of MEME optical switch silicon-based micromirror according to claim 1, characterized in that, The high-performance communication controller is a micro controller that realizes communication protocol conversion and control functions. It is used to manage the control signals of the input and output embedded microprocessor. The device model is HHD65HVD230.

6. The automatic adjustment device for optimal deflection voltage of MEME optical switch silicon-based micromirror according to claim 1, characterized in that, The health management unit is equipped with an interconnected temperature detection chip HWD18B20-A and a voltage divider resistor.

7. The automatic adjustment device for optimal deflection voltage of MEME optical switch silicon-based micromirror according to claim 1, characterized in that, The high-voltage DC bias level module is equipped with a high-voltage output DA chip. The SPI control bus interface signal pin of the DA chip is connected to the SPI interface of the embedded microprocessor through PCB wiring. The parallel drive level signal output by the DA chip output interface is connected to the MEME optical switch fixture in a parallel connection manner.

8. A method for automatically adjusting the optimal deflection voltage of a MEME optical switch silicon-based micromirror, comprising the automatic adjustment device for the optimal deflection voltage of a MEME optical switch silicon-based micromirror as described in any one of claims 1-7, characterized in that, The method includes the following steps: 1) System initialization: includes: 1-1) Interrupt setting and enabling: Configure the interrupt management register of the embedded microprocessor, enable the CAN receive interrupt, and disable other idle interrupts; 1-2) AD controller initialization: Configure the AD controller register of the embedded microprocessor, set the ADC priority to medium, the clock setting register frequency to 100Ksps, set the waiting period interval for continuous sampling to 1 system clock, and start the run control register to sample 5 times continuously. 1-3) SPI controller initialization: Configure the SPI controller register of the embedded microprocessor, configure the control register to use master mode, set the clock phase CPOL to 0 (i.e., low level when the clock is idle) and the polarity CPHA to 0 (i.e., data acquisition is performed on the first transition edge of the clock), configure the SPI baud rate to 100 bit / s, and configure the extended register to make the serially transmitted data high-order bits first. 1-4) CAN controller initialization: Configure the CAN controller register of the embedded microprocessor to set the CAN communication rate to 500kbps, the working mode to normal working mode, the receiving filter to use dual filter mode, and open a receiving buffer area to store the data received by the bus. 1-5) DA chip array initialization: Initialize and configure the DA chip via SPI, enabling all 4 channels of the DA chip and setting the output mode to tri-state mode; 1-6) Optical switch initialization: Control the DA chip to output the voltage required for optical switch optical path switching, so that the optical switch is in a state where a certain optical path is connected; 1-7) Initialization of the communication protocol processing component: Initialize the software global variables of the communication protocol processing component, so that the global variables are in the predetermined initial value; 2) System Self-Test: The system self-test process mainly completes the acquisition of equipment operating parameters, namely power supply voltage and temperature, and determines whether the system status is normal based on predefined thresholds, including: 2-1) The system periodically obtains the voltage value output by the health management unit from the AD converter. Each AD converter performs 5 consecutive samplings, and the result is taken as the arithmetic mean. 2-2) The correspondence between the 12-bit acquired value and the input voltage is N=(Ui*4095) / 2.5, where N is the value and Ui is the input voltage; 2-3) The actual parameter value to be monitored can be obtained by multiplying the input voltage by the corresponding coefficient. The calculation formula is: P=Ui*α, where P is the result parameter value, Ui is the input voltage, and the coefficient α is determined by the actual circuit parameters. 2-4) Determine whether the parameter status is normal or abnormal based on predefined thresholds. The threshold for judging the working voltage is 58.0V - 62.0V, and the threshold for judging the circuit board temperature is -35℃ - 65℃. 3) Generation of suboptimal parameters: The output voltage of the DA output port is changed in 0.3V increments. The voltage value when the optical power meter reading is the smallest is recorded. This is the suboptimal parameter voltage value of pin P and pin N. 4) Optimal parameter generation: Simultaneously, according to the suboptimal voltage value, fix the voltage value of pin P, and adjust the voltage of pin N in 0.1V steps. Record the voltage value when the optical power meter reading is the smallest. This is the optimal parameter voltage value of pin N. Simultaneously, according to the optimal voltage value, fix the voltage value of pin N, and adjust the voltage of pin P in 0.1V steps. Record the voltage value when the optical power meter reading is the smallest. This is the optimal parameter voltage value of pin P. At this time, the optimal voltages of pins P and N are the optimal parameters of the MEMS optical switch under test.