A multi-mode control method for a detector
Patent Information
- Application Number
- CN202311211887.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-19
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2043-09-19
AI Technical Summary
若将积分级数和增益参数等指令分开,则每次仅发送需要更新的内容,对于可部分寄存器单独更新的探测器,可提高寄存器更新效率;对于需要全部寄存器整体更新的探测器,由于每条指令都会引起寄存器的全部内容更新,相对的更新效率也不高
[0042]本发明的探测器的多工作模式控制方法,针对探测器内部寄存器需要全部更新的应用,将工作模式、增益参数和积分级数等成像参数合并在一条指令中,可提高探测器内部寄存器更新效率,避免重复更新的情况。
Smart Images

Figure CN117278834B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of detector technology, and in particular to a multi-mode control method for a detector. Background Technology
[0002] During operation, the detector operates in at least one resolution mode depending on the application requirements. The register values differ for each resolution mode; therefore, the detector registers need to be updated each time a different resolution mode is switched. Updating the registers raises the question of whether previously set imaging parameters should also be updated. Combining the operating mode and all imaging parameters into a single instruction facilitates switching between resolution modes and updating imaging parameters. However, for applications requiring updates to only a portion of the detector's registers, writing the entire register content is still necessary, resulting in low efficiency for detectors where individual register updates are possible. Separating the instructions for the integration stage and gain parameters allows only the necessary updates to be sent at a time, improving efficiency for detectors where individual register updates are possible. However, for detectors requiring a complete register update, the efficiency remains relatively low because each instruction updates the entire register. Summary of the Invention
[0003] The present invention aims to solve the technical problems in the prior art by providing a multi-operating mode control method for a detector.
[0004] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:
[0005] A method for controlling multiple operating modes of a detector includes the following steps:
[0006] When the operating mode, gain parameter, and integral series are combined into a single instruction:
[0007] Rewrite all registers of the detector;
[0008] When the operating mode, gain parameter, and integral stage are sent in time-division multiple times as instructions:
[0009] If a working mode command is received, all registers of the detector are rewritten; if a gain parameter or integral series command is received, the corresponding registers are updated.
[0010] When the operating mode and the integral series or gain parameter are sent together in a single command, the gain parameter or integral series is sent independently as a separate command:
[0011] When the default register switching state between the two operating modes is received, and the operating mode and integration series or gain parameter instructions are received, all registers of the detector are rewritten.
[0012] When a new gain parameter and integral stage setting is received, if an operating mode and integral stage or gain parameter instruction is received, or if a gain parameter or integral stage instruction is received, only the corresponding registers are updated.
[0013] In the above technical solution, when the operating mode, gain parameter, and integral stage are combined into a single instruction:
[0014] First, based on the received operating mode signal, the selector reads the initial value from the initial register of any operating mode into the detector operating register;
[0015] Then, the synchronously received gain parameters and integration series are updated in the detector's working register;
[0016] Finally, the detector's internal registers are updated.
[0017] In the above technical solution, when the operating mode, gain parameter, and integral stage are sent in multiple time-division multiplexing instructions, upon receiving the operating mode instruction:
[0018] First, based on the received operating mode signal, the selector reads the initial value from the initial register of any operating mode into the detector operating register;
[0019] Then, the detector's internal registers are updated.
[0020] In the above technical solution, when the operating mode, gain parameter, and integral series are sent in multiple time-division multiplexing instructions, upon receiving a gain parameter or integral series instruction:
[0021] First, update the detector's working register with the received gain parameter or integral series data;
[0022] Then, the detector's internal registers are updated.
[0023] In the above technical solution, when the operating mode, gain parameter, and integral stage are sent in time-division multiple times as multiple instructions, and the operating mode differs from the expected mode and needs to be switched:
[0024] If the gain parameter or integral stage differs from the default value, the corresponding gain parameter or integral stage command will be sent after switching the operating mode;
[0025] If the gain parameter or integral stage is different from the default value but the operating mode is the same, only the corresponding gain parameter or integral stage command will be sent.
[0026] In the above technical solution, under the default register switching state between the two operating modes, upon receiving an instruction specifying the operating mode and the integration stage or gain parameter, all registers of the detector are rewritten, specifically as follows:
[0027] First, based on the received operating mode signal, the selector reads the initial value from the initial register of any operating mode into the detector operating register;
[0028] Then, the received integration series or gain parameters are updated in the detector's working register.
[0029] Finally, the detector's internal registers are updated.
[0030] In the above technical solution, when a new gain parameter and integral stage setting state are received, and a working mode and integral stage or gain parameter instruction are received, or a gain parameter or integral stage instruction is received, only the corresponding part of the registers are updated, specifically:
[0031] First, update the detector's working register with the received gain parameter or integral series data;
[0032] Then, the detector's internal registers are updated.
[0033] In the above technical solution, the process of performing a state correctness check includes the following steps:
[0034] (1) After the imaging controller is powered on, read the register value and the state machine state, and determine whether they are consistent with the initial value;
[0035] (2) Set the detector working mode and gain parameters, read the register value and state machine status, and determine whether they are consistent with the set values;
[0036] (3) When the detector is powered on, the register value, set working mode, gain parameter and integration stage of the detector are read back through the 422 bus;
[0037] (4) Set new gain parameters and integration stage values for the detector, read the register values and state machine status; read back the detector's register values, set operating mode, gain parameters and integration stage number through the 422 bus, and determine whether they are consistent with the set values.
[0038] In the above technical solution, the working mode is switched when the camera is not in the camera state.
[0039] In the above technical solution, the imaging system of the detector includes: a camera controller, an imaging controller power supply, an imaging controller, a detector, and a detector power supply; the camera controller, the imaging controller power supply, the imaging controller, the detector power supply, and the detector are connected in sequence; the camera controller is also connected to the imaging controller via a 422 bus; the imaging controller is also connected to the detector;
[0040] The camera controller generates an imaging power supply control signal to control the power supply of the imaging controller, enabling power-on and power-off. The imaging controller power supply provides power to the imaging controller. The camera controller controls the imaging controller via a 422 bus, enabling power-on and power-off operations on the detector power supply, and transmitting the detector's operating mode, gain parameters, and integration level. The imaging controller generates a detector power supply control signal to enable or disable the power supply voltage to the detector. The imaging controller generates control and configuration signals to configure the registers and generate relevant timing sequences for different operating modes of the detector.
[0041] The present invention has the following beneficial effects:
[0042] The multi-operating-mode control method for detectors of the present invention, for applications where all internal registers of the detector need to be updated, combines imaging parameters such as operating mode, gain parameter and integration level into a single instruction, which can improve the update efficiency of the internal registers of the detector and avoid repeated updates.
[0043] The multi-operating-mode control method for detectors of the present invention, for applications where the internal registers of the detector can be partially updated, separates the operating mode instruction, the integral series instruction, and the gain parameter instruction. All parameters are set before each power-on of the detector, and only the required parameters are set after the detector is powered on, thereby improving the efficiency of register updates. Attached Figure Description
[0044] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments.
[0045] Figure 1 An imaging system diagram of the detector of this invention.
[0046] Figure 2 A diagram showing the working mode and imaging parameters combined into a single command.
[0047] Figures 3(a)-3(c)The following are timing diagrams of the working instructions of the present invention, which combine the working mode and imaging parameters into one instruction; wherein: Figure 3(a) is before the detector power-on instruction and after the detector power-on instruction but before the camera start instruction; Figure 3(b) is after the camera end instruction but before the camera start instruction; Figure 3(c) is after the detector power-off instruction but before the detector power-on instruction and after the detector power-on instruction but before the camera start instruction.
[0048] Figure 4 The diagram shows the working modes and imaging parameters under different commands.
[0049] Figure 5 This is a timing diagram of the operating instructions for the working mode and imaging parameters of the present invention, which are respectively set to different instructions.
[0050] Figure 6 The control timing diagram for the operating mode and integral stage are on the same instruction.
[0051] Figure 7 The state flowchart shows the working mode and integral level under the same instruction.
[0052] Figure 8 A diagram showing the working mode and integral stage in the same instruction.
[0053] Figure 9(a) and 9(b) The following are timing diagrams for switching operating modes and integral stages under the same instruction: Figure 9(a) shows the detector before the power-on instruction; Figure 9(b) shows the detector after the power-off instruction and before the power-on instruction. Detailed Implementation
[0054] The inventive concept of this invention is as follows: The multi-operating mode control method of the detector of this invention divides the operating mode switching and imaging operating parameter instructions into one or more instructions according to whether the internal register of the detector can be partially updated, and each switching of the operating mode register is performed in different operating stages.
[0055] The present invention will now be described in detail with reference to the accompanying drawings.
[0056] like Figure 1 As shown in Figure 9, the present invention provides a multi-operating mode control method for a detector.
[0057] The detector's imaging system includes: a camera controller, an imaging controller power supply, an imaging controller, a detector, and a detector power supply. The camera controller generates imaging power supply control signals to power on and off the imaging controller power supply; the imaging controller power supply provides power to the imaging controller; the camera controller controls the imaging controller via a 422 bus, powering on and off the detector power supply, and transmitting the detector's operating mode and various imaging parameters. The imaging controller generates detector power supply control signals to output or shut off the power supply voltage to the detector; the imaging controller generates control and configuration signals to configure the detector's registers and generate relevant timing sequences for each operating mode.
[0058] The various imaging parameters mainly include gain parameters and integral series. The gain parameters include coarse adjustment gain parameters, fine adjustment gain parameters, and bias (initial value of analog-to-digital converter), etc. The integral series includes the integral series of each spectral band and push-broom direction, etc.
[0059] I. Applications requiring a complete update of the detector's internal registers
[0060] 1. Imaging parameters such as operating mode, gain parameters, and integration stages are combined into a single command;
[0061] 2. Upon receiving this instruction, all registers of the detector must be rewritten, even if only some content needs to be updated. First, based on the received operating mode signal, the selector reads the initial value from the operating mode 1 initial register or the operating mode 2 initial register into the detector operating register. Then, the synchronously received gain parameter and integral stage are updated into the detector operating register. Finally, the internal registers of the detector are updated.
[0062] 3. The working mode can be switched even when not in camera mode.
[0063] As shown in Figure 3(a), the working command sequence includes: imaging power-on command, working mode and imaging parameter command, detector power-on command, optional imaging parameter setting command, camera start command, camera end command, detector power-off command, and imaging power-off command. The working mode can be switched before the detector power-on command and after the detector power-on command but before the camera start command.
[0064] As shown in Figure 3(b), the working command sequence includes: camera end command, optional imaging parameter setting command, and camera start command. The working mode can be switched between the camera end command and the camera start command.
[0065] As shown in Figure 3(c), the working command sequence includes: camera end command, detector power-down command, optional imaging parameter setting command, detector power-on command, and camera start command. The working mode can be switched between the following times: after the detector power-down command and before the detector power-on command, and after the detector power-on command and before the camera start command.
[0066] II. Applications where the detector's internal registers can be partially updated and each instruction is sent independently.
[0067] 1. The operating mode, gain parameter, and integral stage are sent in three separate instructions, sent in a time-division manner.
[0068] 2. For example Figure 4 As shown, once a working mode instruction is received, all registers of the detector need to be rewritten. Based on the received working mode signal, the selector reads the initial value from the working mode 1 initial register or the working mode 2 initial register into the detector working register, and then updates the internal registers of the detector.
[0069] When only gain parameters or integral series instructions are received, only the corresponding registers are updated; the received gain parameters or integral series data are updated in the detector working register, and then the internal registers of the detector are updated.
[0070] 3. When switching between operating modes differs from the expected mode, this can be performed even when not in camera mode. If the gain parameter or integration level differs from the default value, the corresponding gain parameter or integration level command needs to be sent after switching operating modes. If the gain parameter or integration level differs from the default value but the operating mode remains the same, only the corresponding gain parameter or integration level command needs to be sent.
[0071] The operating command sequence includes: imaging power-on command, operating mode command, optional integration stage command, optional gain parameter command, detector power-on command, optional operating mode command, optional integration stage command, optional gain parameter command, camera start command, camera end command, detector power-off command, and imaging power-off command.
[0072] III. Application of partially updatable internal registers of the detector and merging of operating mode with one parameter.
[0073] 1. For example Figure 6 As shown, the operating mode and integral series are combined into a single instruction and sent simultaneously; the gain parameter is sent independently in the form of a separate instruction.
[0074] 2. The state flowchart of the working mode and integral level under the same instruction is as follows: Figure 7As shown, the state machine includes two states: "default register switching state between two operating modes" and "setting state for newly received gain parameters and integration stages". When the phase-locked loop is in an unlocked state after imaging power-on, or at the falling edge of the detector power-on indication signal, the state machine will be in the "default register switching state between two operating modes". When a working mode and integration stage instruction is received (corresponding to the rising edge of the working mode indication signal), it will jump from the "default register switching state between two operating modes" to the "setting state for newly received gain parameters and integration stages".
[0075] like Figure 8 As shown, when the state machine is in the "default register switching state between two working modes", as long as it receives the working mode and integration level instructions, it needs to rewrite all the registers of the detector. According to the received working mode signal, the selector reads the initial value from the working mode 1 initial register or the working mode 2 initial register into the detector working register, then updates the synchronously received integration level value into the detector working register, and finally updates the internal registers of the detector.
[0076] When the state machine is in the "newly received gain parameter and integral stage setting state", as long as it receives the operating mode and integral stage instruction or the gain parameter instruction, it only updates the corresponding part of the registers; it updates the received gain parameter or integral stage data into the detector operating register, and then updates the detector's internal registers.
[0077] 3. The detector's operating mode can only be switched when the detector is not powered on.
[0078] As shown in Figure 9(a), the operating command sequence includes: imaging power-on command, operating mode and integration stage command, optional gain parameter command, detector power-on command, optional imaging parameter setting command, camera start command, camera end command, detector power-off command, and imaging power-off command. The operating mode can be switched before the detector power-on command.
[0079] As shown in Figure 9(b), the operating command sequence includes: detector power-down command, operating mode and integration stage command, optional gain parameter setting command, detector power-on command, optional imaging parameter setting command, and camera start command. The operating mode can be switched between the detector power-down command and the detector power-on command.
[0080] 4. Execution status correctness check steps: (1) After the imaging controller is powered on, read the register value and the state machine status to determine whether they are consistent with the initial value; (2) Set the detector working mode and gain parameters, read the register value and the state machine status to determine whether they are consistent with the set value; (3) Power on the detector, read back the detector register value, the set working mode and imaging parameters through the 422 bus; (4) Set the detector to a new gain parameter and integration stage value, read the register value and the state machine status; read back the detector register value, the set working mode and imaging parameters through the 422 bus to determine whether they are consistent with the set value.
[0081] Example:
[0082] (1) The imaging controller power supply chip uses a 510 DC-DC module;
[0083] (2) The detector used is from Changguang Chenxin Company;
[0084] (3) The camera controller mainly uses DSP chips;
[0085] (4) The imaging controller mainly adopts the imaging controller and refresh chip of Shanghai Fudan Microelectronics Co., Ltd.;
[0086] (5) The detector power supply mainly uses TI's LDO.
[0087] The multi-operating-mode control method for detectors of the present invention, for applications where all internal registers of the detector need to be updated, combines imaging parameters such as operating mode, gain parameter and integration level into a single instruction, which can improve the update efficiency of the internal registers of the detector and avoid repeated updates.
[0088] The multi-operating-mode control method for detectors of the present invention, for applications where the internal registers of the detector can be partially updated, separates the operating mode instruction, the integral series instruction, and the gain parameter instruction. All parameters are set before each power-on of the detector, and only the required parameters are set after the detector is powered on, thereby improving the efficiency of register updates.
[0089] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this invention.
Claims
1. A multi-operating-mode control method for a detector, characterized in that, Includes the following steps: For detectors that update all internal registers, when the operating mode, gain parameter, and integration level are combined into a single instruction: All internal registers of the detector are rewritten. First, based on the received operating mode signal, the selector reads the initial value from the initial register of any operating mode into the detector's operating register. Then, the synchronously received gain parameter and integral series are updated into the detector's operating register. Finally, the detector's internal registers are updated. For detectors that update their internal registers, the operating mode, gain parameter, and integration level are sent in three time-division multiplexing instructions: If a working mode instruction is received, all internal registers of the detector are rewritten. First, based on the received working mode signal, the selector reads the initial value from the initial register of any working mode into the detector's working register. Then, the detector's internal registers are updated. If a gain parameter or integral series instruction is received, the corresponding registers are updated. First, the received gain parameter or integral series data is updated in the detector's working register. Then, the detector's internal registers are updated. For detectors that update internal registers, when the operating mode and integration level or gain parameter are combined into a single instruction and sent simultaneously, the gain parameter or integration level is sent independently as a separate instruction. In the default register switching state between the two operating modes, upon receiving the operating mode and integration stage, and the operating mode and gain parameter, all internal registers of the detector are rewritten. First, based on the received operating mode signal, the selector reads the initial value from the initial register of any operating mode into the detector's operating register. Then, the synchronously received integration stage or gain parameter is updated into the detector's operating register. Finally, the detector's internal registers are updated. When the newly received gain parameters and integral stage settings are in progress, if a working mode and integral stage or gain parameter command is received, or if a gain parameter or integral stage command is received, only the corresponding registers are updated. First, the received gain parameter or integral stage data is updated in the detector's working register. Then, the detector's internal registers are updated.
2. The multi-operating-mode control method for the detector according to claim 1, characterized in that, When the operating mode, gain parameter, and integral stage are sent in three time-division multiplexing instructions, and the operating mode differs from the expected mode, requiring a switch: If the gain parameter or integral stage differs from the default value, the corresponding gain parameter or integral stage command will be sent after switching the operating mode; If the gain parameter or integral stage is different from the default value but the operating mode is the same, only the corresponding gain parameter or integral stage command will be sent.
3. The multi-operating-mode control method for the detector according to claim 1, characterized in that, When performing a status correctness check, the following steps are included: (1) After the imaging controller is powered on, read the register value and the state machine state, and determine whether they are consistent with the initial value; (2) Set the detector working mode and gain parameters, read the register value and state machine state, and determine whether they are consistent with the set values; (3) When the detector is powered on, the register values, operating mode, gain parameters and integration stages of the detector are read back through the 422 bus; (4) Set new gain parameters and integration stage values for the detector, read the register values and state machine status; read back the detector register values, set working mode, gain parameters and integration stage number through the 422 bus, and determine whether they are consistent with the set values.
4. The multi-operating-mode control method for a detector according to any one of claims 1-3, characterized in that, The working mode is switched when not in camera mode.
5. The multi-operating-mode control method for a detector according to any one of claims 1-3, characterized in that, The imaging system of the detector includes: a camera controller, an imaging controller power supply, an imaging controller, a detector, and a detector power supply; the camera controller, the imaging controller power supply, the imaging controller, the detector power supply, and the detector are connected in sequence; the camera controller is also connected to the imaging controller via a 422 bus; the imaging controller is also connected to the detector; The camera controller generates an imaging power supply control signal to control the power supply of the imaging controller, enabling power-on and power-off. The imaging controller power supply provides power to the imaging controller. The camera controller controls the imaging controller via a 422 bus, enabling power-on and power-off operations on the detector power supply, and transmitting the detector's operating mode, gain parameters, and integration level. The imaging controller generates a detector power supply control signal to enable or disable the power supply voltage to the detector. The imaging controller generates control and configuration signals to configure the registers and generate relevant timing sequences for different operating modes of the detector.
Citation Information
Patent Citations
Imaging device and electronic device
CN105430276A
Method and device for switching working mode of PIR camera
CN105491285A