Intelligent optical window system of optical module
By designing an optical module intelligent optical window system that includes judgment, control, selection and switching modules, the problem of single material of the existing optical module optical window is solved, intelligent analysis and selection of multiple beams is realized, and the adaptability and efficiency of the optical module is improved.
Patent Information
- Application Number
- CN202510319741.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-05-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing optical module has a single optical window material, making it difficult to analyze and select multiple beams, and the optical window material corresponding to different beams cannot be switched.
An optical module intelligent optical window system is designed, powered by a power supply module, combined with a determination module, a control module, a selection module and a switching module, and a spectral analysis technology is used to perform band analysis on the input light, determine the beam type, and select the appropriate optical window material according to the analysis results for switching.
Intelligent analysis and selection of multiple beams is realized, the adaptability and efficiency of the optical module is improved, and the light transmittance of the light window is improved by combining diamond and sapphire light window materials.
Smart Images

Figure CN119987264A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of light window systems, and in particular to an optical module intelligent light window system. Background Art
[0002] The high-power laser output of the optical module is stable and has good transmittance. The optical window of the optical module plays an important role in output. Diamond has excellent light transmittance, especially in the infrared band, which makes it an ideal material for making high-density and wear-resistant optical windows. Diamond has a wide light transmission bandwidth and low light absorption rate, that is, the transmittance is very high. Diamond has good light transmittance in the infrared light band, and its transmittance is as high as 90%. By using the high thermal conductivity, high composition uniformity and stability of high-power laser output of diamond, a higher-power, more stable and efficient light source can be prepared; sapphire has a strong light transmittance of 80% in the visible light band.
[0003] The existing optical module windows have the following problems: 1. The material is single, which has drawbacks in the analysis and selection of multiple light beams. 2. It is difficult to screen the light beams. 3. It is impossible to switch the corresponding window material for different types of light beams. Summary of the invention
[0004] In order to overcome the deficiencies of the prior art, an object of the present invention is to provide an optical module intelligent light window system.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] An optical module intelligent light window system, comprising:
[0007] A power module and a determination module, a control module, a selection module and a switching module all connected to the power module;
[0008] The power module is used to supply power to the determination module, the control module and the selection module connected to the power module; the determination module is used to perform band analysis on the input light using spectral analysis technology to obtain a light beam band information set and determine the input light type corresponding to the input light according to the light beam band information set; the control module is used to obtain variable voltage data according to the light beam band information set and determine the corresponding conversion instruction according to the variable voltage data; the selection module is used to select the corresponding light window according to the input light type; and the switching module is used to switch the current light window according to the corresponding conversion instruction.
[0009] Preferably, the determination module comprises:
[0010] Spectral line generation submodule, first waveband measurement submodule, second waveband measurement submodule, third waveband measurement submodule;
[0011] The spectral line generation submodule is used to generate characteristic spectral lines of different wavelengths according to the input light. The first band measurement submodule uses a visible light spectrometer to measure the 380-760nm band of the characteristic spectral lines to obtain a first light beam band information subset. The second band measurement submodule uses a near-infrared spectrometer to measure the 760nm-2.5m band of the characteristic spectral lines to obtain a second light beam band information subset. The third band measurement submodule uses an infrared spectrometer to measure the 2.5-3m band of the characteristic spectral lines to obtain a third light beam band information subset.
[0012] Preferably, the control module comprises:
[0013] STM32F103 chip control submodule, CMOS components, A / D converter and instruction generation submodule;
[0014] The STM32F103 chip control submodule is used to input the input light type corresponding to the current input light into the selection module and determine whether the input light type corresponding to the current input light conforms to the current light window. If not, the CMOS element is used to convert the light beam band information set into a voltage that changes linearly with temperature. The A / D converter converts the voltage that changes linearly with temperature within a preset voltage range into a digital image signal. The instruction generation submodule is used to generate a corresponding conversion instruction according to the digital image signal.
[0015] Preferably, the selection module includes:
[0016] Infrared photon module and visible photon module;
[0017] The infrared photon module is used to select a diamond light window according to the input light type, and the visible photon module is used to select a sapphire light window according to the input light type.
[0018] Preferably, the diamond light window and the sapphire light window are both circular.
[0019] Preferably, the surface roughness of the diamond light window is in the range of 0-2 nm, and the thickness of the diamond light window is 50 um.
[0020] Preferably, the surface roughness of the sapphire light window is in the range of 0 to 0.01 um, and the thickness of the sapphire light window is in the range of 0.4 mm to 0.7 mm.
[0021] Preferably, the diamond light window and the sapphire light window are connected by vacuum brazing technology.
[0022] Preferably, the switching module includes:
[0023] The sheet holder, converter and support structure are connected in sequence;
[0024] The film holder is connected to the sapphire light window;
[0025] The supporting structure is used to provide support for the film support and the converter, the converter is used to drive the film support to rotate, and the film support is used to realize the switching of the current light window, wherein a limit switch is provided on the switch, and the switch is used to limit the rotation angle of the switch.
[0026] The present invention discloses the following technical effects:
[0027] The present invention provides an optical module intelligent light window system, comprising: a power module and a determination module, a control module, a selection module and a switching module all connected to the power module; the power module is used to power the determination module, the control module and the selection module connected to the power module; the determination module is used to perform band analysis on the input light using spectral analysis technology, obtain a beam band information set and determine the input light type corresponding to the input light according to the beam band information set; the control module is used to obtain variable voltage data according to the beam band information set and determine the corresponding conversion instruction according to the variable voltage data; the selection module is used to select the corresponding light window according to the input light type; the switching module is used to switch the current light window according to the corresponding conversion instruction. The present invention performs spectral analysis on the light beam, selects a suitable light window material according to the data obtained by the analysis, improves the working efficiency of the optical module, and the intelligent light window system made by combining diamond and sapphire can integrate light in the visible light band and infrared light band, and improves the light transmittance of the light window. Since diamond has good light transmittance in the infrared band, with a transmittance of more than 90%, diamond's high thermal conductivity, high composition uniformity and stability of high-power laser output can be used to prepare a more powerful and stable high-efficiency light source; if the light beam obtained by analysis is visible light, a sapphire light window is used. Since sapphire has a strong light transmittance of 80% in the visible light band, a diamond light window and a sapphire light window are combined to produce an intelligent light window system. The present invention can realize intelligent analysis and selection of multiple light beams, improving the adaptability and efficiency of the optical module. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0029] Figure 1 A schematic diagram of the structure of an optical module intelligent light window system provided by an embodiment of the present invention;
[0030] Figure 2 A strategy flow chart provided for an embodiment of the present invention;
[0031] Figure 3 An overall top view provided for an embodiment of the present invention;
[0032] Figure 4 A schematic diagram of the structure of the diamond and sapphire layers provided in an embodiment of the present invention;
[0033] Figure 5 A schematic diagram of the structure of the diamond and sapphire layer plated metal layer provided in an embodiment of the present invention;
[0034] Figure 6 A schematic diagram of the structure of a diamond and sapphire mounting plate holder provided by an embodiment of the present invention;
[0035] Figure 7 Schematic diagram of the overall details of the smart light window system provided in an embodiment of the present invention.
[0036] Reference numerals:
[0037] 1. Chip holder; 2. Diamond and sapphire optical windows; 3. Converter; 4. Support structure; 5. Diamond optical window; 6. Sapphire optical window; 7. Power module; 8. Determination module; 9. Control module; 10. Selection module; 11. Switching module. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0040] like Figure 1 As shown, the present invention provides an optical module intelligent light window system, comprising:
[0041] A power module 7 and a determination module 8, a control module 9, a selection module 10 and a switching module 11, all of which are connected to the power module 7;
[0042] The power supply module 7 is used to supply power to the determination module 8, the control module 9 and the selection module 10. The determination module 8 is used to perform a band analysis on the input light using a spectral analysis technique to obtain a light beam band information set and determine the input light type corresponding to the input light according to the light beam band information set. The control module 9 is used to obtain the changing voltage data according to the light beam band information set and determine the corresponding conversion instruction according to the changing voltage data. The selection module 10 is used to select the corresponding light window according to the input light type. The switching module 11 is used to switch the current light window according to the corresponding conversion instruction.
[0043] Specifically, Figure 2 As shown, the light beam enters the intelligent light window system, which includes a determination module 8, a control module 9, a selection module 10 and a power module 7. First, the light beam enters the determination module 8, and the visible spectrometer, the near-infrared spectrometer and the infrared spectrometer analyze the wavelength band of the light beam, determine the type of the light beam, and pass the spectral data obtained by the determination module 8 to the control module 9. The control module 9 is used to control the entire system, and is composed of a Stm32 chip, a sensor and an A / D sensor. The control module 9 obtains a digital image signal and passes the obtained signal to the selection module 10, wherein the selection module 10 is divided into an infrared photon module and a visible photon module. If the light beam obtained by the analysis is The infrared light enters the infrared photon module. If the light beam obtained by analysis is visible light, it enters the visible photon module, wherein the light window used for the infrared light is a diamond light window 5. Since diamond has good light transmittance in the infrared light band, its transmittance is as high as over 90%. By utilizing the high thermal conductivity, high composition uniformity and stability of diamond for high-power laser output, a more powerful and stable high-efficiency light source can be prepared. If the light beam obtained by analysis is visible light, a sapphire light window 6 is used. Since sapphire has strong light transmittance in the visible light band, with a light transmittance of 80%, the diamond light window 5 and the sapphire light window 6 are combined to produce an intelligent light window system.
[0044] Furthermore, the determination module 8 includes:
[0045] Spectral line generation submodule, first waveband measurement submodule, second waveband measurement submodule, third waveband measurement submodule;
[0046] The spectral line generation sub-module is used to generate characteristic spectral lines of different wavelengths based on the input light. The first band determination sub-module measures the 380 - 760 nm band of the characteristic spectral lines using a visible light spectrometer to obtain a first subset of beam band information. The second band determination sub-module measures the 760 nm - 2.5 m band of the characteristic spectral lines using a near-infrared spectrometer to obtain a second subset of beam band information. The third band determination sub-module measures the 2.5 - 3 m band of the characteristic spectral lines using an infrared spectrometer to obtain a third subset of beam band information.
[0047] Specifically, the device used by the determination module 8 is a spectral analyzer. When an atom transitions from a higher energy level to the ground state or other lower energy levels, it will release excess energy, which is radiated in the form of electromagnetic waves of a certain wavelength. The wavelength of each emitted spectral line depends on the energy difference between the two energy levels before and after the transition. Since there are many energy levels in an atom, after the atom is excited, its outer electrons can have different transitions, but these transitions should follow certain rules (i.e., "spectral selection rules"). Therefore, a series of characteristic spectral lines of different wavelengths can be generated for the atoms of a specific element. These spectral lines are arranged in a certain order and maintain a certain intensity ratio. Among them, specifically, a visible light spectrometer is used to measure the 380 - 760 nm band, a near-infrared spectrometer is used to measure the 760 nm - 2.5 m band, and an infrared spectrometer is used to measure the 2.5 - 3 m band. The data obtained by the determination module 8 is used to perform band analysis on the beam.
[0048] Furthermore, the control module 9 includes:
[0049] STM32F103 chip control sub-module, CMOS component, A / D converter, and instruction generation sub-module;
[0050] The STM32F103 chip control sub-module is used to input the input light type corresponding to the current input light into the selection module 10 and determine whether the input light type corresponding to the current input light conforms to the current light window. If not, the CMOS component is used to convert the beam band information set into a voltage that varies linearly with temperature, and the A / D converter converts the voltage that varies linearly with temperature within a preset voltage range into a digital image signal. The instruction generation sub-module is used to generate a corresponding conversion instruction according to the digital image signal.
[0051] Specifically, the control module 9 uses the STM32F103 chip control system to perform data analysis on the obtained data. Among them, the sensor uses a CMOS component, and through the photoelectric effect and an A / D converter, a voltage that varies linearly with temperature is obtained. The conversion range is between 2V < VDDA (analog positive power supply) < 3.6V. The control chip is used to convert the electrical signal output by the sensor into a numerical value.
[0052] Furthermore, the selection module 10 includes:
[0053] Infrared photon module and visible photon module;
[0054] The infrared photon module is used to select the diamond light window 5 according to the input light type, and the visible photon module is used to select the sapphire light window 6 according to the input light type.
[0055] Specifically, the selection module 10 includes an infrared photon module and a visible photon module, which are switched according to instructions issued by the control module 9. The control chip is an STM32F103 chip, which has two 12-bit ADCs (Analog-to-Digital Converters) embedded, and each ADC has 16 external channels. VDD is used to provide the required voltage for STM32F103, VDDA is the operating voltage of the analog devices inside the chip, VSSA is the common terminal of the analog devices, and VBAT supplies power to the back area to ensure that the control module 9 provides power for normal operation. Specifically, the reset circuit uses the charging and discharging principle of the RC circuit to give a short low level to the reset pin (NRST) of the microcontroller at the moment the chip is powered on, so that the microcontroller program is reset and all register states except the backup area register are restored to their original states. When the power is just turned on, the current will pass through R19 and C20 to the ground to charge C20. At this time, the NRST pin is at a low level. When C20 is fully charged, C20 is in an "off" state, and NRST changes from a low level to a high level. The burning port is used to burn the program into the microcontroller. It uses the SWD interface to burn, takes up little space, and only requires five wires. Use Boot0 and Boot1 to select the startup mode of the STM32 microcontroller. When Boot1 is X and Boot1 is 0, the main flash memory is started. When Boot0 is 0 and Boot1 is 1, the system memory is started. When Boot0 is 1 and Boot1 is 1, the built-in SRAM is started. That is, Boot1 and Boot0 are all grounded, and it can work normally. The motor can be rotated by the program of the microcontroller in the burning port, and different light window systems can be selected.
[0056] Furthermore, the diamond light window 5 and the sapphire light window 6 are both circular.
[0057] Furthermore, the surface roughness of the diamond light window 5 is in the range of 0 to 2 nm, and the thickness of the diamond light window 5 is 50 um.
[0058] Furthermore, the surface roughness of the sapphire light window 6 is in the range of 0 to 0.01 um, and the thickness of the sapphire light window 6 is in the range of 0.4 mm to 0.7 mm.
[0059] Specifically, the diamond light window 5 adopts a diamond disc with a surface roughness of less than or equal to 2nm, a thickness of 50um, and a diameter of 5 to 15mm, and is connected to the plate holder 1 through vacuum brazing technology. The sapphire light window 6 adopts a sapphire disc with a surface roughness of less than or equal to 0.01um, a thickness of 0.4mm to 0.7mm, and a diameter of 5 to 15mm, and is connected to the plate holder 1 through vacuum brazing technology. Vacuum brazing technology is used to braze the diamond light window 5 and the sapphire light window 6. Specifically, the vacuum degree is 5Pa, the joint pressure during welding is 0.05MPa, the heating rate is 10℃ / min, and the cooling rate is 5℃ / min. Glass powder is used for brazing, and the vacuum brazed support is connected to the converter 3. A limiter is provided on the converter 3 to limit the rotation angle of the converter 3 to 180°. The converter 3 is connected to the support structure 4, and the support structure 4 provides support for the entire intelligent light window system to avoid misalignment during use.
[0060] Further, such as Figure 3-7 As shown, the diamond light window 5 and the sapphire light window 6 are connected by vacuum brazing technology to form the diamond and sapphire light windows 2.
[0061] Since vacuum brazing has high-quality joints, the joint gaps produced by vacuum brazing are extremely small, and the bonding between the joint materials is firm and reliable. Unlike traditional brazing methods, vacuum brazing does not require the use of flux. The flux may contaminate the joint and needs to be cleaned after brazing. Vacuum brazing does not require the use of flux, so the joint is cleaner. Vacuum brazing is carried out in a vacuum environment, which can reduce the oxidation and scaling of the jointed metal. This avoids the metal oxide on the joint reducing the efficiency of the light window system. It is embedded with the film support 1, which is a circular double-circular hole structure. The circular double-circular hole shape can make more efficient use of space and save material costs. A converter 3 is provided at the bottom of the film support 1, which is driven by a motor. The rotational motion of the motor is transmitted to the film support 1 through the transmission system, thereby realizing the rotation of the film support 1. At the same time, the device is equipped with a limit switch to control the rotation angle of the film support 1. The limit switch uses the output signal triggered by the photoelectric sensor to detect the entry or exit of the rotating device to control the rotation angle of the rotating device, so that the angle of the film support 1 can always only rotate 180°.
[0062] The rotating device is driven by a motor, and the rotational motion of the motor is transmitted to the film support 1 through a transmission system, thereby realizing the rotation of the film support 1. At the same time, the device is equipped with a limit switch for controlling the rotation angle of the film support 1. The light window conversion mode is set so that the rotating device rotates 180° clockwise. In order to avoid misalignment during the rotation process, the rotating machine is installed above the supporting structure 4. The supporting structure 4 provides support for the entire intelligent light window system to ensure its normal use and prevent misalignment when the light window is rotated.
[0063] Furthermore, the switching module 11 includes:
[0064] The sheet support 1, the converter 3 and the support structure 4 are connected in sequence;
[0065] The film holder 1 is connected to the sapphire light window 6;
[0066] The supporting structure 4 is used to provide support for the film support 1 and the converter 3. The converter 3 is used to drive the film support 1 to rotate. The film support 1 is used to realize the switching of the current light window. A limit switch is provided on the switch, and the switch is used to limit the rotation angle of the switch.
[0067] Specifically, the determination module 8 obtains the wavelength band information of the light beam, determines whether the wavelength band of the light beam is infrared light or visible light, and transmits the wavelength band information of the light beam to the control module 9. The chip control system selects the corresponding light window material through the selection module 10, and the diamond light window 5 is used in the infrared light band, and the sapphire light window 6 is used in the visible light band. The two are selected and converted by rotation. A converter 3 is provided at the bottom of the film support 1, which is driven by a motor and transmits the rotational motion of the motor to the film support 1 through a transmission system, thereby realizing the rotation of the film support 1. At the same time, the device is equipped with a limit switch for controlling the rotation angle of the film support 1. The limit switch uses the output signal triggered by the photoelectric sensor to detect the entry or exit of the rotating device to control the rotation angle of the rotating device, so that the angle of the film support 1 can always only rotate 180°.
[0068] Furthermore, the software delay function of the microcontroller is used to control the duration of the high and low levels in each PWM signal cycle to achieve the required duty cycle of the PWM signal. The following program is used to control the speed of the light window, and the operator can adjust the speed as needed.
[0069] #include<reg51.h>
[0070] delayms(unsigned intx)
[0071] {
[0072] unsigned int I,j;
[0073] for(i=x;i>0;i--)
[0074] for(j=125;j>0;j--);
[0075] sbit ENA = P1^7;
[0076] main()
[0077] {
[0078] ENA=1;
[0079] while(1)
[0080] {
[0081] P2 = 0x01; / / Motor rotates 180°
[0082] P2 = 0x00; / / motor stops
[0083] delayms(40);
[0084] }
[0085] }
[0086] The specific process is: Initialization settings:
[0087] Define pin P1^7 as enable signal ENA; define delay function delayms, which implements millisecond-level delay through nested loops.
[0088] Main program starts:
[0089] The enable signal ENA on the microcontroller is set to a high level (value is 1), indicating that the motor drive mechanism has been enabled.
[0090] Enter the main loop (do the following indefinitely):
[0091] Set the value of P2 to 0x01: control the motor to rotate 180°.
[0092] Then set the value of P2 to 0x00: stop the motor.
[0093] Call delayms(40) to delay for about 40 milliseconds to give the motor some time to pause.
[0094] The process continues in a loop:
[0095] The operations from the previous step will be executed in a loop, and the motor will continue to run in a 180° rotation and stop mode.
[0096] This program is a simple MCU motor control logic, which uses the I / O control pins and delay function of the 51 MCU to repeatedly switch the motor's running state and stationary state. At the same time, there is a delay interval between each cycle.
[0097] The delayms() in the program is a user-defined software delay function, which is called when the motor is running forward or stopped to control whether the motor is running. When the sum of the actual parameters of the motor running and stopping remains unchanged, proportionally increasing the actual parameters of the motor running forward can control the motor speed to increase proportionally. Conversely, proportionally reducing the actual parameters of the motor running forward can control the motor speed to decrease proportionally, so that the speed control of the DC motor can be achieved. It is convenient for the operator to control the rotation time of the light window.
[0098] The timer interrupt of the microcontroller and the number of interrupts are used to control the duration of the high and low levels in one PWM signal cycle to achieve the required duty cycle of the PWM signal.
[0099] #include<reg51.h>
[0100] sbit Motor1 = P2^0;
[0101] sbit Motor2 = P2^1;
[0102] sbit ENA = P1^7;
[0103] unsigned chartime; / / interrupt times main()
[0104] {ENA=1;
[0105] TMOD=0x10; / / Timer A working mode 1 TH1=(65536-100) / 256: / / Timing initial value TL1=(65536-100)%256; / / 0.1ms EA=1; / / Open general interrupt
[0106] ET1=1; / / Open timer A interrupt TR1=1; / / Start timer Awhile(1){}
[0107] }
[0108] timer1()interrupt 3
[0109] {
[0110] TR1=0; / / Turn off timer 1 TH1=(65536-100) / 256;
[0111] T1 = (65536-100)256;
[0112] TR1=1; / / Start timer 1 time++; if (time>=10) / / Period is 1ms time=0;
[0113] if(time<=2) / / motor forward rotation time
[0114] {Motor1 = 1; Motor2 = 0:}
[0115] else / / Motor stop time
[0116] {Motor1 = 0; Motor2 = 0;}
[0117] }
[0118] The specific process above is:
[0119] Initialization settings:
[0120] Define the motor control pins:
[0121] Motor1 (connected to P2^0) is used to control the motor to rotate forward.
[0122] Motor2 (connected to P2^1) is used to control the motor to reverse or stop.
[0123] Define the enable signal ENA (connected to P1^7) to enable the motor driver module. Define the global variable time to count the number of timer interrupts.
[0124] Main function logic:
[0125] Set ENA=1 to enable the motor driver module.
[0126] Configure timer A:
[0127] Set TMOD = 0x10, that is, timer A works in mode 1 (16-bit timing mode). Set the initial timing value to (65536-100) to achieve 0.1ms timing:
[0128] High byte TH1 = (65536-100) / 256.
[0129] Low byte TL1 = (65536-100)%256.
[0130] Enable interrupts:
[0131] Enable the general interrupt EA=1.
[0132] Turn on timer A interrupt ET1=1.
[0133] Start timer A: TR1=1.
[0134] The main loop while(1){} is empty, and the program logic completely relies on interrupt processing.
[0135] Timer A interrupt service function:
[0136] Each time a timer interrupt occurs:
[0137] Turn off timer: TR1=0.
[0138] Reinstall the timer initial value (to ensure that the timer continues to run at a period of 0.1ms):
[0139] High byte TH1 = (65536-100) / 256.
[0140] Low byte TL1 = (65536-100)%256.
[0141] Start timer: TR1=1.
[0142] Increase the interrupt count variable: time++.
[0143] Determine time:
[0144] If time>=10, it means the 1ms cycle is completed and time=0 is reset.
[0145] If time<=2, the motor is controlled to rotate forward:
[0146] Motor1=1: Forward signal high level.
[0147] Motor2=0: Reverse signal low level.
[0148] If time>2, the motor is controlled to stop:
[0149] Motor1=0: Forward signal low level.
[0150] Motor2=0: Reverse signal low level.
[0151] Program operation logic:
[0152] The program triggers the interrupt service function every 0.1ms through the timer A interrupt.
[0153] The interrupt service function controls the forward rotation and stop of the motor according to the value of time:
[0154] In each 1ms cycle:
[0155] The motor rotates forward during the first 0.2ms (time <= 2).
[0156] After 0.8ms (time>2), the motor stops.
[0157] The main loop is empty, the program logic is completely dependent on interrupt drive, and the motor runs in a fixed forward-stop mode.
[0158] The program only uses Timer A among the two internal timers of the 51 single-chip microcomputer (A is one of the two timers). The time for Timer A to time once is 100 μs. Each time the timing time arrives, the interrupt count flag time is incremented in the interrupt program. And according to the value of the interrupt count flag time, the period and duty cycle of the PWM signal are determined. The time value in the first if statement determines the period, the time value in the second if statement determines the forward rotation time of the motor, and the time value corresponding to the else statement determines the stop time of the motor. In this example, the set period of the PWM signal is 1 ms, the forward rotation time of the motor is 200 μs, and the stop time of the motor is 800 μs. When the period of the PWM signal remains unchanged, proportionally increasing the forward rotation time of the motor can control the speed of the motor to increase proportionally. Conversely, proportionally decreasing the forward rotation time of the motor can control the speed of the motor to decrease proportionally. In this way, the speed control of the DC motor can be achieved, which is convenient for the operator to adjust the rotation speed of the optical window according to the requirements.
[0159] Specifically, set the optical window conversion method. Use the chip to set the conversion method of the diamond optical window 5 and the sapphire optical window 6 to rotate 180°. Use the STM32F103 chip control system to analyze the obtained data. Through the photoelectric effect and the A / D converter, a voltage that linearly changes with temperature is obtained, and the conversion range is between 2V < VDDA (analog positive power supply) < 3.6V. Use the control chip to convert the electrical signal output by the sensor into a numerical value. Among them, the sensor uses a CMOS component. Through the pixel array on the CMOS, the photodiode has the characteristics of forward conduction and reverse cut-off. Its reverse characteristic also has a capacitance characteristic. When a reverse bias voltage is applied to the diode, the capacitor will be charged. When the capacitor is full of charge, the incidence of photons will cause new electron-hole pairs to be excited in the internal structure, and pair and discharge with the electron-hole pairs formed by the original charging to form a photocurrent. The photocurrent charges the capacitor on the right side to become a voltage output. The sensed optical signal is converted into an electrical signal, and through the readout circuit, the optical signal is converted into a digital signal, thereby realizing the digitization of the actual scene.
[0160] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other.
[0161] Specific examples are used in this article to elaborate on the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. An optical module intelligent light window system, characterized in that: include: A power module and a determination module, a control module, a selection module and a switching module all connected to the power module; The power supply module is used to supply power to the determination module, the control module, the selection module and the switching module thereof; the determination module is used to perform a band analysis on the input light using a spectral analysis technique to obtain a light beam band information set and determine an input light type corresponding to the input light according to the light beam band information set; the control module is used to obtain variable voltage data according to the light beam band information set and determine a corresponding conversion instruction according to the variable voltage data; the selection module is used to select a corresponding light window according to the input light type; and the switching module is used to switch the current light window according to the corresponding conversion instruction.
2. The optical module intelligent light window system according to claim 1, characterized in that: The determination module comprises: Spectral line generation submodule, first waveband measurement submodule, second waveband measurement submodule, third waveband measurement submodule; The spectral line generation submodule is used to generate characteristic spectral lines of different wavelengths according to the input light. The first band measurement submodule uses a visible light spectrometer to measure the 380-760nm band of the characteristic spectral lines to obtain a first light beam band information subset. The second band measurement submodule uses a near-infrared spectrometer to measure the 760nm-2.5m band of the characteristic spectral lines to obtain a second light beam band information subset. The third band measurement submodule uses an infrared spectrometer to measure the 2.5-3m band of the characteristic spectral lines to obtain a third light beam band information subset.
3. The optical module intelligent window system according to claim 1, characterized in that: The control module comprises: STM32F103 chip control submodule, CMOS components, A / D converter and instruction generation submodule; The STM32F103 chip control submodule is used to input the input light type corresponding to the current input light into the selection module and determine whether the input light type corresponding to the current input light conforms to the current light window. If not, the CMOS element is used to convert the light beam band information set into a voltage that changes linearly with temperature. The A / D converter converts the voltage that changes linearly with temperature within a preset voltage range into a digital image signal. The instruction generation submodule is used to generate a corresponding conversion instruction according to the digital image signal.
4. The optical module intelligent window system according to claim 1, characterized in that: The selection module comprises: Infrared photon module and visible photon module; The infrared photon module is used to select a diamond light window according to the input light type, and the visible photon module is used to select a sapphire light window according to the input light type.
5. The optical module intelligent light window system according to claim 4, characterized in that: Both the diamond window and the sapphire window are round.
6. The optical module intelligent light window system according to claim 4, characterized in that: The surface roughness of the diamond light window is in the range of 0 to 2 nm, and the thickness of the diamond light window is 50 um.
7. The optical module intelligent light window system according to claim 4, characterized in that: The surface roughness of the sapphire light window ranges from 0 to 0.01 um, and the thickness of the sapphire light window ranges from 0.4 mm to 0.7 mm.
8. The optical module intelligent light window system according to claim 4, characterized in that: The diamond light window and the sapphire light window are connected by using vacuum brazing technology.
9. The optical module intelligent light window system according to claim 4, characterized in that: The switching module comprises: The sheet holder, converter and support structure are connected in sequence; The film holder is connected to the sapphire light window; The supporting structure is used to provide support for the film support and the converter, the converter is used to drive the film support to rotate, and the film support is used to realize the switching of the current light window, wherein a limit switch is provided on the switch, and the switch is used to limit the rotation angle of the switch.