Ultraviolet spectrometer control system and method for near space and ultraviolet spectrometer
1. An ultraviolet spectrometer control system for an adjacent space, comprising: comprises a hardware component and a software module;
the hardware component comprises a main control board, a signal acquisition control board, a power management circuit, a spectrometer temperature controller, a sun sensor and a communication expansion card;
the main control board is used for providing an operation platform for the software module and is an infrastructure for calculation, storage and communication;
the signal acquisition control board is connected with the power management circuit, the main control board, the sun sensor and the ICCD camera and is used for converting the voltage analog quantity of the power management circuit into a digital quantity, converting a switching instruction provided by a software module running on the main control board into a switching signal of a power supply in the power management circuit, acquiring an electric signal output by the sun sensor and sending the electric signal to the software module and controlling the gain voltage or the telemetering voltage of the ICCD camera;
the power management circuit is connected with the main control board, the spectrometer temperature controller, the signal acquisition control board, the sun sensor and the ICCD camera and is used for supplying power to the main control board, the spectrometer temperature controller, the signal acquisition control board, the sun sensor and the ICCD camera;
the spectrometer temperature controller is connected with the main control board and is used for monitoring and controlling the temperature of the main body of the ultraviolet spectrometer optical machine;
the sun sensor is connected with the signal acquisition control panel and the ICCD camera; the optical axis direction of the sun sensor is consistent with that of the ultraviolet spectrometer, the field angle is slightly larger than that of the ultraviolet spectrometer, an optical signal entering the field angle is converted into a voltage value to be output, and the smaller the included angle between sunlight and the optical axis of the sun sensor is after the sunlight enters the field angle of the sun sensor, the larger the output voltage value is;
the communication expansion card is connected with the interface of the main control board and used as the communication expansion of the main control board;
the software module comprises a main control module, a platform instruction interception analysis and state sending module, an ICCD control and data processing module and a control and remote measuring module;
the main control module is used for parameter initialization, work thread initialization and running log record;
the platform instruction interception analysis and state sending module is used for intercepting and analyzing a load bin management computer instruction, updating related parameters and acquiring the state of the spectrometer;
the ICCD control and data processing module is used for judging the output voltage values of the temperature control sensor, the platform sensor and the sun sensor, carrying out data acquisition and storage, image correction preprocessing, spectral line extraction and spectral line data packaging and sending according to the judgment result, and automatically adjusting the integral time of the ICCD camera according to the data quality;
the control and remote measurement module is used for providing API through the signal acquisition control panel to control the spectrometer temperature controller, the image intensifier and the CCD power-on and power-off; and periodically telemetering the analog voltage, and setting and telemetering the gain voltage of the image intensifier.
2. The ultraviolet spectrometer control system for the adjacent space according to claim 1, characterized in that: the platform instruction interception analysis and state sending module stores a computer instruction, and when the computer instruction is executed, the following processes are executed:
1a, starting, receiving a load bin management computer instruction, judging the type of the instruction according to an instruction format in a pre-designed interface protocol if the instruction is correct, and executing different operations according to different instructions;
if the command is platform position time data and pitch angle data, storing the data into a platform information global parameter, and updating the global platform position time parameter and the pitch angle parameter;
if the command is a spectrometer control command, corresponding operations are required to be carried out according to the specific command:
when a detection mode switching instruction, an ICCD power on/off instruction, an ICCD detection start stop instruction and an ICCD gain and integral setting instruction are received, updating an ICCD global control parameter and recording a log;
after receiving a temperature control power on/off command and a temperature setting command, sending the command to a spectrometer temperature controller through a hardware interface;
2a, after the instruction is correctly received, returning response information of the instruction success, otherwise, returning a failure response instruction; when a response instruction is returned, the latest state information of the spectrometer is inquired through the control and telemetry module and is stored in the spectrometer state global telemetry parameter; finally, the status words are collected and sorted into status words and the response instructions are sent to the platform together;
and 3a, continuously receiving the instruction of the load bin management computer and executing the process of the step 1a-2 a.
3. The ultraviolet spectrometer control system for the adjacent space according to claim 2, characterized in that: the ICCD control and data processing module stores computer instructions that, when executed, perform the following:
1b, judging a control mode according to an ICCD global control parameter, if the control mode is an automatic detection mode, executing the step 1b1-1b7, and if the control mode is a manual control detection mode, executing the step 2b1-2b 7; if no mode control parameter exists, the automatic detection mode is entered by default, and the step 1b1-1b7 is executed;
step 1b1, inquiring the platform information global parameter and spectrometer temperature controller through the control and remote measuring module, judging the platform position and the temperature of the ultraviolet spectrometer optical machine main body, if the platform position is detected not to reach the observation height or the temperature of each temperature control point of the optical machine main body does not reach the working range, executing ICCD power-off operation through the control and remote measuring module, otherwise executing ICCD power-on operation;
step 1b2, judging whether the sun enters a view field, if the voltage value output by the sun sensor is greater than a threshold voltage, controlling the sun sensor to send a low level to a gating module of the ICCD camera, converting a low level signal into an enable closing signal after passing through the gating module, controlling an image intensifier to stop working, and stopping ICCD image acquisition; if the voltage value output by the sun sensor is lower than the threshold voltage, the sun sensor is controlled to send a high level to a gating module of the ICCD camera, the high level signal is converted into an enable opening signal after passing through the gating module, the image intensifier is controlled to continue working, the ICCD global control parameters are inquired through the control and telemetry module, the currently set ICCD gain and integral are obtained, and the ICCD image acquisition is started according to the currently set ICCD gain and integral;
step 1b3, calling a control and telemetry module, inquiring the global parameters of the latest platform information, obtaining the platform information of the spectrometer state machine, and packaging the platform information into auxiliary data;
step 1b4, packaging and storing the acquired image data and auxiliary data;
step 1b5, image preprocessing and original spectral line data extraction are carried out, and finally spectral line data and auxiliary data are packaged into data frames according to an interface protocol and sent to a platform data recorder;
step 1b6, judging the detection result, if the detection result meets the set interval, directly entering step 1b7, otherwise, calling the AEC function of the camera to automatically adjust the next integration time, and updating the ICCD integration time in the ICCD global control parameter;
step 1b7, returning to step 1 b;
step 2b1, firstly, judging whether the ICCD is powered on, if not, waiting for the platform to send an ICCD power-on instruction, and executing the ICCD power-on operation through the control and telemetry module after receiving the ICCD power-on instruction;
step 2b2, after the ICCD is powered on, waiting for a detection starting instruction;
step 2b3, after detection is started, inquiring an ICCD global control parameter through a control and telemetry module to obtain the currently set ICCD gain and integral, and starting ICCD image acquisition according to the currently set ICCD gain and integral;
step 2b4, calling a control and telemetry module, inquiring the global parameters of the latest platform information, obtaining the platform information of the spectrometer state machine, and packaging the platform information into auxiliary data;
step 2b5, packaging and storing the acquired image data and auxiliary data;
step 2b6, image preprocessing and original spectral line data extraction are carried out, and finally spectral line data and auxiliary data are packaged into data frames according to an interface protocol and sent to the platform data recorder;
step 2b7, return to step 1 b.
4. The ultraviolet spectrometer control system for the adjacent space according to claim 3, characterized in that: the sun sensor is a four-quadrant detector and collects the included angle between the current sunlight and the vertical direction of the four-quadrant detector of the sun sensor; and different voltages are output according to different included angles.
5. The ultraviolet spectrometer control system for the adjacent space according to claim 4, characterized in that: the main control board adopts an industrial PC104 mainboard, and the interfaces connected with the main control board comprise an RS422 interface, an RS422 data interface, an RS232 signal board communication interface, a network port, a VGA and USB.
6. The ultraviolet spectrometer control system for the adjacent space according to claim 5, characterized in that: the signal acquisition control board is a multifunctional PCI-104 module, is connected with the main control board through a PCI-104 slot and is connected to the monitoring end of the gain of the image intensifier through an AD port.
7. The ultraviolet spectrometer control system for the adjacent space according to claim 5, characterized in that: the communication expansion card is an R422 expansion bus card.
8. The ultraviolet spectrometer control system for the adjacent space according to claim 7, characterized in that: the power management circuit comprises 6 DC-DC modules which are connected in parallel and respectively supply power to the main control board, the spectrometer temperature controller, the signal acquisition control board, the sun sensor, the image intensifier and the CCD.
9. A method of controlling an ultraviolet spectrometer used in an adjacent space, comprising the steps of:
step 1, powering up a spectrometer by a platform;
step 2, the power management circuit powers on the software module, the signal acquisition control panel, the sun sensor and the spectrometer temperature controller;
step 3, performing closed-loop control on the spectrometer temperature controller according to default temperature control setting, and when the temperature range exceeds the normal working temperature range of the spectrometer, powering off, suspending working, otherwise, normally working;
step 4, the main control module starts a platform instruction interception analysis and state sending module, and the platform instruction interception analysis and state sending module defaults to enter an automatic detection mode;
step 5, the platform instruction interception analysis and state sending module intercepts and analyzes the instruction of the load bin management computer, updates related parameters and obtains the state of the spectrometer;
the ICCD control and data processing module judges the output voltage values of the temperature control sensor, the platform sensor and the sun sensor, performs data acquisition and storage, image correction preprocessing, spectral line extraction and spectral line data packaging and sending according to the judgment result, and automatically adjusts the integration time according to the data quality;
the control and remote measurement module provides API through the signal acquisition control panel to control the spectrometer temperature controller, the image intensifier and the CCD power-on and power-off; and periodically telemetering the analog voltage, and setting and telemetering the gain voltage of the image intensifier.
10. The ultraviolet spectrometer control method for the adjacent space according to claim 9, wherein the step 3 is specifically as follows: when the actual temperature does not reach the set optimal temperature value in the set time and is stabilized within a certain temperature range, if the spectrometer can normally work within the temperature range, the optimal temperature value is adjusted to the temperature range, and if the temperature range exceeds the normal working temperature range of the spectrometer, the power is cut off, and the work is suspended.
11. The method as claimed in claim 10, wherein the platform command interception resolution and status sending module in step 5 specifically performs the following processes:
1a, receiving a load bin management computer instruction, if the instruction is correct, judging the type of the instruction according to an instruction format in a pre-designed interface protocol, and executing different operations according to different instructions;
if the command is platform position time data and pitch angle data, storing the data into a platform information global parameter, and updating the global platform position time parameter and the pitch angle parameter;
if the command is a spectrometer control command, corresponding operations are required to be carried out according to the specific command:
when a detection mode switching instruction, an ICCD power on/off instruction, an ICCD detection start stop instruction and an ICCD gain and integral setting instruction are received, updating an ICCD global control parameter and recording a log;
after receiving a temperature control power on/off command and a temperature setting command, sending the command to a spectrometer temperature controller through a hardware interface;
2a, after the instruction is correctly received, returning response information of the instruction success, otherwise, returning a failure response instruction; when a response instruction is returned, the latest state information of the spectrometer is inquired through the control and telemetry module and is stored in the spectrometer state global telemetry parameter; finally, the status words are collected and sorted into status words and the response instructions are sent to the platform together;
and 3a, continuously receiving the instruction of the load bin management computer and executing the processes 1a-1 b.
12. The control method of ultraviolet spectrometer for near space as claimed in claim 11, wherein the ICCD control and data processing module in step 5 performs the following processes:
1b, judging a control mode according to an ICCD global control parameter, if the control mode is an automatic detection mode, executing the step 1b1-1b7, and if the control mode is a manual control detection mode, executing the step 2b1-2b 7; if no mode control parameter exists, the automatic detection mode is entered by default, and the step 1b1-1b7 is executed;
step 1b1, inquiring the platform information global parameter and spectrometer temperature controller through the control and remote measuring module, judging the platform position and the temperature of the ultraviolet spectrometer optical machine main body, if the platform position is detected not to reach the observation height or the temperature of each temperature control point of the optical machine main body does not reach the working range, executing ICCD power-off operation through the control and remote measuring module, otherwise executing ICCD power-on operation;
step 1b2, judging whether the sun enters a view field, if the voltage value output by the sun sensor is greater than a threshold voltage, controlling the sun sensor to send a low level to a gating module of the ICCD camera, converting a low level signal into an enable closing signal after passing through the gating module, controlling an image intensifier to stop working, and stopping ICCD image acquisition; if the voltage value output by the sun sensor is lower than the threshold voltage, the sun sensor is controlled to send a high level to a gating module of the ICCD camera, the high level signal is converted into an enable opening signal after passing through the gating module, the image intensifier is controlled to continue working, the ICCD global control parameters are inquired through the control and telemetry module, the currently set ICCD gain and integral are obtained, and the ICCD image acquisition is started according to the currently set ICCD gain and integral;
step 1b3, calling a control and telemetry module, inquiring the global parameters of the latest platform information, obtaining the platform information of the spectrometer state machine, and packaging the platform information into auxiliary data;
step 1b4, packaging and storing the acquired image data and auxiliary data;
step 1b5, image preprocessing and original spectral line data extraction are carried out, and finally spectral line data and auxiliary data are packaged into data frames according to an interface protocol and sent to a platform data recorder;
step 1b6, judging the detection result, if the detection result meets the set interval, directly entering step 1b7, otherwise, calling the AEC function of the camera to automatically adjust the next integration time, and updating the ICCD integration time in the ICCD global control parameter;
step 1b7, returning to step 1 b;
in the automatic detection process, if the manual control detection mode is to be switched, the platform management computer must firstly send a manual control detection mode (global parameter) switching instruction, and after receiving the instruction, the spectrometer control software waits for the current automatic detection process to be executed, and then enters the manual control process;
step 2b1, firstly, judging whether the ICCD is powered on, if not, waiting for the platform to send an ICCD power-on instruction, and executing the ICCD power-on operation through the control and telemetry module after receiving the ICCD power-on instruction;
step 2b2, after the ICCD is powered on, waiting for a detection starting instruction;
step 2b3, after detection is started, inquiring an ICCD global control parameter through a control and telemetry module to obtain the currently set ICCD gain and integral, and starting ICCD image acquisition according to the currently set ICCD gain and integral; in the detection process, if a new gain or integral time setting instruction of the platform is received, after the current detection process is finished, detection is carried out according to new parameters in the next detection;
step 2b4, inquiring the latest platform information global parameter through the control and remote measuring module, obtaining the spectrometer state machine platform information, and packaging into auxiliary data;
step 2b5, packaging and storing the acquired image data and auxiliary data;
step 2b6, image preprocessing and original spectral line data extraction are carried out, and finally spectral line data and auxiliary data are packaged into data frames according to an interface protocol and sent to the platform data recorder;
step 2b7, return to step 1 b.
13. An ultraviolet spectrometer for use in an adjacent space, comprising: the ultraviolet spectrometer control system comprises an ultraviolet ray machine body, an ultraviolet enhanced camera and the ultraviolet spectrometer control system for the adjacent space, wherein the ultraviolet ray machine body is as claimed in any one of claims 1 to 8; after the target ultraviolet radiation passes through the ultraviolet machine body, the optical signal of each spectrum section of ultraviolet is projected on the cathode of the ultraviolet enhanced camera, the original spectrum section image is output through the gain amplification and exposure of the ultraviolet enhanced camera, and the ultraviolet spectrometer control system is used for executing the method of any one of claims 9 to 12.
Background
The near-space distance of the earth surface is 20km-100km, people have fresh research on the field in the past, and the important scientific research value of the earth surface is gradually recognized in recent years.
Compared with the aviation load below 20km and the aerospace load above 100km, the working environment of the near space ultraviolet spectrometer has uniqueness, for example, the temperature and the air pressure change range is large, the equipment working environment span is large, the basic data such as air, near vacuum and vacuum are experienced, the background radiation of the atmosphere is lacked, and the characteristics of the balloon platform and the like. These factors place special demands on the main body and control system of the spectrometer, so that the existing ultraviolet spectrometer cannot be applied to the adjacent space.
Disclosure of Invention
The invention aims to provide a control system and a control method for an ultraviolet spectrometer used in an adjacent space and the ultraviolet spectrometer, wherein the control system can be used for adjusting the integration time of the spectrometer by integrating the ambient temperature of the adjacent space, the temperature control state of the spectrometer, the sun position information and the nearest spectrum detection result, so that the ultraviolet spectrometer in the adjacent space can work normally in a special environment.
Compared with ultraviolet spectrometers in other working environments, the special requirements of near space ultraviolet spectrometers are embodied in the following aspects:
1. in the rising process from the earth surface to 40km, the lowest temperature of the external environment can reach-75 ℃, when the temperature rises to the sun and is visible, the external temperature can reach 60 ℃, the heat dissipation of the whole machine is not facilitated in a vacuum environment, and the grating and the coating film of the optical system in the optical machine main body are sensitive to the temperature, so that the control system needs to monitor the temperature in real time and adjust temperature control parameters, control the spectrometer to work within a proper temperature range, and suspend the spectrometer to work outside the range, otherwise, the detection result is inaccurate, and the data are invalid.
2. In order to detect weak ultraviolet radiation signals, the spectrograph needs to adopt an image enhancement type CCD (ICCD) camera as a detector, wherein an image intensifier is sensitive to strong light, a floating balloon slowly rotates in the flight process, and the image intensifier is damaged when the sun enters the field of view of the spectrograph, so that a control system needs to judge whether the sun enters the field of view of an optical system and can control a high-voltage module of the image intensifier.
3. The spectral line range of the ultraviolet spectrometer is between 190nm and 400nm, the signal intensity difference of short wave and long wave is known to be large, but the specific dynamic range cannot be determined due to lack of actual data support, and therefore, the spectrometer is required to automatically adjust the integration time. In addition, in order to prevent the self-control operation failure and other accidents, it is necessary to have a manual control function and ensure free switching between the two.
In summary, the ultraviolet spectrometer control system in the near space needs to have unique control functions besides the conventional functions of acquiring spectral line data, processing spectral line data, sending telemetering data, receiving platform instructions, and the like: and comprehensive control is performed according to the ambient temperature change condition of the adjacent space, the solar incident condition and the ultraviolet spectrum detection result, so that more effective data can be acquired on the premise of ensuring the normal work of an optical system and a detector.
The technical scheme of the invention provides an ultraviolet spectrometer control system for an adjacent space, which is characterized in that: comprises a hardware component and a software module;
the hardware component comprises a main control board, a signal acquisition control board, a power management circuit, a spectrometer temperature controller, a sun sensor and a communication expansion card;
the main control board is used for providing an operation platform for the software module and is an infrastructure for calculation, storage and communication;
the signal acquisition control board is connected with the power management circuit, the main control board, the sun sensor and the ICCD camera and is used for converting the voltage analog quantity of the power management circuit into a digital quantity, converting a switching instruction provided by a software module running on the main control board into a switching signal of a power supply in the power management circuit, acquiring an electric signal output by the sun sensor and sending the electric signal to the software module and controlling the gain voltage or the telemetering voltage of the ICCD camera;
the power management circuit is connected with the main control board, the spectrometer temperature controller, the signal acquisition control board, the sun sensor and the ICCD camera and is used for supplying power to the main control board, the spectrometer temperature controller, the signal acquisition control board, the sun sensor and the ICCD camera;
the spectrometer temperature controller is connected with the main control board and is used for monitoring and controlling the temperature of the main body of the ultraviolet spectrometer optical machine;
the sun sensor is connected with the signal acquisition control panel and the ICCD camera; the optical axis direction of the sun sensor is consistent with that of the ultraviolet spectrometer, the field angle is slightly larger than that of the ultraviolet spectrometer, an optical signal entering the field angle is converted into a voltage value to be output, and the smaller the included angle between sunlight and the optical axis of the sun sensor is after the sunlight enters the field angle of the sun sensor, the larger the output voltage value is;
the communication expansion card is connected with the interface of the main control board and used as the communication expansion of the main control board;
the software module comprises a main control module, a platform instruction interception analysis and state sending module, an ICCD control and data processing module and a control and remote measuring module;
the main control module is used for parameter initialization, work thread initialization and running log record;
the platform instruction interception analysis and state sending module is used for intercepting and analyzing a load bin management computer instruction, updating related parameters and acquiring the state of the spectrometer;
the ICCD control and data processing module is used for judging the output voltage values of the temperature control sensor, the platform sensor and the sun sensor, carrying out data acquisition and storage, image correction preprocessing, spectral line extraction and spectral line data packaging and sending according to the judgment result, and automatically adjusting the integral time of the ICCD camera according to the data quality;
the control and remote measurement module is used for providing API through the signal acquisition control panel to control the spectrometer temperature controller, the image intensifier and the CCD power-on and power-off; and periodically telemetering the analog voltage, and setting and telemetering the gain voltage of the image intensifier.
Further, the platform instruction interception analysis and state sending module stores computer instructions, and when the computer instructions are executed, the following processes are executed:
1a, starting, receiving a load bin management computer instruction, judging the type of the instruction according to an instruction format in a pre-designed interface protocol if the instruction is correct, and executing different operations according to different instructions;
if the command is platform position time data and pitch angle data, storing the data into a platform information global parameter, and updating the global platform position time parameter and the pitch angle parameter;
if the command is a spectrometer control command, corresponding operations are required to be carried out according to the specific command:
when a detection mode switching instruction, an ICCD power on/off instruction, an ICCD detection start stop instruction and an ICCD gain and integral setting instruction are received, updating an ICCD global control parameter and recording a log;
after receiving a temperature control power on/off command and a temperature setting command, sending the command to a spectrometer temperature controller through a hardware interface;
2a, after the instruction is correctly received, returning response information of the instruction success, otherwise, returning a failure response instruction; when a response instruction is returned, the latest state information of the spectrometer is inquired through the control and telemetry module and is stored in the spectrometer state global telemetry parameter; finally, the status words are collected and sorted into status words and the response instructions are sent to the platform together;
and 3a, continuously receiving the instruction of the load bin management computer and executing the process of the step 1a-2 a.
Further, the ICCD control and data processing module stores computer instructions that, when executed, perform the following process:
1b, judging a control mode according to an ICCD global control parameter, if the control mode is an automatic detection mode, executing the step 1b1-1b7, and if the control mode is a manual control detection mode, executing the step 2b1-2b 7; if no mode control parameter exists, the automatic detection mode is entered by default, and the step 1b1-1b7 is executed;
step 1b1, inquiring the platform information global parameter and spectrometer temperature controller through the control and remote measuring module, judging the platform position and the temperature of the ultraviolet spectrometer optical machine main body, if the platform position is detected not to reach the observation height or the temperature of each temperature control point of the optical machine main body does not reach the working range, executing ICCD power-off operation through the control and remote measuring module, otherwise executing ICCD power-on operation;
step 1b2, judging whether the sun enters a view field, if the voltage value output by the sun sensor is greater than a threshold voltage, controlling the sun sensor to send a low level to a gating module of the ICCD camera, converting a low level signal into an enable closing signal after passing through the gating module, controlling an image intensifier to stop working, and stopping ICCD image acquisition; if the voltage value output by the sun sensor is lower than the threshold voltage, the sun sensor is controlled to send a high level to a gating module of the ICCD camera, the high level signal is converted into an enable opening signal after passing through the gating module, the image intensifier is controlled to continue working, the ICCD global control parameters are inquired through the control and telemetry module, the currently set ICCD gain and integral are obtained, and the ICCD image acquisition is started according to the currently set ICCD gain and integral;
step 1b3, calling a control and telemetry module, inquiring the global parameters of the latest platform information, obtaining the platform information of the spectrometer state machine, and packaging the platform information into auxiliary data;
step 1b4, packaging and storing the acquired image data and auxiliary data;
step 1b5, image preprocessing and original spectral line data extraction are carried out, and finally spectral line data and auxiliary data are packaged into data frames according to an interface protocol and sent to a platform data recorder;
step 1b6, judging the detection result, if the detection result meets the set interval, directly entering step 1b7, otherwise, calling the AEC function of the camera to automatically adjust the next integration time, and updating the ICCD integration time in the ICCD global control parameter;
step 1b7, returning to step 1 b;
step 2b1, firstly, judging whether the ICCD is powered on, if not, waiting for the platform to send an ICCD power-on instruction, and executing the ICCD power-on operation through the control and telemetry module after receiving the ICCD power-on instruction;
step 2b2, after the ICCD is powered on, waiting for a detection starting instruction;
step 2b3, after detection is started, inquiring an ICCD global control parameter through a control and telemetry module to obtain the currently set ICCD gain and integral, and starting ICCD image acquisition according to the currently set ICCD gain and integral;
step 2b4, calling a control and telemetry module, inquiring the global parameters of the latest platform information, obtaining the platform information of the spectrometer state machine, and packaging the platform information into auxiliary data;
step 2b5, packaging and storing the acquired image data and auxiliary data;
step 2b6, image preprocessing and original spectral line data extraction are carried out, and finally spectral line data and auxiliary data are packaged into data frames according to an interface protocol and sent to the platform data recorder;
step 2b7, return to step 1 b.
Furthermore, the sun sensor is a four-quadrant detector, and an included angle between the current sunlight and the vertical direction of the four-quadrant detector of the sun sensor is collected; and different voltages are output according to different included angles.
Furthermore, the main control board adopts an industrial PC104 main board, and the interfaces connected with the main control board comprise an RS422 interface, an RS422 data interface, an RS232 signal board communication interface, a network port, a VGA and USB.
Furthermore, the signal acquisition control board is a multifunctional PCI-104 module, is connected with the main control board through a PCI-104 slot, and is connected to the gain monitoring end of the image intensifier through an AD port.
Further, the communication expansion card is an R422 expansion bus card.
Further, the power management circuit comprises 6 DC-DC modules which are connected in parallel and respectively supply power to the main control board, the spectrometer temperature controller, the signal acquisition control board, the sun sensor, the image intensifier and the CCD.
The invention also provides a control method of the ultraviolet spectrometer used in the adjacent space, which is characterized by comprising the following steps:
step 1, powering up a spectrometer by a platform;
step 2, the power management circuit powers on the software module, the signal acquisition control panel, the sun sensor and the spectrometer temperature controller;
step 3, performing closed-loop control on the spectrometer temperature controller according to default temperature control setting, and when the temperature range exceeds the normal working temperature range of the spectrometer, powering off, suspending working, otherwise, normally working;
step 4, the main control module starts a platform instruction interception analysis and state sending module, and the platform instruction interception analysis and state sending module defaults to enter an automatic detection mode;
step 5, the platform instruction interception analysis and state sending module intercepts and analyzes the instruction of the load bin management computer, updates related parameters and obtains the state of the spectrometer;
the ICCD control and data processing module judges the output voltage values of the temperature control sensor, the platform sensor and the sun sensor, performs data acquisition and storage, image correction preprocessing, spectral line extraction and spectral line data packaging and sending according to the judgment result, and automatically adjusts the integration time according to the data quality;
the control and remote measurement module provides API through the signal acquisition control panel to control the spectrometer temperature controller, the image intensifier and the CCD power-on and power-off; and periodically telemetering the analog voltage, and setting and telemetering the gain voltage of the image intensifier.
Further, step 3 specifically comprises: when the actual temperature does not reach the set optimal temperature value in the set time and is stabilized within a certain temperature range, if the spectrometer can normally work within the temperature range, the optimal temperature value is adjusted to the temperature range, and if the temperature range exceeds the normal working temperature range of the spectrometer, the power is cut off, and the work is suspended.
Further, in step 5, the platform instruction interception analysis and state sending module specifically executes the following process:
1a, receiving a load bin management computer instruction, if the instruction is correct, judging the type of the instruction according to an instruction format in a pre-designed interface protocol, and executing different operations according to different instructions;
if the command is platform position time data and pitch angle data, storing the data into a platform information global parameter, and updating the global platform position time parameter and the pitch angle parameter;
if the command is a spectrometer control command, corresponding operations are required to be carried out according to the specific command:
when a detection mode switching instruction, an ICCD power on/off instruction, an ICCD detection start stop instruction and an ICCD gain and integral setting instruction are received, updating an ICCD global control parameter and recording a log;
after receiving a temperature control power on/off command and a temperature setting command, sending the command to a spectrometer temperature controller through a hardware interface;
2a, after the instruction is correctly received, returning response information of the instruction success, otherwise, returning a failure response instruction; when a response instruction is returned, the latest state information of the spectrometer is inquired through the control and telemetry module and is stored in the spectrometer state global telemetry parameter; finally, the status words are collected and sorted into status words and the response instructions are sent to the platform together;
and 3a, continuously receiving the instruction of the load bin management computer and executing the processes 1a-1 b.
Further, the ICCD control and data processing module in step 5 performs the following processes:
1b, judging a control mode according to an ICCD global control parameter, if the control mode is an automatic detection mode, executing the step 1b1-1b7, and if the control mode is a manual control detection mode, executing the step 2b1-2b 7; if no mode control parameter exists, the automatic detection mode is entered by default, and the step 1b1-1b7 is executed;
step 1b1, inquiring the platform information global parameter and spectrometer temperature controller through the control and remote measuring module, judging the platform position and the temperature of the ultraviolet spectrometer optical machine main body, if the platform position is detected not to reach the observation height or the temperature of each temperature control point of the optical machine main body does not reach the working range, executing ICCD power-off operation through the control and remote measuring module, otherwise executing ICCD power-on operation;
step 1b2, judging whether the sun enters a view field, if the voltage value output by the sun sensor is greater than a threshold voltage, controlling the sun sensor to send a low level to a gating module of the ICCD camera, converting a low level signal into an enable closing signal after passing through the gating module, controlling an image intensifier to stop working, and stopping ICCD image acquisition; if the voltage value output by the sun sensor is lower than the threshold voltage, the sun sensor is controlled to send a high level to a gating module of the ICCD camera, the high level signal is converted into an enable opening signal after passing through the gating module, the image intensifier is controlled to continue working, the ICCD global control parameters are inquired through the control and telemetry module, the currently set ICCD gain and integral are obtained, and the ICCD image acquisition is started according to the currently set ICCD gain and integral;
step 1b3, calling a control and telemetry module, inquiring the global parameters of the latest platform information, obtaining the platform information of the spectrometer state machine, and packaging the platform information into auxiliary data;
step 1b4, packaging and storing the acquired image data and auxiliary data;
step 1b5, image preprocessing and original spectral line data extraction are carried out, and finally spectral line data and auxiliary data are packaged into data frames according to an interface protocol and sent to a platform data recorder;
step 1b6, judging the detection result, if the detection result meets the set interval, directly entering step 1b7, otherwise, calling the AEC function of the camera to automatically adjust the next integration time, and updating the ICCD integration time in the ICCD global control parameter;
step 1b7, returning to step 1 b;
in the automatic detection process, if the manual control detection mode is to be switched to, the platform management computer must first send a manual control detection mode (global parameter) switching instruction, and after receiving the instruction, the spectrometer control software waits for the current automatic detection process to be executed, and then enters the manual control process.
Step 2b1, firstly, judging whether the ICCD is powered on, if not, waiting for the platform to send an ICCD power-on instruction, and executing the ICCD power-on operation through the control and telemetry module after receiving the ICCD power-on instruction;
step 2b2, after the ICCD is powered on, waiting for a detection starting instruction;
step 2b3, after detection is started, inquiring an ICCD global control parameter through a control and telemetry module to obtain the currently set ICCD gain and integral, and starting ICCD image acquisition according to the currently set ICCD gain and integral; in the detection process, if a new gain or integration time setting instruction of the platform is received, after the current detection process is finished, detection is carried out according to new parameters in the next detection.
Step 2b4, inquiring the latest platform information global parameter through the control and remote measuring module, obtaining the spectrometer state machine platform information, and packaging into auxiliary data;
step 2b5, packaging and storing the acquired image data and auxiliary data;
step 2b6, image preprocessing and original spectral line data extraction are carried out, and finally spectral line data and auxiliary data are packaged into data frames according to an interface protocol and sent to the platform data recorder;
step 2b7, return to step 1 b.
The invention also provides an ultraviolet spectrometer applicable to the near space, which is characterized in that: the system comprises an ultraviolet machine main body, an ultraviolet enhanced camera and the ultraviolet spectrometer control system for the adjacent space; after target ultraviolet radiation passes through the ultraviolet machine main body, optical signals of each spectrum section of ultraviolet are projected to a cathode of the ultraviolet enhanced camera, an original spectrum section image is output through gain amplification and exposure of the ultraviolet enhanced camera, and the ultraviolet spectrometer control system is used for executing the method.
The invention has the beneficial effects that:
1. the control system can synthesize the ambient temperature of the near space, the temperature control state of the spectrometer, the sun position information and the latest spectrum detection result to adjust the integration time of the spectrometer, ensure that the near space ultraviolet spectrometer can normally work in a special environment, collect effective data as much as possible and fully complete the detection task.
2. The ultraviolet spectrometer developed aiming at the near space detection task acquires ultraviolet spectrum radiation background data in the near space range of 190nm-400nm, establishes or enriches a basic characteristic database related to the space background radiation in the field, and provides basic data and technical support for future related scientific research and related applications.
3. According to the spectrometer temperature control system, the control system is improved, the spectrometer temperature controller is additionally arranged, the temperature of the spectrometer can be monitored in real time, the temperature control parameters can be adjusted, the spectrometer is controlled to work within a proper temperature range, the spectrometer is suspended outside the range, the influence of the temperature on a detection result is eliminated, and the detection result is more effective.
4. The invention automatically judges the position of the sun by improving the control system, if the sun is detected to enter the view field before imaging, the detection is required to be stopped, and the detection is started after the sun is avoided, thereby further improving the final data quality.
5. According to the invention, by improving the control system, before entering a new detection process, the previous detection result of each spectrum section is firstly judged, and if the response is too weak or saturation occurs, the integral time of the current detection is corrected according to a preset algorithm, so that the final data quality is further improved.
Drawings
FIG. 1 is a schematic diagram of a near space UV spectrometer system;
FIG. 2 is a schematic diagram of external information flow formed by software and hardware of a control system of the near space ultraviolet spectrometer;
FIG. 3 is a block diagram of a power management circuit;
FIG. 4 is a flow chart of the operation of the control system of the near space ultraviolet spectrometer;
FIG. 5 is a software module composition diagram of a near space UV spectrometer.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments.
The ultraviolet spectrometer is carried on a floating air ball platform, the height of the retained balloon can effectively avoid the absorption of the atmosphere, the high-precision measurement of the atmosphere ultraviolet (190nm-400nm) background radiation is carried out, and meanwhile, the spectrometer has certain environment adaptability, and the stable working state after flying and the maintainability after recovery are ensured.
The system of the near space ultraviolet spectrometer is shown in figure 1 and comprises an ultraviolet light machine main body, an ultraviolet enhanced camera (ICCD) and an ultraviolet spectrometer control system. The ultraviolet spectrometer control system not only provides basic hardware facilities such as power supply, temperature control and communication for each component, but also receives various state information from the inside and outside platforms of the spectrometer, and bears the functions of instruction monitoring, execution, internal state monitoring, original spectrum image preprocessing, spectrum line extraction and data packaging and sending, and is a control center of the whole spectrometer.
The ultraviolet spectrometer control system comprises hardware and main control software, the characteristics of a development task period and a near space flight test task are comprehensively considered, the software and hardware tasks are reasonably planned, and the advantages of high efficiency and high reliability of a hardware platform and the inherent advantages of software in coping with complex processing tasks are fully exerted.
The overall design principle is as follows: on the basis of realizing the task requirement of the control system, the technical scheme is favorable for reducing the cost and the development period, meets the requirements of reliability and durability of multiple flights and recovery, and is favorable for collecting atmospheric background data in a follow-up batch and large-scale manner.
The software and hardware components and internal and external information flow of the ultraviolet spectrometer control system are shown in fig. 2. The hardware component is designed based on wide-temperature industrial level devices, three-proofing connectors and standard industrial protocols, and the software module runs on the main control board and is realized by adopting efficient and reliable C/C + + codes. The hardware component mainly provides infrastructure such as a software running environment, data storage, power supply inside the spectrometer, temperature control, a solar sensor, an internal and external control telemetering communication interface and the like; the software module provides automatic and manual control functions, collects telemetering state information from hardware, works autonomously according to related parameters or works according to ground manual instructions, collects ICCD original spectral band data, extracts ultraviolet spectrum after image processing, and finally packages and sends the ultraviolet spectrum to the platform. The hardware components and software modules are described separately below.
As shown in fig. 2, the hardware components of the ultraviolet spectrometer control system mainly include a main control board, a power management circuit, a spectrometer temperature controller, a sun sensor, a communication expansion card, and a signal acquisition control board. The communication expansion card can be an RS422 bus expansion card.
The main control board provides an operation platform for the software module, and is an infrastructure for calculation, storage and communication, the embodiment adopts a wide-temperature PC104 industrial control main board, the main board is designed aiming at the requirements of a standard operating system under a limited space, has strong processing capability and a complete interface, and can facilitate the development of control software based on CCD SDK in the later period based on a Windows operating system. In addition, according to the floating test duration and the data rate, the main control board is configured with a 2T SSD hard disk. The interface directly connected with the main control board is provided with a command RS422 interface, an RS422 data interface, an RS232 signal board communication interface, a network port (CCD data communication), a VGA (debugging monitor), a USB (mouse, keyboard and peripheral expansion port). The two RS422 buses are connected with the platform master control and used for exchanging commands, working states and data with the platform; the main control board communicates with the signal acquisition control board through an RS232 interface.
The spectrometer module which needs to be independently powered comprises a main control board, a spectrometer temperature controller, a sun sensor, an image intensifier, a CCD and a signal acquisition control board. Therefore, the power management circuit is connected with the main control board, the spectrometer temperature controller, the sun sensor, the image intensifier, the CCD and the signal acquisition control board. The whole power management circuit design block diagram is shown in fig. 3:
the power management circuit uses 6 discrete DC-DC modules to complete power conversion of 6 paths of power supplies, and a fuse is placed at the input end of each path of power supply to prevent a single power supply link from being damaged to influence the whole power management circuit. The CCD, the image intensifier and the spectrometer temperature controller are all provided with a digital switch enabling interface and an analog quantity remote measuring interface, and an input power supply end is also provided with an analog quantity remote measuring interface. The telemetering analog quantity is output after being subjected to resistance voltage division and operational amplifier isolation, direct association between the signal board and the power board can be reduced to the maximum extent, and overall reliability is improved.
The signal acquisition control board is equivalent to the extension of a main control board and mainly has the functions of converting the voltage analog quantity of the power supply management circuit into a digital quantity, converting a switching instruction provided by a software module running on the main control board into a switching signal of a power supply in the power supply management circuit, periodically acquiring a sun sensor output signal and controlling the gain voltage or the telemetering voltage of the ICCD camera; in the embodiment, a commercial-grade multifunctional PCI-104 module is selected and integrated with 16 paths of digital I/0, 16 paths of 12-bit analog-digital conversion channels and 2 paths of 12-bit digital-analog conversion channel triggering. The module is connected with a main control through a PCI-104 slot, the slot provides PCM-3810I data communication and power supply, corresponding drive is required to be installed in an operating system of a main control board when the module is used, and the control of the module can be completed by calling related API functions through main control software.
Because the image intensifier needs one path of adjustable high voltage to adjust the gain besides the self power supply, the DA1 and the DA2 of the signal acquisition control board are used for outputting two paths of continuous adjustable voltages of 0-5V and 0-10V, the requirements of different types of image intensifiers for adjusting the gain can be met, the ImageMonitor is a monitoring end of the gain of the image intensifier and is directly connected to an AD port of the signal acquisition control board, and finally, calling access is carried out by main control software.
Aiming at the requirements of temperature control of a power panel, enabling of an image intensifier and a detector voltage module, 3 paths of digital IO ports are used for controlling; and 4 paths of AD are used for data acquisition aiming at one path of input voltage monitoring of the power panel, power supply voltage monitoring of the detector, voltage monitoring of the spectrometer temperature controller and power supply voltage monitoring of the image intensifier.
The sun sensor is used for judging whether the sun enters the visual field of the ultraviolet spectrometer or not and preventing strong light from damaging the cathode of an image intensifier of the ICCD, and the sun sensor is used as a sensor. The sun sensor is powered by the power management board, the optical axis direction of the sun sensor is consistent with that of the ultraviolet spectrometer, the field angle is slightly larger than that of the spectrometer, light entering the field angle is converted into voltage to be output, the voltage value is output continuously, and the smaller the included angle between sunlight and the optical axis of the sun sensor is after the sunlight enters the field angle of the sun sensor, the larger the output voltage value is. When the voltage exceeds the threshold voltage preset by the control software, an enable closing signal is sent to a high-voltage gating module of the ICCD, so that the high-voltage gating module is suspended to work, and the cathode of the image intensifier is protected. And when the output voltage does not exceed the threshold voltage, sending an enable opening signal to the ICCD high-voltage gating module to enable the ICCD high-voltage gating module to continue to work. The ICCD control and data processing module of the control software judges the voltage of the sun sensor before data acquisition every time in an automatic mode, and stops ICCD image acquisition when the voltage exceeds a threshold voltage, because the image intensifier is closed at the moment, the acquired image is an invalid image. And when the voltage of the sun sensor is detected to be lower than the threshold value, continuing to start the image acquisition and processing work.
The working principle and the flow of spectrometer master control software are introduced as follows:
the ultraviolet spectrometer main control software runs on an operating system of a PC104 main control board, after a spectrometer power supply management unit is powered on, the main control software and a spectrometer temperature controller are directly powered on and started, after the main control unit is started up, the control software starts up, after the software is started up, a platform instruction interception analysis and state sending function is directly started up, and an ICCD control and data processing module enters an automatic detection mode by default.
In an automatic detection mode, firstly, temperature control and platform position are judged, if the temperature of each temperature control point is detected not to reach a working range or not to reach an observation height (> < 20km), an ICCD power-off operation is executed, otherwise, an ICCD power-on operation is executed;
setting an initial imaging parameter after the electrification is finished, judging the position of the sun, collecting and storing an original image if the sun does not enter a field of view, simultaneously carrying out image preprocessing and original spectral line data extraction, and finally packaging the image into a data frame according to an interface protocol and sending the data frame to a platform storage manager;
because the target radiation brightness range is unknown, before entering a new detection process, the previous detection result of each spectral band is judged, if the response is too weak or saturation occurs, the AEC function of the CCD is called to correct the integral time of the detection, if the sun is detected to enter a visual field before imaging, the detection is stopped, and after the sun is avoided, the detection is started, so that the final data quality is improved as much as possible.
In the automatic detection process, if the manual control detection mode is to be switched to, a manual control detection mode switching instruction must be sent first, and after receiving the instruction, the spectrometer control software waits for the current automatic detection process to be executed, and then enters the manual control process.
After entering the manual control flow, firstly judging whether the ICCD is powered on, if not, waiting for the platform to send an ICCD power-on instruction, executing the ICCD power-on operation after receiving the ICCD power-on instruction, acquiring and storing detection data according to gain and integral time sent by the platform or previous gain and integral time after receiving a detection start instruction sent by the platform, simultaneously performing image preprocessing and original spectral line data extraction, and finally packaging the detection data into a data frame according to an interface protocol and sending the data frame to a platform storage manager. In the detection process, if a new gain or integration time setting instruction of the platform is received, after the current detection process is finished, detection is carried out according to new parameters in the next detection. And if an ICCD detection stop instruction or an ICCD power-off instruction is received, entering a subsequent instruction waiting state after the current detection is finished. In the manual mode, the temperature control, platform position and detection data state are judged manually, so that manual gain and integration time are set. The spectrometer control software does not make any condition limitation on detection and completely depends on manual judgment.
In the manual control detection mode, if switching to the automatic detection mode is desired, the platform should send an automatic detection mode instruction, and after receiving the instruction, the spectrometer control software waits for the current manual detection process to be executed completely, and then switches to the automatic detection mode. After entering the automatic mode manually, the control software can adjust parameters according to the temperature control state, the platform height and the last detection result.
Because spectrum appearance temperature controller closed-loop control, be independent of outside detecting element and the control software, consequently no matter under any kind mode, the platform can all carry out the operation of switching on and switching off and control by temperature change point temperature setting to the spectrum appearance temperature controller. Specifically, when the actual temperature does not reach the set optimal temperature value in the set time and is stable within a certain temperature range, if the spectrometer can normally work within the temperature range, the optimal temperature value is adjusted to the temperature range, and if the temperature range exceeds the normal working temperature range of the spectrometer, the power is cut off, and the work is suspended. The control software only forwards the platform instruction to the temperature control and telemeters the temperature control point information. The instructions related to temperature control include power-up, power-down, temperature telemetry for up to 10 temperature measurement points, and temperature settings for up to 10 temperature control points.
In the whole control software operation process, whether detection is carried out or not, whether the work mode is automatic or manual control, the platform instruction interception analysis and state sending functions are in an open state until the power of the main control unit is cut off. The sun position is judged before all imaging starts to be acquired, and damage to an image intensifier caused by gain setting of an ICCD (integrated compact disc) is prevented when the sun enters a visual field.
Based on the above process, the software module can be divided into modules as shown in fig. 5, including a main control module, a platform instruction interception analysis and state sending module, an ICCD control and data processing module, and a control and telemetry module;
the main control module is mainly used for initializing a software environment, defining and initializing global parameters, establishing each working thread and running log records.
The platform instruction interception analysis and state sending module is used for intercepting and analyzing a load bin management computer instruction, updating related parameters and acquiring the state of the spectrometer; specifically, the following description can be made with reference to fig. 4:
the platform data instruction interception and sending module intercepts RS422 serial port communication in an asynchronous mode, and when receiving a load bin management computer instruction, if the instruction is correct, the instruction type is judged according to an instruction format in a pre-designed interface protocol; if the data is the platform position time data and the pitch angle data, the data is stored into the global platform information variable, and the global platform position time parameter and the pitch angle parameter are updated. If the control command is a spectrometer control command, corresponding operation is required according to a specific command. And when a detection mode instruction, an ICCD power on/off instruction, an ICCD detection start stop instruction and an ICCD gain and integral setting instruction are received, updating an ICCD global control parameter and recording a log. And after receiving the temperature control power on/off and temperature setting instructions, carrying out corresponding operation through a hardware interface. And after the instruction is correctly received, returning response information of the instruction success, otherwise, returning a failure response instruction. And when a response instruction is returned, inquiring the latest state information of the spectrometer, storing the latest state information into the global remote measurement parameter of the state of the spectrometer, and finally collecting and arranging the latest state information into a state word and sending the state word and the response instruction to the platform together. And continuously receiving the load bin management computer instruction, and repeating the operation until the power is cut off.
The ICCD control and data processing module is used for judging the output voltage values of the temperature control sensor, the platform sensor and the sun sensor, carrying out data acquisition and storage, image correction preprocessing, spectral line extraction and spectral line data packaging and sending according to the judgment result, and automatically adjusting the ICCD integration time according to the data quality. The parameter adjustment under the ICCD automatic control and manual control can be carried out; the data of each spectral band of the ultraviolet spectrometer respectively correspond to a specific column of an original image, and the index of the column corresponding to each spectral band can be obtained according to the spectral calibration parameters of the instrument, so that the data of each spectral band is extracted.
Another important function of this module is to provide an automatic detection control function, which is to satisfy the requirement of increasing the effective data rate under the condition of unknown target intensity, the target intensity range is unknown, fixed detection parameters cannot be adopted, otherwise, the condition of undetected or saturated can occur, and thus the effective data rate can be reduced.
Specifically, the following description can be made with reference to fig. 4:
judging a control mode according to an ICCD global control parameter, if the control mode is an automatic detection mode, executing the step 1b1-1b7, and if the control mode is a manual control detection mode, executing the step 2b1-2b 7; if no mode control parameter exists, the automatic detection mode is entered by default, and the step 1b1-1b7 is executed;
step 1b1, inquiring the platform information global parameter and the spectrometer temperature controller through the control and remote measuring module, judging the platform position and the temperature of the optical machine main body of the ultraviolet spectrometer, if the platform position is detected not to reach the observation height (20 km) or the temperature of each temperature control point of the optical machine main body does not reach the working range, executing the ICCD power-off operation through the control and remote measuring module, otherwise executing the ICCD power-on operation;
step 1b2, judging whether the sun enters a view field, wherein the view field angle of the sun sensor is slightly larger than that of the spectrometer, when the sunlight enters the view field of the sun sensor, the included angle between the sunlight and the optical axis of the sun sensor is smaller, the output voltage value is larger, when the included angle exceeds a preset threshold voltage, the sunlight enters the view field of the spectrometer, the sun sensor sends a low level to a gating module of the ICCD camera, the low level signal is converted into an enabling closing signal through the gating module, an image intensifier is controlled to stop working, strong light damage is prevented, and images output by the CCD are all invalid dark backgrounds after the image intensifier stops working, so that the control software can also stop ICCD image acquisition; when the output voltage is lower than the threshold voltage, a high level is sent to a gating module of the ICCD camera, a high level signal is converted into an enable opening signal after passing through the gating module, the image intensifier is controlled to work continuously, the ICCD global control parameter is inquired through a control and telemetry module, the currently set ICCD gain and integral are obtained, and image acquisition is started according to the currently set ICCD gain and integral;
step 1b3, inquiring platform information global parameters through a control and telemetering module to obtain spectrometer state machine platform information, and packaging the spectrometer state machine platform information into auxiliary data;
step 1b4, packaging and storing the acquired image data and auxiliary data;
step 1b5, image preprocessing and original spectral line data extraction are carried out, and finally spectral line data and auxiliary data are packaged into data frames according to an interface protocol and sent to a platform data recorder;
step 1b6, judging the detection result, if the detection result meets the set interval, directly entering step 1b7, otherwise, calling the AEC function of the camera to automatically adjust the next integration time, and updating the ICCD integration time in the ICCD global control parameter;
step 1b7, returning to step 1 b;
step 2b1, firstly, judging whether the ICCD is powered on, if not, waiting for the platform to send an ICCD power-on instruction, and executing the ICCD power-on operation through the control and telemetry module after receiving the ICCD power-on instruction;
step 2b2, after the ICCD is powered on, waiting for a detection starting instruction;
step 2b3, after detection is started, inquiring the ICCD global control parameter through the control and telemetry module to obtain the currently set ICCD gain and integral, and starting image acquisition according to the currently set ICCD gain and integral;
step 2b4, inquiring the platform information global parameter through the control and telemetering module to obtain the spectrometer state machine platform information, and packaging the spectrometer state machine platform information into auxiliary data;
step 2b5, packaging and storing the acquired image data and auxiliary data;
step 2b6, image preprocessing and original spectral line data extraction are carried out, and finally spectral line data and auxiliary data are packaged into data frames according to an interface protocol and sent to the platform data recorder;
step 2b7, return to step 1 b.
The ultraviolet spectrometer developed aiming at the near space detection task acquires ultraviolet spectrum radiation background data in the near space range of 190nm-400nm, establishes or enriches a basic characteristic database related to the space background radiation in the field, and provides basic data and technical support for future related scientific research and related applications.