CN113179359B - Serial image data training system based on synchronous words - Google Patents

Serial image data training system based on synchronous words Download PDF

Info

Publication number
CN113179359B
CN113179359B CN202110427711.7A CN202110427711A CN113179359B CN 113179359 B CN113179359 B CN 113179359B CN 202110427711 A CN202110427711 A CN 202110427711A CN 113179359 B CN113179359 B CN 113179359B
Authority
CN
China
Prior art keywords
word
stage
synchronous
training
synchronous word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110427711.7A
Other languages
Chinese (zh)
Other versions
CN113179359A (en
Inventor
余达
刘金国
周怀得
徐东
孔德柱
陈佳豫
赵莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CN202110427711.7A priority Critical patent/CN113179359B/en
Publication of CN113179359A publication Critical patent/CN113179359A/en
Application granted granted Critical
Publication of CN113179359B publication Critical patent/CN113179359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/04Synchronising
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith
    • H04N25/76Addressed sensors, e.g. MOS or CMOS sensors

Abstract

A serial image data training system based on synchronous words relates to a training system of a CMOS image sensor, and solves the problem that the image has a code disorder phenomenon caused by temperature drift in the imaging process due to the fact that the temperature change of a CMOS detector is large or the thermal control measure cannot ensure that the detector changes in a small temperature range in the prior art; the driving and control signals generated by the imaging controller are sent to the imaging detector after passing through the driving and control circuit; digital image data output by the imaging detector is processed by the imaging controller and then output by the data transmission interface circuit; a writing phase comprising an idle phase, a bit correction phase based on an accompanying clock, a word correction phase based on an accompanying clock, a channel correction phase based on a synchronous word and a training result; the invention can adapt to large-scale temperature change without special dynamic training.

Description

Serial image data training system based on synchronous words
Technical Field
The invention relates to a training system of a CMOS image sensor, in particular to a serial image data training system based on synchronous words.
Background
CMOS image sensor applications, typically direct output of digital image data. Because digital image data has high quantization bit number and large data volume, the digital image data is transmitted in a serial mode. On the receiving side, it is necessary to perform serial-to-parallel conversion of input serial image data, and an adaptive adjustment process for accurately converting serial data into parallel data is called training.
In the application of high line frequency, the serial clock frequency of the CMOS detector is high, and the margin of serial image data sampling is small. When the temperature of the detector changes greatly or the thermal control measures cannot ensure that the detector changes in a small temperature range, the phenomenon of image distortion due to temperature drift may occur in the imaging process.
Aiming at long-time continuous imaging, one solution is to improve the design of a detector, and output serial image data and an accompanying clock adopt the same delay link, so that delay deviation caused by temperature change is avoided; meanwhile, before the effective image data is output, four synchronous words are output, the position of the effective image data is indicated through detection of the synchronous words, and the change of the position of the output effective image data caused by delay deviation of an external synchronous control signal at different temperatures is avoided. Therefore, the original training method needs to be improved, whether the channel training is successful or not is detected based on the synchronous words in the channel training stage, and the position of the last synchronous word and the relative delay pixel clock number of the synchronous control signal occur; after the channel training is finished, a data valid signal is generated after the last synchronous word is detected each time.
Disclosure of Invention
The invention provides a serial image data training system based on synchronous words, aiming at solving the problem that the phenomenon of image messy codes occurs in the imaging process due to temperature drift because the temperature change of the CMOS detector is large or the thermal control measure can not ensure that the detector is changed in a small temperature range in the prior art.
A serial image data training system based on synchronous words comprises an imaging detector, a driving and control circuit, an imaging controller, a memory and a data transmission interface circuit; the driving and control signals generated by the imaging controller are sent to the imaging detector after passing through the driving and control circuit; digital image data output by the imaging detector is processed by the imaging controller and then output by the data transmission interface circuit;
the training system comprises five stages, namely an idle stage, a bit correction stage based on an accompanying clock, a word correction stage based on the accompanying clock, a channel correction stage based on a synchronous word and a writing stage of a training result;
after a new channel training starting signal is detected in the idle stage, entering a bit correction stage based on an accompanying clock;
in the bit correction stage based on the accompanying clock, performing bit correction, and entering a word correction stage based on the accompanying clock after the bit correction is finished;
in the word correction stage based on the accompanying clock, carrying out word correction, and entering a channel correction stage based on synchronous words after the word correction is finished; in the channel correction stage based on the synchronous words, channel correction is carried out, and after the channel training is finished, a training result writing stage is started;
writing the training result in a writing stage of the training result, and entering an idle stage after the training result is written;
the channel training mode adopted in the channel correction phase based on the synchronous words is as follows: resetting the counter by using the positive pulse of the line trigger pulse signal sync, and stopping counting after the counter counts to the maximum line period length; simultaneously, clearing the final position of the channel correction by using the positive pulse of the line trigger pulse signal sync;
sequentially detecting a first synchronous word, a second synchronous word, a third synchronous word and a fourth synchronous word at four continuous positions, when the fourth synchronous word is detected, locking the current counting value of a counting signal, and marking the position 1 of a mark for successful channel training;
when the count value of the counter reaches the maximum line cycle length, a first synchronous word, a second synchronous word, a third synchronous word and a fourth synchronous word are not detected at four continuous positions in sequence, and the mark of successful channel training is set to be 0 at the low position;
and intercepting a non-zero value of the counting signal in the telemetry information, wherein the non-zero value represents that channel training is successful, and the non-zero value is a delay value of a sync pulse of a fourth synchronous word relative to a row trigger pulse signal sync pulse.
The invention has the beneficial effects that:
1. training is carried out based on a clock accompanying scheme, a sampling clock of serial data and the serial data synchronously change along with the temperature, and the phase deviation of the sampling clock and the serial data is kept within 40ps in the temperature change process, so that the situation that data sampling errors do not occur even for large-range temperature changes after the bit correction in the training process is successful can be ensured;
2. based on the synchronous word detection of four different modes, the situation that training is successful and the acquired image has messy codes due to different delay time caused by special code patterns can be avoided; when the sync word detection of four different modes can be detected correctly, the code patterns in different gray levels can be applied. The position of effective data is determined in real time through synchronous word detection of four different modes, large-range temperature change can be adapted, and special dynamic training is not needed.
Drawings
FIG. 1 is a schematic block diagram of a synchronous word-based serial image data training system according to the present invention;
FIG. 2 is a flow chart of a synchronous word-based serial image data training system according to the present invention;
FIG. 3 is a flowchart illustrating the steps of generating the valid data signal LVAL in the training system for serial image data based on sync word according to the present invention.
Detailed Description
The embodiment is described with reference to fig. 1 to 3, and a serial image data training system based on a sync word, such as the imaging system shown in fig. 1, includes an imaging detector, a driving and control circuit, an imaging controller, a memory and a data transmission interface circuit; the driving and control signals generated by the imaging controller are sent to the imaging detector after passing through the driving and control circuit. The digital image data output by the imaging detector is processed by the imaging controller and then output by the data transmission interface circuit.
In the embodiment, the relative phase of the parallel data output by the imaging detector and the accompanying clock changes little with the temperature, and the relative phase deviation of the output data and the accompanying clock does not exceed 40ps in the temperature change range of-55 ℃ to 125 ℃.
In this embodiment, the imaging detector outputs a training word after a training word control signal train is raised (high level), and outputs four synchronous words sync _ code first and then outputs light-sensitive image data under the condition of a normal working time sequence; the four synchronous words are different, the highest of the first synchronous word is 1, and the rest are 0; in the second synchronous word, the lowest bit is 0, and the rest are 1; the third synchronous character is the negation of the training character, and the fourth synchronous character is the negation of the lowest training character.
The training system of the present embodiment includes five stages, an idle stage, a bit correction stage based on an associated clock, a word correction stage based on an associated clock, a channel correction stage based on sync _ code, and a writing stage of a training result; after a new channel training starting signal is detected in the idle stage, entering a bit correction stage based on an accompanying clock; in the bit correction phase based on the accompanying clock, entering a word correction phase based on the accompanying clock after the bit correction is finished; in the word correction stage based on the accompanying clock, after the word correction is finished, entering a channel correction stage based on sync _ code; in a channel correction stage based on sync _ code (synchronous word), after channel training is finished, entering a writing stage of a training result; and in the writing stage of the training result, entering an idle stage after the training result is written.
The channel training mode in this embodiment is as follows: resetting a counter by using the positive pulse of the sync, and stopping counting after the counter counts to the maximum row period length; meanwhile, clearing the final position of the channel correction by using the positive pulse of the sync; when the first, second, third and fourth sync words are detected in four successive positions in sequence, the counting signal is intercepted when the fourth sync word is detected, and the successful channel training flag is set to high 1, while when the counting value of the counter has reached the maximum line period length and the first, second, third and fourth sync words have not been detected in four successive positions in sequence, the successful channel training flag is set to low 0. A non-zero value of the count signal in the telemetry message is intercepted, which represents that channel training was successful and is the delay of the fourth sync _ code relative to the sync pulse.
In this embodiment, the phase flow of generating the valid data signal LVAL mainly includes six phases, i.e., a blanking phase in which LVAL is low level, a first sync word detection phase, a second sync word detection phase, a third sync word detection phase, a fourth sync word detection phase, and a high level phase. When the detector is in a power-on reset or training stage, entering a blanking stage with LVAL at a low level; in a blanking stage that LVAL is low level, when power-on is finished and training is finished, entering a stage of detecting a first synchronous word; in the stage of detecting the first synchronous word, when the first synchronous word is detected, the stage of detecting the second synchronous word is entered; in the stage of detecting the second synchronous word, when the second synchronous word is detected, the stage of detecting the third synchronous word is entered, otherwise, the stage of detecting the first synchronous word is entered; in the stage of detecting the third synchronous word, when the third synchronous word is detected, the stage of detecting the fourth synchronous word is entered, otherwise, the stage of detecting the first synchronous word is entered; in the stage of detecting the fourth synchronous word, when the fourth synchronous word is detected, entering a stage of LVAL being high level, otherwise entering a stage of detecting the first synchronous word; when LVAL is high level, the first sync word detecting stage is entered after the counting is finished.
In this embodiment, the imaging detector uses a TDICMOS detector from long optical core corporation; the data transmission interface circuit adopts a TLK2711 chip; the driving and control circuit is mainly based on the level conversion chip 164245; the imaging controller mainly adopts an FPGA and a refreshing chip of Shanghai double-denier microelectronics corporation.

Claims (4)

1. A serial image data training system based on synchronous words comprises an imaging detector, a driving and control circuit, an imaging controller, a memory and a data transmission interface circuit; the driving and control signals generated by the imaging controller are sent to the imaging detector after passing through the driving and control circuit; digital image data output by the imaging detector is processed by the imaging controller and then output by the data transmission interface circuit;
the method is characterized in that:
the training system comprises five stages, namely an idle stage, a bit correction stage based on an accompanying clock, a word correction stage based on the accompanying clock, a channel correction stage based on a synchronous word and a writing stage of a training result;
after a new channel training starting signal is detected in the idle stage, entering a bit correction stage based on an accompanying clock;
in the bit correction stage based on the accompanying clock, performing bit correction, and entering a word correction stage based on the accompanying clock after the bit correction is finished;
in the word correction stage based on the accompanying clock, carrying out word correction, and entering a channel correction stage based on synchronous words after the word correction is finished; in the channel correction stage based on the synchronous words, channel correction is carried out, and after the channel training is finished, a training result writing stage is started;
writing the training result in a writing stage of the training result, and entering an idle stage after the training result is written;
the channel training mode adopted in the channel correction phase based on the synchronous words is as follows: resetting the counter by using the positive pulse of the line trigger pulse signal sync, and stopping counting after the counter counts to the maximum line period length; simultaneously, clearing the final position of the channel correction by using the positive pulse of the line trigger pulse signal sync;
sequentially detecting a first synchronous word, a second synchronous word, a third synchronous word and a fourth synchronous word at four continuous positions, when the fourth synchronous word is detected, locking the current counting value of a counting signal, and marking the position 1 of a mark for successful channel training;
when the count value of the counter reaches the maximum line cycle length, a first synchronous word, a second synchronous word, a third synchronous word and a fourth synchronous word are not detected at four continuous positions in sequence, and the mark of successful channel training is set to be 0 at the low position;
and intercepting a non-zero value of the counting signal in the telemetry information, wherein the non-zero value represents that channel training is successful, and the non-zero value is a delay value of a sync pulse of a fourth synchronous word relative to a row trigger pulse signal sync pulse.
2. The system of claim 1, wherein: the imaging detector outputs training words after outputting training word control signals train to be high level, and under the condition of normal working time sequence, four synchronous words are output firstly, and then photosensitive image data are output; the four synchronous words are different, the highest of the first synchronous word is 1, and the rest are 0; in the second synchronous word, the lowest bit is 0, and the rest are 1; the third synchronous word is taken as the inverse of the corresponding bit of the training word, and the fourth synchronous word is taken as the inverse of the LSB of the lowest bit of the training word.
3. The system of claim 1, wherein: after the channel training is finished, the imaging controller generates a driving working time sequence signal of the detector, and generates a data effective signal after a fourth synchronous word is detected;
the phase flow for generating the data valid signal LVAL mainly includes six phases, which are a blanking phase of a low level, a phase for detecting a first sync word, a phase for detecting a second sync word, a phase for detecting a third sync word, a phase for detecting a fourth sync word, and a phase of a high level;
when the imaging detector is in a power-on reset or training stage, entering a blanking stage of low level; in a blanking stage that LVAL is low level, when power-on is finished and training is finished, entering a stage of detecting a first synchronous word;
in the stage of detecting the first synchronous word, when the first synchronous word is detected, the stage of detecting the second synchronous word is entered;
in the stage of detecting the second synchronous word, when the second synchronous word is detected, the stage of detecting the third synchronous word is entered, otherwise, the stage of detecting the first synchronous word is entered;
in the stage of detecting the third synchronous word, when the third synchronous word is detected, the stage of detecting the fourth synchronous word is entered, otherwise, the stage of detecting the first synchronous word is entered;
in the stage of detecting the fourth synchronous word, when the fourth synchronous word is detected, entering a stage of LVAL being high level, otherwise entering a stage of detecting the first synchronous word;
when LVAL is high level, the first sync word detecting stage is entered after the counting is finished.
4. The system of claim 1, wherein: the relative phase of the serial data output by the imaging detector and the accompanying clock is within the range of-55 ℃ to 125 ℃ along with the temperature variation; the relative phase deviation of the output serial data and the accompanying clock does not exceed 40 ps.
CN202110427711.7A 2021-04-21 2021-04-21 Serial image data training system based on synchronous words Active CN113179359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110427711.7A CN113179359B (en) 2021-04-21 2021-04-21 Serial image data training system based on synchronous words

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110427711.7A CN113179359B (en) 2021-04-21 2021-04-21 Serial image data training system based on synchronous words

Publications (2)

Publication Number Publication Date
CN113179359A CN113179359A (en) 2021-07-27
CN113179359B true CN113179359B (en) 2022-03-01

Family

ID=76924750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110427711.7A Active CN113179359B (en) 2021-04-21 2021-04-21 Serial image data training system based on synchronous words

Country Status (1)

Country Link
CN (1) CN113179359B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932109A (en) * 2012-11-19 2013-02-13 张波 Timing synchronization and spreading factor detection system and method for power line communication
JP2015080702A (en) * 2013-10-24 2015-04-27 Hoya株式会社 Endoscope apparatus
CN107925561A (en) * 2015-08-04 2018-04-17 高通股份有限公司 The method, apparatus and storage medium exchanged for 3 phase signals at 3 line communication links between two IDE of adaptation
CN109697998A (en) * 2017-10-23 2019-04-30 三星电子株式会社 Non-volatile memory device, storage equipment, the method for training data line
CN109862281A (en) * 2019-01-31 2019-06-07 中国科学院长春光学精密机械与物理研究所 Global shutter mode lower time for exposure adjustable Camera Link imaging system
CN110753221A (en) * 2019-11-18 2020-02-04 中国科学院长春光学精密机械与物理研究所 Real-time correction system for serial image data training of CMOS image sensor
CN111064862A (en) * 2019-12-27 2020-04-24 中国科学院长春光学精密机械与物理研究所 Data training method for high-speed large-area-array multi-channel CMOS image sensor
CN112118441A (en) * 2020-09-22 2020-12-22 中国科学院长春光学精密机械与物理研究所 Bit correction improved serial CMOS image data training method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10114206B2 (en) * 2013-02-25 2018-10-30 Huron Technologies International Inc. Microscopy slide scanner with variable magnification

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932109A (en) * 2012-11-19 2013-02-13 张波 Timing synchronization and spreading factor detection system and method for power line communication
JP2015080702A (en) * 2013-10-24 2015-04-27 Hoya株式会社 Endoscope apparatus
CN107925561A (en) * 2015-08-04 2018-04-17 高通股份有限公司 The method, apparatus and storage medium exchanged for 3 phase signals at 3 line communication links between two IDE of adaptation
CN109697998A (en) * 2017-10-23 2019-04-30 三星电子株式会社 Non-volatile memory device, storage equipment, the method for training data line
CN109862281A (en) * 2019-01-31 2019-06-07 中国科学院长春光学精密机械与物理研究所 Global shutter mode lower time for exposure adjustable Camera Link imaging system
CN110753221A (en) * 2019-11-18 2020-02-04 中国科学院长春光学精密机械与物理研究所 Real-time correction system for serial image data training of CMOS image sensor
CN111064862A (en) * 2019-12-27 2020-04-24 中国科学院长春光学精密机械与物理研究所 Data training method for high-speed large-area-array multi-channel CMOS image sensor
CN112118441A (en) * 2020-09-22 2020-12-22 中国科学院长春光学精密机械与物理研究所 Bit correction improved serial CMOS image data training method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
紫外遥感仪器高速CMOS成像电子学系统;张恒等;《光学精密工程》;20180215(第02期);226-234 *

Also Published As

Publication number Publication date
CN113179359A (en) 2021-07-27

Similar Documents

Publication Publication Date Title
US9900535B2 (en) Solid-state imaging apparatus, imaging system and method for driving solid-state imaging apparatus
CN103106861A (en) Method of transferring data in a display device
JP2017011470A (en) Serial communication device and serial communication method
JP4260696B2 (en) Solid-state imaging device, image sensor, image processing device, and imaging method
US5499114A (en) Digital image scanning apparatus with pixel data compensation for bad photosites
CN113179359B (en) Serial image data training system based on synchronous words
US20130027595A1 (en) Solid-state imaging apparatus and ad-conversion output bit count control method
US10462268B2 (en) Data transmitting/receiving apparatus and data transmitting/receiving method
CN111586325B (en) Improved training method of CMOS image data based on alternating conversion pulse
US10057524B2 (en) Image capturing apparatus
US8175194B2 (en) Signal receiving apparatus and signal processing method
JP2017050734A (en) Serial communication device, communication system, and communication method
CN116367001A (en) Image sensor serial data dynamic training method
JP4430491B2 (en) Image transfer apparatus and image forming apparatus
JPS58173933A (en) Transmission system of code signal
JP5423071B2 (en) Data transfer device and imaging device
US20230087104A1 (en) Signal processing circuit and reception device
US11962910B2 (en) Imaging apparatus, image processing system, and control method for imaging apparatus
KR20190070504A (en) Display device, data driver and the method for correcting skew
JP2006345156A (en) Optical communication system and optical communication method
CN112911175B (en) Noise reduction system for low-light-level imaging of CMOS image sensor
US7920197B2 (en) Image pickup apparatus
CN115882869B (en) Camera-Link decoding method based on signal time characteristics
CN117009273A (en) HDMI receiving end interface controller processing method based on FPGA
TWI517608B (en) Mobile industry processor interface signal receiving apparatus and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant