TWI778839B - Fingerprint signal processing system and fingerprint signal processing method - Google Patents
Fingerprint signal processing system and fingerprint signal processing method Download PDFInfo
- Publication number
- TWI778839B TWI778839B TW110139291A TW110139291A TWI778839B TW I778839 B TWI778839 B TW I778839B TW 110139291 A TW110139291 A TW 110139291A TW 110139291 A TW110139291 A TW 110139291A TW I778839 B TWI778839 B TW I778839B
- Authority
- TW
- Taiwan
- Prior art keywords
- pixel
- signal
- average
- signals
- row
- Prior art date
Links
Images
Landscapes
- Collating Specific Patterns (AREA)
- Radar Systems Or Details Thereof (AREA)
- Image Input (AREA)
Abstract
Description
本發明係關於一種訊號處理電路以及訊號處理方法。且特別是有關於一種指紋訊號處理系統以及指紋訊號處理方法。The present invention relates to a signal processing circuit and a signal processing method. In particular, it relates to a fingerprint signal processing system and a fingerprint signal processing method.
指紋辨識技術已被廣泛用於各式各樣的電子產品,例如行動電話、筆記型電腦、平板電腦、以及可擕式電子裝置等,用來實現身分識別。在指紋感測器的技術架構中,讀取指紋資料後經過類比數位轉換器(Analog-to-Digital Converter,ADC)轉換成數位訊號,都會有一定的偏差量(offset),為了校正此偏差量習知的方式是透過演算法的判斷進行校正,此方式會讓擷取指紋資料的速度變慢。有鑑於此,習知技術實有改進之必要。Fingerprint recognition technology has been widely used in various electronic products, such as mobile phones, notebook computers, tablet computers, and portable electronic devices, etc., to realize identity recognition. In the technical framework of the fingerprint sensor, after reading the fingerprint data, it is converted into a digital signal by an analog-to-digital converter (ADC), and there will be a certain offset (offset). In order to correct the offset The conventional method is to correct through the judgment of an algorithm, and this method will slow down the speed of capturing fingerprint data. In view of this, it is necessary to improve the prior art.
本發明之目的之一在於提供一種指紋訊號處理系統及指紋訊號處理方法,其可在編碼時進行偏差量的校正,不需要再透過演算法進行校正,如此一來可以提升擷取指紋資料的速度。One of the objectives of the present invention is to provide a fingerprint signal processing system and a fingerprint signal processing method, which can perform offset correction during encoding, and do not need to be corrected through an algorithm, so that the speed of capturing fingerprint data can be improved. .
本發明之目的之一在於提供一種指紋訊號處理系統及指紋訊號處理方法,利用一目標值和編碼後的影像資料的每行(column)的第一個位元所組成的第一列(row)訊號,將背景訊號控制在一合理值而不會飄掉。One of the objectives of the present invention is to provide a fingerprint signal processing system and a fingerprint signal processing method, which utilizes a target value and a first row formed by the first bit of each row (column) of the encoded image data. Signal, control the background signal to a reasonable value without drifting.
本發明之指紋訊號處理系統以及指紋訊號處理方法,主要係改進以往透過演算法的判斷進行校正使得擷取指紋資料的速度變慢的問題。先透過走線讀取儲存於暫存電路中的校正參數,利用校正參數來校正類比數位轉換器的偏移量,再藉由計算每一列的畫素平均值來校正在解碼時所產生的偏移量,不需要再透過演算法進行校正,如此一來可以達到提升擷取指紋資料速度的效果。再者,利用畫素訊號的波峰及波谷計算出的畫素訊號的平均值,相較於以往求取平均值的算法,較為準確也不容易受到指紋按壓面積的影響。The fingerprint signal processing system and the fingerprint signal processing method of the present invention mainly improve the problem of slowing down the speed of capturing fingerprint data by correcting through the judgment of the algorithm in the past. First, read the calibration parameters stored in the temporary storage circuit through the traces, use the calibration parameters to correct the offset of the analog-digital converter, and then correct the offset generated during decoding by calculating the pixel average value of each row. The shift amount does not need to be corrected by an algorithm, so that the speed of capturing fingerprint data can be improved. Furthermore, the average value of the pixel signal calculated by using the peaks and valleys of the pixel signal is more accurate than the previous algorithm for obtaining the average value and is not easily affected by the fingerprint pressing area.
依據上述,一種用於一指紋感測器的指紋訊號處理系統,包含:一校正控制電路,其接收一背景校正控制訊號、從該指紋感測器接收一編碼類比訊號以及將該編碼類比訊號轉換為複數個數位訊號,其中該編碼類比訊號為該指紋感測器讀取的一原始影像資料;一暫存電路,其電性連接至該校正控制電路以及儲存該些數位訊號,其中該些數位訊號以一二維矩陣儲存,該二維矩陣的一第一列包括複數個校正參數,其中當該背景校正控制訊號為一高準位時,該校正控制電路從該暫存電路中讀取該複數個校正參數以更新該些數位訊號的複數個偏移量;以及一解譯電路電性連接至該暫存電路,該解譯電路用以將該些數位訊號轉換為複數個畫素訊號。According to the above, a fingerprint signal processing system for a fingerprint sensor includes: a calibration control circuit which receives a background calibration control signal, receives an encoded analog signal from the fingerprint sensor, and converts the encoded analog signal is a plurality of digital signals, wherein the encoded analog signal is an original image data read by the fingerprint sensor; a temporary storage circuit is electrically connected to the calibration control circuit and stores the digital signals, wherein the digital signals are The signal is stored in a two-dimensional matrix, and a first row of the two-dimensional matrix includes a plurality of calibration parameters, wherein when the background calibration control signal is at a high level, the calibration control circuit reads the A plurality of calibration parameters are used to update a plurality of offsets of the digital signals; and an interpretation circuit is electrically connected to the temporary storage circuit, and the interpretation circuit is used for converting the digital signals into a plurality of pixel signals.
於一例中,指紋訊號處理系統更包括一正規化電路電性連接至該解譯電路,該正規化電路正規化該些畫素訊號以產生複數個正規化畫素訊號。In one example, the fingerprint signal processing system further includes a normalization circuit electrically connected to the decoding circuit, and the normalization circuit normalizes the pixel signals to generate a plurality of normalized pixel signals.
於一例中,校正控制電路包含:複數個類比數位轉換器用以接收該類比訊號,該些類比數位轉換器分別根據對應的該些偏移量將該類比訊號轉換為該些數位訊號;以及一偏移校正電路電性連接至該類比數位轉換器,該偏移校正電路用以接收該背景校正控制訊號、一目標參數(TAR)以及該些校正參數,當該背景校正控制訊號為該高準位時,根據該目標參數或該些校正參數或上述組合更新該些偏移量,藉以產生修正後的該些偏移量。In one example, the calibration control circuit includes: a plurality of analog-to-digital converters for receiving the analog signal, the analog-to-digital converters respectively convert the analog signal into the digital signals according to the corresponding offsets; and an offset The offset correction circuit is electrically connected to the analog-to-digital converter, and the offset correction circuit is used for receiving the background correction control signal, a target parameter (TAR) and the correction parameters, when the background correction control signal is at the high level When , the offsets are updated according to the target parameter or the correction parameters or the above-mentioned combination, so as to generate the corrected offsets.
於一例中,當該背景校正控制訊號為一低準位時,該些偏移量為更新前的或為修正後的。In one example, when the background correction control signal is at a low level, the offsets are before update or after correction.
於一例中,該指紋訊號處理系統更包含一走線電性連接至該偏移校正電路以及該暫存電路。In one example, the fingerprint signal processing system further includes a wire electrically connected to the offset correction circuit and the temporary storage circuit.
於一例中,該偏移校正電路用以透過該走線從該暫存電路讀取儲存於該暫存電路中的該些校正參數,每一該校正參數為該原始影像資料中、每行資料的平均值。In one example, the offset correction circuit is used to read the correction parameters stored in the temporary storage circuit from the temporary storage circuit through the wiring, and each of the correction parameters is the data of each row of the original image data. average of.
於一例中,該暫存電路的一編碼訊號為一N x M矩陣,N與M皆為自然數,經過該解譯電路後產生該N x M矩陣的該些畫素訊號,該N x M矩陣的每一行包含N個該些畫素訊號,該正規化電路計算每一該行對應的該N個畫素訊號的一畫素平均值,以及將對應的該N個畫素訊號分別與該畫素平均值相減以產生N個正規化畫素訊號,並且該畫素平均值是依據少於N個該些畫素訊號計算所得到的。In one example, an encoded signal of the temporary storage circuit is an N×M matrix, and both N and M are natural numbers. After passing through the decoding circuit, the pixel signals of the N×M matrix are generated, and the N×M Each row of the matrix includes N of the pixel signals, the normalization circuit calculates a pixel average value of the N pixel signals corresponding to each row, and associates the corresponding N pixel signals with the corresponding N pixel signals respectively. The pixel averages are subtracted to generate N normalized pixel signals, and the pixel average is calculated based on less than N of the pixel signals.
於一例中,該行的該畫素平均值是計算對應的該N個畫素訊號中的一最佳波峰畫素訊號以及一最佳波谷畫素訊號的平均所得到,並且其中該最佳波峰畫素訊號與該行的該些畫素訊號的一基值的振幅差距大於該行的其他該些畫素訊號,而該最佳波谷畫素訊號與該行的該些畫素訊號的該基值的振幅差距小於該行的其他該些畫素訊號。In one example, the pixel average value of the row is obtained by calculating the average of an optimal peak pixel signal and an optimal trough pixel signal among the corresponding N pixel signals, and wherein the optimal peak The difference in amplitude between the pixel signal and a base value of the pixel signals in the row is larger than that of the other pixel signals in the row, and the optimal valley pixel signal is different from the base value of the pixel signals in the row. The amplitude difference of the values is smaller than the other pixel signals of the row.
於一例中,該行的該畫素平均值是計算對應的該N個畫素訊號中的一最佳波峰畫素訊號以及一最佳波谷畫素訊號的平均所得到;該最佳波峰畫素訊號至少包括與該行的該些畫素訊號的一基值的振幅差距最大的一最大值畫素訊號和其他部分該些畫素訊號的平均;以及該最佳波谷畫素訊號至少包括與該行的該些畫素訊號的一基值的振幅差距最小的一最小值畫素訊號和其他部分該些畫素訊號的平均。In one example, the pixel average value of the row is obtained by calculating the average of an optimal peak pixel signal and an optimal trough pixel signal among the corresponding N pixel signals; the optimal peak pixel signal The signal at least includes a maximum pixel signal with the largest amplitude difference from a base value of the pixel signals in the row and the average of the pixel signals in other parts; and the optimal valley pixel signal at least includes A minimum value pixel signal with the smallest amplitude difference between a base value of the pixel signals in the row and the average of the pixel signals in other parts.
依據上述,一種用於一指紋感測器的指紋訊號處理方法,包含:從該指紋感測器接收一類比訊號,將該類比訊號轉換為複數個數位訊號;將該些數位訊號轉換為複數個畫素訊號;以及正規化該些畫素訊號以產生複數個正規化畫素訊號,其中,該些畫素訊號為N x M矩陣,N與M皆為自然數,每一行的畫素訊號包含N個畫素訊號,該正規化步驟包括: 計算每一該行的一畫素平均值,其中畫素平均值是依據少於N個該些畫素訊號計算所得到的;以及將該行對應的該N個畫素訊號分別與該畫素平均值相減以產生N個正規化畫素訊號。According to the above, a fingerprint signal processing method for a fingerprint sensor includes: receiving an analog signal from the fingerprint sensor, converting the analog signal into a plurality of digital signals; converting the digital signals into a plurality of digital signals pixel signals; and normalizing the pixel signals to generate a plurality of normalized pixel signals, wherein the pixel signals are an N×M matrix, N and M are both natural numbers, and the pixel signals of each row include N pixel signals, the normalizing step includes: calculating a pixel average value of each row, wherein the pixel average value is calculated based on less than N of the pixel signals; and corresponding to the row The N pixel signals of , respectively, are subtracted from the pixel average value to generate N normalized pixel signals.
一例中,計算該畫素平均值的步驟包括: 取得該行對應的該N個畫素訊號的一基值;取得和該基值有最大振幅差距的一最小值畫素訊號;取得和該基值有最小振幅差距的一最大值畫素訊號;以及平均該最小值畫素訊號和該最大值畫素訊號以得到該畫素平均值。In one example, the step of calculating the pixel average value includes: obtaining a base value of the N pixel signals corresponding to the row; obtaining a minimum pixel signal with a maximum amplitude difference from the base value; obtaining the base value and the base value a maximum pixel signal with a minimum amplitude difference; and averaging the minimum pixel signal and the maximum pixel signal to obtain the pixel average.
於一例中,計算該畫素平均值的步驟包括: 取得該行對應的該N個畫素訊號的一基值;取得和該基值有最大振幅差距的一最小值畫素訊號和與該最小值畫素訊號位置鄰近的部分該些畫素訊號後平均以得到一波谷平均;取得和該基值有最小振幅差距的一最大值畫素訊號和與該最大值畫素訊號位置鄰近的部分該些畫素訊號後平均以得到一波峰平均;以及平均該波谷平均和該波峰平均以得到該畫素平均值。In one example, the step of calculating the pixel average value includes: obtaining a base value of the N pixel signals corresponding to the row; obtaining a minimum value pixel signal with a maximum amplitude difference from the base value and the minimum value of the pixel signal with the minimum value. A value of the pixel signals adjacent to the pixel signal position is averaged to obtain a valley average; a maximum pixel signal with a minimum amplitude difference from the base value and a portion adjacent to the maximum pixel signal position are obtained. The pixel signals are averaged to obtain a peak average; and the trough average and the peak average are averaged to obtain the pixel average.
於一例中,中,計算該畫素平均值的步驟包括: 取得該行對應的該N個畫素訊號的一基值;取得和該基值有最大振幅差距的一最小值畫素訊號和小於該最大振幅差距的至少一畫素訊號後平均以得到一波谷平均;取得和該基值有最小振幅差距的一最大值畫素訊號和大於該最小振幅差距的至少一畫素訊號後平均以得到一波峰平均;以及平均該波谷平均和該波峰平均以得到該畫素平均值。In one example, the step of calculating the pixel average value includes: obtaining a base value of the N pixel signals corresponding to the row; obtaining a minimum pixel signal with a maximum amplitude difference from the base value and a sum less than At least one pixel signal with the largest amplitude difference is averaged to obtain a valley average; a maximum pixel signal with the smallest amplitude difference from the base value and at least one pixel signal larger than the minimum amplitude difference are obtained and averaged to obtain a peak average; and averaging the trough average and the peak average to obtain the pixel average.
依據上述,一種用於一指紋感測器的指紋訊號處理方法,包含:藉由一校正控制電路接收一背景校正控制訊號以及從該指紋感測器接收一類比訊號,將該類比訊號轉換為複數個數位訊號;以及藉由一暫存電路儲存該些數位訊號;藉由一解譯電路將該些數位訊號轉換為複數個畫素訊號;其中,當該背景校正控制訊號為一高準位時,藉由該校正控制電路從該暫存電路中讀取複數個校正參數以更新數位訊號的複數個偏移量。According to the above, a fingerprint signal processing method for a fingerprint sensor, comprising: receiving a background correction control signal by a correction control circuit and receiving an analog signal from the fingerprint sensor, and converting the analog signal into a complex number and storing the digital signals by a temporary storage circuit; converting the digital signals into a plurality of pixel signals by an interpretation circuit; wherein, when the background correction control signal is at a high level , the calibration control circuit reads a plurality of calibration parameters from the temporary storage circuit to update a plurality of offsets of the digital signal.
於一例中,指紋訊號處理方法進一步藉由複數個類比數位轉換器接收該類比訊號,並分別根據對應的該些偏移量將該類比訊號轉換為該些數位訊號;以及藉由一偏移校正電路接收該背景校正控制訊號、一目標參數以及該些校正參數,當該背景校正控制訊號為該高準位時,根據該目標參數或該些校正參數或上述組合更新該些偏移量,以產生修正後的該些偏移量。In one example, the fingerprint signal processing method further receives the analog signal through a plurality of analog-to-digital converters, and converts the analog signal into the digital signal according to the corresponding offsets respectively; and corrects the analog signal by an offset The circuit receives the background correction control signal, a target parameter and the correction parameters, and when the background correction control signal is at the high level, updates the offsets according to the target parameter or the correction parameters or a combination of the above, to The corrected offsets are generated.
於一例中,當該背景校正控制訊號為一低準位時,該些偏移量為更新前的或為修正後的。In one example, when the background correction control signal is at a low level, the offsets are before update or after correction.
於一例中,指紋訊號處理方法進一步更包括藉由一正規化電路正規化該些畫素訊號以產生複數個正規化畫素訊號,其中,該些畫素訊號為N x M矩陣,N與M皆為自然數,每一行的畫素訊號包含N個畫素訊號,該正規化步驟包括: 計算每一該行的一畫素平均值,其中畫素平均值是依據少於N個該些畫素訊號計算所得到的;以及將該行對應的該N個畫素訊號分別與該畫素平均值相減以產生N個正規化畫素訊號。In one example, the fingerprint signal processing method further includes normalizing the pixel signals by a normalization circuit to generate a plurality of normalized pixel signals, wherein the pixel signals are an N×M matrix, N and M All are natural numbers, and the pixel signals of each row include N pixel signals. The normalization step includes: calculating a pixel average value of each row, wherein the pixel average value is based on less than N of these images. and the N pixel signals corresponding to the row are respectively subtracted from the pixel average value to generate N normalized pixel signals.
以下將透過實施例來解釋本發明內容,本發明的實施例並非用以限制本發明須在如實施例所述之任何特定的環境、應用或特殊方式方能實施。因此,關於實施例之說明僅為闡釋本發明之目的,而非用以限制本發明。需說明者,以下實施例及圖式中,與本發明非直接相關之元件已省略而未繪示,且圖式中各元件間之尺寸關係僅為求容易瞭解,並非用以限制實際比例。The content of the present invention will be explained by the following examples, which are not intended to limit the implementation of the present invention in any specific environment, application or special manner as described in the embodiments. Therefore, the description of the embodiments is only for the purpose of illustrating the present invention, rather than limiting the present invention. It should be noted that, in the following embodiments and drawings, elements not directly related to the present invention are omitted and not shown, and the dimensional relationships among the elements in the drawings are only for easy understanding, not for limiting the actual scale.
圖1係根據本案之一些實施例所繪示之一種指紋訊號處理系統100的示意圖。請參考圖1,指紋訊號處理系統100包含校正控制電路110、暫存電路120、解譯電路130以及正規化電路140。暫存電路120電性連接至校正控制電路110以及解譯電路130,以及解譯電路130電性連接至正規化電路140。於此實施例中,指紋訊號處理系統100可以為單一積體電路(IC)或特定應用積體電路(ASIC)的至少一部分,或包括由導線、主被動元件、IC和ASIC整合的一模組或封裝元件的一部分。暫存電路120可以為具儲存功能的記憶體。FIG. 1 is a schematic diagram of a fingerprint
續參考圖1,指紋訊號處理系統100連接一指紋感測器(於圖1未繪)並接收來自指紋感測器的類比訊號(IMG),於此實施例中,搭配具有編碼功能的指紋感測器,例如Glass Sensor Encoder (GSE),則類比訊號(IMG)為編碼後的訊號。舉例而言,於具有編碼功能的指紋感測器中,會將原始訊號轉換成編碼後的類比訊號IMG,請參考《表1》及《表2》。《表1》係假設原始訊號為4x4的影像資料,《表2》係為原始訊號經由指紋感測器編碼後產生的4x4編碼後之影像資料。其次,編碼後的影像資料Y00為X00、X10、X20及X30加總後的平均值,Y01為X01、X11、X21及X31加總後的平均值,Y02為X02、X12、X22及X32加總後的平均值,Y03為X03、X13、X23及X33加總後的平均值。因此,在編碼過後的影像資料中,每行(column)的第一個位元為原始影像資料中每行(column)資料的平均值,但指紋感測器的編碼方式不以此為限。本發明即利用編碼後的《表2》的第一列(row)訊號資料Y00、Y01、Y02、Y03來校正類比的偏移量。可以理解的,當原始訊號為16x16的影像資料時,編碼後的《表2》的第一列(row)資料值為Y00、Y01、Y02…、Y0E及Y0F。
《表1》
續參考圖1,於此實施例中,校正控制電路110包含多個類比數位轉換器(Analog-to-Digital Converter,ADC)111以及偏移校正電路112。偏移校正電路112電性連接至類比數位轉換器111。類比數位轉換器111接收類比訊號IMG,偏移校正電路112接收背景校正控制訊號CTL、目標參數TAR以及校正參數CAL,指紋訊號處理系統100更包含走線150,走線150電性連接至偏移校正電路112以及暫存電路120。與本實施例中,偏移校正電路112用以透過走線150從暫存電路120讀取儲存於暫存電路120中的校正參數CAL。Continuing to refer to FIG. 1 , in this embodiment, the
圖2係根據本案之一些實施例所繪示之一種指紋訊號處理方法200的流程圖。請一併參閱圖1及圖2,於一實施例中,圖2所示之指紋訊號處理方法200可以應用於圖1的指紋訊號處理系統100上,於步驟S210,校正控制電路110接收背景校正控制訊號CTL以及從指紋感測器接收類比訊號IMG,校正控制電路110將類比訊號IMG轉換為複數個數位訊號DS。接著,於步驟S220, 暫存電路120儲存數位訊號DS。於此實施例中,步驟S210可包含步驟S211~步驟S213,圖3係根據本案之一些實施例所繪示之步驟S210的流程圖。請一併參考圖1~圖3,指紋訊號處理方法200進一步執行步驟S211,偏移校正電路112判斷背景校正控制訊號CTL是否為高準位,如果背景校正控制訊號CTL為高準位,表示本發明欲進入一背景調校模式,進一步執行步驟S212,根據目標參數TAR、校正參數CAL或上述二者更新類比數位轉換器的偏移量,例如以補償的方式形成數位訊號中修正後的偏移量。舉例來說,例如依據根據目標參數TAR和校正參數CAL兩者的差異量形成修正後的偏移量以補償類比數位轉換器的偏移量。於此實施例中,當背景校正控制訊號CTL為高準位時,偏移校正電路112用以透過走線150讀取儲存於暫存電路120中的校正參數CAL(也就是每個行(column)的平均值Y00、Y01、…),利用校正參數CAL來校正類比數位轉換器的偏移量。FIG. 2 is a flowchart of a fingerprint
續參考圖1~圖3,一般而言,會在開機時執行類比數位轉換器的校正,因此開機時韌體致能背景校正控制訊號CTL,偏移校正電路112會根據初始的數位訊號DS執行偏移量的校正。偏移校正電路112透過走線150讀取以一編碼矩陣(二維矩陣)儲存的數位訊號的第一列數位訊號作為校正多個類比數位轉換器111的偏移量的校正參數CAL。值得注意的是,暫存電路120係由M個記憶體陣列組成,記憶體陣列中的儲存單元的總量為N個,M與N皆為自然數,N為256 bytes。因此,第一列數位訊號係指第一列的記憶體陣列中儲存的數位訊號DS,並且第一列數位訊號具有M bytes。承上述,在偏移校正電路112中,第一列(row)數位訊號係由每一行(column)的原始訊號(意即,編碼前的訊號X)的平均值組成。接續前述《表1》及《表2》的範例,編碼後的影像資料Y00為X00、X10、X20以及X30加總後的平均值,Y01為X01、X11、X21以及X31加總後的平均值,以此類推。因此,第一列(Y00、Y01、Y02…)的記憶體陣列中的數位訊號DS,是根據編碼前每行(column)畫素訊號的平均值所計算出,當然也可以反映出編碼前的每行(column)的背景平均值。如此一來,利用第一列的記憶體陣列中的數位訊號DS作為校正參數CAL即可根據每一行(column)的數位訊號DS的平均值來校正每個類比數位轉換器111的偏移量。Continuing to refer to FIGS. 1 to 3 , in general, the calibration of the analog-to-digital converter is performed at startup, so the firmware enables the background calibration control signal CTL at startup, and the offset
續參考圖1~圖3,目標參數TAR係用來調整影像背景的明暗程度,舉例而言,可以選擇的,校正偏移量可以表示為目標參數TAR及校正參數CAL差異量再乘上一比值(例如1/4或其他),如此一來,隨著不斷掃圖遞迴更新校正參數CAL,校正參數CAL會逐漸往目標參數TAR靠近,此時代表背景圖的平均值已經接近到目標參數TAR。Continuing to refer to Figures 1 to 3, the target parameter TAR is used to adjust the brightness of the image background. For example, optionally, the correction offset can be expressed as the difference between the target parameter TAR and the correction parameter CAL multiplied by a ratio (such as 1/4 or others), in this way, with the continuous scanning of the image to update the calibration parameter CAL recursively, the calibration parameter CAL will gradually approach the target parameter TAR, which means that the average value of the background image has approached the target parameter TAR. .
續參考圖1~圖3,如果步驟S211偏移校正電路112判斷背景校正控制訊號CTL為低準位時,代表此時並非為背景調校模式,可能是在讀取指紋或是指紋按壓的模式,進一步執行步驟S213,此時在類比數位轉換器111中的偏移量維持不變,即類比數位轉換器111根據前一次背景調校修正後的偏移量或是類比數位轉換時自有的偏移量(若開機時並沒有進行背景調校),將類比訊號IMG轉換為數位訊號DS。於此實施例中,在背景校正控制訊號CTL為低準位時,不補償類比數位轉換器111的偏移量。舉例來說,當在讀取指紋時,韌體可禁能(disable)背景校正控制訊號CTL,此時類比數位轉換器111的偏移量已經在開機時校正完畢,因此類比數位轉換器111會根據開機時校正完畢將類比訊號IMG轉換為數位訊號DS。Continuing to refer to FIGS. 1 to 3 , if the offset
續參考圖1~圖3,於步驟S230中,解譯電路130將數位訊號DS轉換為複數個畫素訊號PS。於此實施例中,在步驟S210 中,類比數位轉換器111依據偏移校正電路的偏移量
,將感測器來的編碼矩陣將類比訊號轉換成數位訊號DS,接著在步驟S230中,解譯電路130會透過解碼矩陣將數位訊號轉換成畫素訊號PS。第一列的記憶體陣列中儲存的數位訊號DS在解碼過程中會被視為0或捨棄不用,由於每一行(column)的第一個位元組儲存的資料仍可能失真,失真的原因為有手指時平均值爆衝造成過飽和,因此解碼後的畫素訊號PS都會有一個偏移量。因此,指紋訊號處理方法200進一步執行步驟S240,藉由正規化電路140正規化畫素訊號PS以產生複數個正規化畫素訊號。於此實施例中,畫素訊號PS為N x M矩陣,N與M皆為自然數。以N等於256為範例,計算每一行的畫素訊號PS的畫素平均值,每一行的畫素訊號PS包含256個畫素訊號PS,並將該256個畫素訊號PS分別與畫素平均值相減以產生256個正規化畫素訊號。於本實施例中,根據256個畫素訊號PS中的最大值畫素訊號以及最小值畫素訊號計算畫素平均值。另,在不進行背景調校的情形下,偏移校正電路提供的偏移量可以是數位起始偏移量0。
1-3, in step S230, the
承上述,請參閱圖4,圖4係根據本案之一些實施例所繪示之一行畫素訊號的示意圖。如圖4所示,一行的畫素訊號包含多個波峰PH以及多個波谷PL,包括直流電(DC)起始值的基值PS1。本正規化方式是在多個波峰PH中找出最佳波峰PHB(意即最小值畫素訊號,波峰PH與基值PS1的振幅差距最大)以及最佳波谷PLB(意即最大值畫素訊號,波谷PL與基值PS1的振幅差距最小),將最佳波峰PHB代表的最小值畫素訊號與最佳波谷PLB代表的最大值畫素訊號相加後再除以2,即可得到該行的畫素平均值。之後,再將N個畫素訊號分別與該畫素平均值相減以產生N個正規化畫素訊號。如此以來,可以校正在解碼時所產生的偏移量。值得注意的是,當產生正規化畫素訊號後,可以將正規化畫素訊號傳送至演算法端,作為指紋辨識演算法的輸入訊號。Based on the above, please refer to FIG. 4 , which is a schematic diagram of a line of pixel signals according to some embodiments of the present application. As shown in FIG. 4 , a line of pixel signals includes a plurality of peaks PH and a plurality of valleys PL, including a base value PS1 of a direct current (DC) starting value. This normalization method is to find the best peak PHB (meaning the minimum pixel signal, the amplitude difference between the peak PH and the base value PS1 is the largest) and the best trough PLB (meaning the maximum pixel signal) among the multiple peaks PH , the amplitude difference between the trough PL and the base value PS1 is the smallest), add the minimum pixel signal represented by the best peak PHB and the maximum pixel signal represented by the best trough PLB, and then divide by 2 to obtain the line pixel average of . Then, the N pixel signals are respectively subtracted from the pixel average value to generate N normalized pixel signals. In this way, the offset generated at the time of decoding can be corrected. It is worth noting that, after the normalized pixel signal is generated, the normalized pixel signal can be sent to the algorithm side as the input signal of the fingerprint identification algorithm.
續參考圖4,要說明的是,本發明不限於以最小值畫素訊號和最大值畫素訊號相加後平均的第一種方式所得的結果作為畫素平均值。第二種方式,是取複數個波谷PL相加後除以取樣個數,以及複數個波峰PH相加後除以取樣個數,二者再平均後得到畫素平均值,其中複數個波谷PL包括最佳波谷PLB,而複數個波峰PH包括最佳波峰PHB,取樣總個數少於一行的畫素訊號的波峰和波谷加總數。例如,在一行的畫素訊號中,取前五大值畫素訊號(波谷PL與基值PS1的振幅差距最小的前五個)的平均(波谷平均)和前五小值(包括波峰PH與基值PS1的振幅差距最大的前五個)的平均(波峰平均),再將波谷平均和波峰平均除以2,即得到本發明中的畫素平均值。此方式中,前五大值畫素訊號包括最佳波谷PLB並有振幅大小順序性,前五小值畫素訊號包括最佳波峰PHB並有振幅大小順序性。其次,波峰PH和波谷PL的取樣個數可以相同或相異。第二種方式的另一例子中,先取得包括最佳波谷PLB與和最佳波谷PLB相鄰的一或多個波谷PL的平均(波谷平均),再取得包括最佳波峰PHB和與最佳波峰PHB相鄰的一或多個波峰PH的平均值(波峰平均),最後計算波谷平均和波峰平均二者的平均值來做為正規化所需的畫素平均值。在此例子中,取樣的複數個波谷PL包括最佳波谷PLB並且和最佳波谷PLB具有位置鄰近的關聯性,取樣的複數個波峰PH包括最佳波峰PHB並且和最佳波峰PHB和具有位置鄰近的關聯性。Continuing to refer to FIG. 4 , it should be noted that the present invention is not limited to taking the result obtained by the first method of adding and averaging the minimum pixel signal and the maximum pixel signal as the pixel average value. The second method is to add a plurality of troughs PL and divide by the number of samples, and add a plurality of peaks PH and divide by the number of samples, and then average the two to obtain an average pixel value, where the plurality of troughs PL Including the best trough PLB, and the plurality of peaks PH including the best peak PHB, the sum of the peaks and troughs of the pixel signal whose total number of sampling is less than one line. For example, in a line of pixel signals, take the average of the top five pixel signals (the top five with the smallest amplitude difference between the trough PL and the base value PS1) (the average of the troughs) and the top five small values (including the peak PH and the base value PS1). The average value of the top five (the peak average) with the largest amplitude difference of the value PS1 is divided by 2 to obtain the pixel average value in the present invention. In this method, the top five-value pixel signals include the best trough PLB and have amplitude order, and the top five small-value pixel signals include the best peak PHB and have amplitude order. Secondly, the sampling numbers of the peak PH and the trough PL can be the same or different. In another example of the second method, first obtain the average including the best trough PLB and one or more troughs PL adjacent to the best trough PLB (trough average), and then obtain the average including the best peak PHB and the best trough PLB. The average value of one or more peaks PH adjacent to the peak PHB (peak average), and finally the average value of both the valley average and the peak average is calculated as the pixel average required for normalization. In this example, the sampled plurality of troughs PL include the best trough PLB and have a positionally adjacent association with the best trough PLB, and the sampled plurality of peaks PH include the best wave peak PHB and have the best wave peak PHB and have a position adjacent to the best wave trough PLB. correlation.
圖5係根據本案之一些實施例所繪示之第二指紋訊號處理系統的示意圖。參考圖1和圖5,指紋訊號處理系統300包含轉換電路310、暫存電路320、解譯電路330以及正規化電路140。指紋訊號處理系統300連接一指紋感測器(於圖1未繪)並接收來自指紋感測器的類比訊號IMG’,其中類比訊號IMG’可以是未編碼的。類比訊號IMG’經過轉換電路310的類比數位轉換器111進行類比數位轉換後成為數位訊號DS’, 數位訊號DS’傳送至暫存電路320中儲存,解譯電路330透過解碼矩陣將數位訊號DS’轉換成畫素訊號PS’,再由正規化電路140正規化畫素訊號PS’以產生複數個正規化畫素訊號。FIG. 5 is a schematic diagram of a second fingerprint signal processing system according to some embodiments of the present application. Referring to FIG. 1 and FIG. 5 , the fingerprint
圖6係根據本案之一些實施例所繪示之第二指紋訊號處理方法的流程圖。圖5所示的系統可透過圖6的流程實現,請參考圖6,指紋訊號處理方法400可在包括指紋訊號處理系統300的單一IC或IC封裝中完成,於步驟S410,轉換電路310接收類比訊號IMG’並將類比訊號IMG’轉換為複數個數位訊號DS’。接著,於步驟S420, 暫存電路320儲存數位訊號DS’。 於步驟S430中,解譯電路330將數位訊號DS’轉換為複數個畫素訊號PS’。 暫存電路320中,第一列的記憶體陣列中儲存的數位訊號DS’在解碼過程中會被視為0或捨棄不用。之後,於步驟S240,藉由正規化電路140正規化畫素訊號PS’以產生複數個正規化畫素訊號。FIG. 6 is a flowchart of a second fingerprint signal processing method according to some embodiments of the present application. The system shown in FIG. 5 can be implemented through the process of FIG. 6 . Please refer to FIG. 6 , the fingerprint
要說明的,圖1的指紋訊號處理系統也可設計成沒有正規化電路140,直接將畫素訊號PS傳送至後端演算中,如圖7所示,也就是指紋訊號處理系統500執行背景校正,故可搭配執行圖2的步驟S210~S230即可。可以理解的,本發明所述的系統中的各電路,可透過半導體製程在半導體結構中實現。It should be noted that the fingerprint signal processing system in FIG. 1 can also be designed without the
由上述本案之實施方式可知,主要係改進以往透過演算法的判斷進行校正使得擷取指紋資料的速度變慢的問題,先透過走線讀取儲存於暫存電路中的校正參數,利用校正參數來校正類比數位轉換器的偏移量,再藉由計算每一行的畫素平均值來校正在解碼時所產生的偏移量,不需要再透過演算法進行校正,如此一來可以達到提升擷取指紋資料速度的效果。再者,利用畫素訊號的波峰及波谷計算出的畫素訊號的平均值,相較於以往求取平均值的算法,較為準確也不容易受到指紋按壓面積的影響。It can be seen from the above-mentioned embodiments of the present case that the main problem is to improve the previous problem of slowing down the speed of fingerprint data acquisition by performing correction through the judgment of the algorithm. To correct the offset of the analog digital converter, and then correct the offset generated during decoding by calculating the pixel average value of each line, and do not need to be corrected through the algorithm. The effect of taking fingerprint data speed. Furthermore, the average value of the pixel signal calculated by using the peaks and valleys of the pixel signal is more accurate than the previous algorithm for obtaining the average value and is not easily affected by the fingerprint pressing area.
另外,上述例示包含依序的示範步驟,但該些步驟不必依所顯示的順序被執行。以不同順序執行該些步驟皆在本揭示內容的考量範圍內。在本揭示內容之實施例的精神與範圍內,可視情況增加、取代、變更順序及/或省略該些步驟。In addition, the above illustrations include sequential exemplary steps, but the steps do not have to be performed in the order shown. It is within the contemplation of this disclosure to perform the steps in a different order. These steps may be added, replaced, changed order and/or omitted as appropriate within the spirit and scope of the embodiments of the present disclosure.
雖然本案已以實施方式揭示如上,然其並非用以限定本案,任何熟習此技藝者,在不脫離本案之精神和範圍內,當可作各種之更動與潤飾,因此本案之保護範圍當視後附之申請專利範圍所界定者為準。Although this case has been disclosed above in terms of implementation, it is not intended to limit this case. Anyone who is familiar with this technique can make various changes and modifications without departing from the spirit and scope of this case. Therefore, the scope of protection in this case should be considered later. The scope of the attached patent application shall prevail.
100, 300, 500:指紋訊號處理系統
110:校正控制電路
111:類比數位轉換器
112:偏移校正電路
120, 320:暫存電路
130, 330:解譯電路
140:正規化電路
150:走線
CTL:背景校正控制訊號
TAR:目標參數
CAL:校正參數
IMG, IMG’:類比訊號
DS, DS’:數位訊號
PS, PS’:畫素訊號
PS1:基值
PH:波峰
PL:波谷
PHB:最佳波峰
PLB:最佳波谷
200, 400:指紋訊號處理方法
310:轉換電路
S210~S240, S211~S213, S410~S430:步驟
100, 300, 500: Fingerprint Signal Processing System
110: Correction control circuit
111: Analog-to-digital converters
112: Offset
圖1係根據本案之一些實施例所繪示之第一指紋訊號處理系統的示意圖。 圖2係根據本案之一些實施例所繪示之第一指紋訊號處理方法的流程圖。 圖3係根據本案之一些實施例所繪示之步驟S210的流程圖。 圖4係根據本案之一些實施例所繪示之一行畫素訊號的示意圖。 圖5係根據本案之一些實施例所繪示之第二指紋訊號處理系統的示意圖。 圖6係根據本案之一些實施例所繪示之第二指紋訊號處理方法的流程圖。 圖7係根據本案之一些實施例所繪示之第三指紋訊號處理系統的示意圖。 FIG. 1 is a schematic diagram of a first fingerprint signal processing system according to some embodiments of the present application. FIG. 2 is a flowchart of a first fingerprint signal processing method according to some embodiments of the present application. FIG. 3 is a flowchart of step S210 according to some embodiments of the present application. FIG. 4 is a schematic diagram of a line pixel signal according to some embodiments of the present application. FIG. 5 is a schematic diagram of a second fingerprint signal processing system according to some embodiments of the present application. FIG. 6 is a flowchart of a second fingerprint signal processing method according to some embodiments of the present application. FIG. 7 is a schematic diagram of a third fingerprint signal processing system according to some embodiments of the present application.
100:指紋訊號處理系統 100: Fingerprint Signal Processing System
110:校正控制電路 110: Correction control circuit
111:類比數位轉換器 111: Analog-to-digital converters
112:偏移校正電路 112: Offset correction circuit
120:暫存電路 120: Temporary storage circuit
130:解譯電路 130: Interpretation Circuit
140:正規化電路 140: Normalized Circuits
150:走線 150: line
CTL:背景校正控制訊號 CTL: Background correction control signal
TAR:目標參數 TAR: target parameter
CAL:校正參數 CAL: Calibration parameter
IMG:類比訊號 IMG: analog signal
DS:數位訊號 DS: digital signal
PS:畫素訊號 PS: pixel signal
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110139291A TWI778839B (en) | 2021-10-22 | 2021-10-22 | Fingerprint signal processing system and fingerprint signal processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110139291A TWI778839B (en) | 2021-10-22 | 2021-10-22 | Fingerprint signal processing system and fingerprint signal processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI778839B true TWI778839B (en) | 2022-09-21 |
TW202318253A TW202318253A (en) | 2023-05-01 |
Family
ID=84958328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110139291A TWI778839B (en) | 2021-10-22 | 2021-10-22 | Fingerprint signal processing system and fingerprint signal processing method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI778839B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870817A (en) * | 2014-03-27 | 2014-06-18 | 成都费恩格尔微电子技术有限公司 | Radio-frequency micro-capacitance fingerprint acquisition chip and method |
US9697410B2 (en) * | 2015-12-08 | 2017-07-04 | Contek Life Science Co., Ltd. | Capacitive fingerprint sensor |
TWI604390B (en) * | 2015-11-24 | 2017-11-01 | 斯科竣公司 | Method and apparatus for fingerprint sensing and calibration |
TWI691882B (en) * | 2019-01-31 | 2020-04-21 | 大陸商北京集創北方科技股份有限公司 | Fingerprint sensing method, fingerprint sensor and information processing device capable of automatically adjusting sensing signal processing parameters |
TW202034145A (en) * | 2019-03-07 | 2020-09-16 | 聯詠科技股份有限公司 | Fingerprint signal processing circuit and method |
TW202113813A (en) * | 2019-09-23 | 2021-04-01 | 神盾股份有限公司 | Electronic device and image signal processing method of removing background noise based on spatial frequency |
-
2021
- 2021-10-22 TW TW110139291A patent/TWI778839B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870817A (en) * | 2014-03-27 | 2014-06-18 | 成都费恩格尔微电子技术有限公司 | Radio-frequency micro-capacitance fingerprint acquisition chip and method |
TWI604390B (en) * | 2015-11-24 | 2017-11-01 | 斯科竣公司 | Method and apparatus for fingerprint sensing and calibration |
US9697410B2 (en) * | 2015-12-08 | 2017-07-04 | Contek Life Science Co., Ltd. | Capacitive fingerprint sensor |
TWI691882B (en) * | 2019-01-31 | 2020-04-21 | 大陸商北京集創北方科技股份有限公司 | Fingerprint sensing method, fingerprint sensor and information processing device capable of automatically adjusting sensing signal processing parameters |
TW202034145A (en) * | 2019-03-07 | 2020-09-16 | 聯詠科技股份有限公司 | Fingerprint signal processing circuit and method |
TW202113813A (en) * | 2019-09-23 | 2021-04-01 | 神盾股份有限公司 | Electronic device and image signal processing method of removing background noise based on spatial frequency |
Also Published As
Publication number | Publication date |
---|---|
TW202318253A (en) | 2023-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100915777B1 (en) | Method and apparatus providing imager noise reduction using parallel input arithmetic mean modules | |
US20210303811A1 (en) | Method for fingerprint sensing in an electronic module capable of fingerprint sensing, electronic module capable of fingerprint sensing, and computing apparatus | |
JP6021626B2 (en) | Imaging device driving method, imaging device, and imaging system | |
EP2289167A1 (en) | Apparatus and method for gain correction in an image sensor | |
WO2021120632A1 (en) | Fingerprint sensing apparatus | |
TWI778839B (en) | Fingerprint signal processing system and fingerprint signal processing method | |
WO2007055053A1 (en) | Offset adjusting circuit | |
CN113163087B (en) | Image sensing device and exposure time adjusting method thereof | |
KR102105612B1 (en) | Successive approximation register analog-digital converting apparatus and cmos image sensor thereof | |
WO2021031612A1 (en) | Fingerprint sensing device | |
US11635849B1 (en) | Fingerprint signal processing system and fingerprint signal processing method | |
US11537236B1 (en) | Fingerprint sensing device and signal processing method thereof | |
TWI796045B (en) | Fingerprint image generation method and device for saving memory | |
JP4989134B2 (en) | Image sensor readout circuit and analog-digital conversion method thereof | |
TW202244757A (en) | Method for image processing circuit and related sampling circuit | |
US20100149324A1 (en) | Image pickup apparatus and image pickup system | |
US20060203313A1 (en) | Apparatus and method mapping look-up table in an imaging system | |
TW202405759A (en) | Image processing circuit and host for fingerprint sensing on panel | |
JP7198835B2 (en) | AD conversion device, imaging device, endoscope system, and AD conversion method | |
US20230108759A1 (en) | Successive-approximation register analog-to-digital converter, correction method and correction system | |
JP4204690B2 (en) | Shading correction device | |
US20200175240A1 (en) | Fingerprint sensor and fingerprint sensing method thereof | |
US20100141805A1 (en) | Image correcting system and image capturing device using the same and image correcting method thereof | |
JP4521050B2 (en) | Analog-digital converter and operation method thereof, lamp generator and operation method thereof, and imaging apparatus | |
JPS58212257A (en) | System for correcting variance of sensitivity for solid-state scanning element |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent |