Physical unclonable function circuit, chip and equipment

Through the detection and comparison of offset voltage values ​​of multiplexers and analog-to-digital converters, unpredictable response data is generated, which solves the problem of complexity and high cost of physical uncloned function circuits, and achieves low complexity and low cost. Unpredictable data generation.

CN119004558APending Publication Date: 2024-11-22BEIJING TONGFANG MICROELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411172915.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The complexity and cost of existing physically uncloned function circuits limit their application.

Method used

Using a multiplexer and a preset number of analog-to-digital converters, unpredictable response data are generated through the detection and comparison of offset voltage values.

Benefits of technology

It reduces the complexity and cost of physically uncloned function circuits, realizes efficient unpredictable data generation, and avoids application limitations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119004558A_ABST
    Figure CN119004558A_ABST
Patent Text Reader

Abstract

The invention discloses a physical unclonable function circuit, a chip and equipment. The physical unclonable function circuit comprises a multiplexer and a preset number of analog-to-digital converters. An analog-to-digital converter channel is arranged in each analog-to-digital converter; the multiplexer is used for determining a target analog-to-digital converter after receiving the excitation signal and sending an offset voltage value detection instruction to the target analog-to-digital converter; reading an offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter; obtaining a comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values of other analog-to-digital converter channels; and determining response data corresponding to the excitation signal according to each comparison result, and outputting the response data. According to the embodiment of the invention, the unpredictable data can be generated based on the multiplexer and each analog-to-digital converter in the chip to serve as the response to the excitation signal, the response to the excitation signal is output, and the complexity is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a physical unclonable function circuit, chip and device. Background Art

[0002] Physical Unclonable Functions (PUF) is a hardware security technology. A PUF circuit is usually set inside the chip. After other modules in the chip input an excitation signal into the PUF circuit, the PUF circuit will output an unpredictable response using the random differences in the inherent physical structure.

[0003] In the related art, the commonly used physical unclonable function circuit includes multiple ring oscillators. After other modules in the chip input an excitation signal into the physical unclonable function circuit, the physical unclonable function circuit will generate a random data as a response to the excitation signal by comparing the count values ​​of multiple ring oscillators, and output the response to the excitation signal. The physical unclonable function circuit based on multiple ring oscillators is highly complex and costly, which limits the application of the physical unclonable function circuit. Summary of the invention

[0004] The present invention provides a physical unclonable function circuit, a chip and a device to solve the problem in the related art that the physical unclonable function circuit has high complexity and high cost, which limits the application of the physical unclonable function circuit.

[0005] According to one aspect of the present invention, there is provided a physical unclonable function circuit, comprising: a multiplexer and a preset number of analog-to-digital converters;

[0006] Wherein, each analog-to-digital converter is provided with an analog-to-digital converter channel;

[0007] The multiplexer is connected to each of the analog-to-digital converters, and is used to determine a target analog-to-digital converter among each of the analog-to-digital converters after receiving an excitation signal, send an offset voltage value detection instruction to the target analog-to-digital converter, so that the target analog-to-digital converter determines the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter, and stores the offset voltage value of each analog-to-digital converter channel in the control register of the target analog-to-digital converter; read the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter from the control register of the target analog-to-digital converter; compare the numerical value relationship between the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter, and obtain a comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of each other analog-to-digital converter channel; determine the response data corresponding to the excitation signal according to each comparison result, and output the response data;

[0008] Each of the analog-to-digital converters is used to determine the offset voltage value of each analog-to-digital converter channel after receiving the offset voltage value detection instruction, and store the offset voltage value of each analog-to-digital converter channel in the control register of the analog-to-digital converter.

[0009] The multiplexer is used to randomly select an analog-to-digital converter from each of the analog-to-digital converters as a target analog-to-digital converter after receiving the excitation signal, and send an offset voltage value detection instruction to the target analog-to-digital converter.

[0010] Each of the analog-to-digital converters is provided with N analog-to-digital converter channels;

[0011] Each of the analog-to-digital converters is used to determine the offset voltage values ​​of N analog-to-digital converter channels after receiving an offset voltage value detection instruction, and store the offset voltage values ​​of the N analog-to-digital converter channels in a control register of the analog-to-digital converter.

[0012] The multiplexer is used to read the offset voltage values ​​of N analog-to-digital converter channels in the target analog-to-digital converter from the control register of the target analog-to-digital converter.

[0013] The multiplexer is used to compare the numerical value relationship between the offset voltage values ​​of the N analog-to-digital converter channels in the target analog-to-digital converter according to a preset comparison order, and obtain a comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of other N-1 analog-to-digital converter channels.

[0014] The multiplexer is used to determine the binary data corresponding to each comparison result according to the corresponding relationship between the comparison result and the preset comparison result and the binary data; splice the binary data corresponding to each comparison result to obtain spliced ​​data; determine the spliced ​​data as the response data corresponding to the excitation signal, and output the response data.

[0015] The multiplexer is used to splice the binary data corresponding to each comparison result according to the comparison order of each comparison result to obtain spliced ​​data.

[0016] The multiplexer is used to control the target analog-to-digital converter to re-determine the offset voltage values ​​of the two target analog-to-digital converter channels when it is detected that the offset voltage values ​​of the two target analog-to-digital converter channels in the target analog-to-digital converter are the same.

[0017] According to another aspect of the present invention, a chip is provided, comprising the physical unclonable function circuit described in any embodiment of the present invention.

[0018] According to another aspect of the present invention, an electronic device is provided, comprising the chip described in any embodiment of the present invention.

[0019] In the technical solution of the embodiment of the present invention, after receiving the excitation signal, the multiplexer determines a target analog-to-digital converter among the analog-to-digital converters, sends an offset voltage value detection instruction to the target analog-to-digital converter, so that the target analog-to-digital converter determines the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter, and stores the offset voltage value of each analog-to-digital converter channel in the control register of the target analog-to-digital converter; then the multiplexer reads the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter from the control register of the target analog-to-digital converter; the multiplexer compares the numerical value relationship between the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter, A comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of other analog-to-digital converter channels is obtained; finally, the multiplexer determines the response data corresponding to the excitation signal according to the comparison results, and outputs the response data, thereby solving the problem that the physical unclonable function circuit in the related art is of high complexity and high cost, which limits the application of the physical unclonable function circuit. Unpredictable data can be generated as a response to the excitation signal based on a multiplexer and each analog-to-digital converter in the chip, and the response to the excitation signal is output, which has low complexity, low cost, and is easy to implement, thereby avoiding the limitation of the application of the physical unclonable function circuit.

[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 A schematic diagram of the structure of a physical unclonable function circuit provided by an embodiment of the present invention.

[0023] Figure 2 A schematic diagram of the structure of a physical unclonable function circuit provided by an embodiment of the present invention.

[0024] Figure 3 A schematic diagram of the structure of a chip provided by an embodiment of the present invention.

[0025] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "target", "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprise", "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] Figure 1 The schematic diagram of the structure of a physical unclonable function circuit provided by an embodiment of the present invention. This embodiment is applicable to the case where after other modules in the chip input an excitation signal into the physical unclonable function circuit, the physical unclonable function circuit outputs an unpredictable response by using the random differences of the inherent physical structure. Figure 1 As shown, the physical unclonable function circuit may specifically include: a multiplexer 101 and a preset number of analog-to-digital converters 102, and its structure and function are described below.

[0029] Each analog-to-digital converter 102 is provided with an analog-to-digital converter channel.

[0030] The multiplexer 101 is connected to each analog-to-digital converter 102, and is used to determine a target analog-to-digital converter in each analog-to-digital converter 102 after receiving an excitation signal, send an offset voltage value detection instruction to the target analog-to-digital converter, so that the target analog-to-digital converter determines the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter, and stores the offset voltage value of each analog-to-digital converter channel in the control register of the target analog-to-digital converter; read the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter from the control register of the target analog-to-digital converter; compare the numerical value relationship between the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter, and obtain the comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of each other analog-to-digital converter channel; determine the response data corresponding to the excitation signal according to each comparison result, and output the response data.

[0031] Each analog-to-digital converter 102 is used to determine the offset voltage value of each analog-to-digital converter channel after receiving the offset voltage value detection instruction, and store the offset voltage value of each analog-to-digital converter channel in the control register in the analog-to-digital converter 102.

[0032] Optionally, the physical unclonable function circuit is arranged in the chip. The chip may be a vehicle-standard chip for vehicle control.

[0033] Optionally, the preset number of analog-to-digital converters 102 is a plurality of analog-to-digital converters provided in the chip. The preset number may be an integer greater than or equal to 2. Each analog-to-digital converter 102 may be used to convert analog signals that need to be converted into digital signals input by other modules provided in the chip into digital signals, and output digital signals. Other modules provided in the chip may be any software module or hardware module provided in the chip except the multiplexer 101 and each analog-to-digital converter 102. Multiple analog-to-digital converter channels are provided in each analog-to-digital converter 102. The analog-to-digital converter channel may be a port for receiving analog signals that need to be converted into digital signals input by other modules provided in the chip.

[0034] Optionally, in an ideal state, the voltage value of the analog-to-digital converter channel is equal to the voltage value of the analog signal input to the analog-to-digital converter channel. However, the process differences between the various components in the analog-to-digital converter 102 will cause the analog-to-digital converter channel to always have an offset voltage. The offset voltage is superimposed on the analog signal input to the analog-to-digital converter channel, which brings errors to the signal conversion process of the analog-to-digital converter 102. The voltage value of the offset voltage in the analog-to-digital converter channel is the offset voltage value of each analog-to-digital converter channel. The analog-to-digital converter 102 can detect the offset voltage value of each analog-to-digital converter channel in real time during operation, and correct the voltage value of the analog signal input to each analog-to-digital converter channel according to the offset voltage value of each analog-to-digital converter channel detected. The offset voltage value detected each time is unpredictable.

[0035] Optionally, for each analog-to-digital converter channel, when the analog-to-digital converter 102 controls the analog-to-digital converter channel to be short-circuited to the ground internally, the voltage value of the analog-to-digital converter channel is the offset voltage value of the analog-to-digital converter channel. The analog-to-digital converter 102 can control the analog-to-digital converter channel to be short-circuited to the ground internally, and then measure the voltage value of the analog-to-digital converter channel to obtain the offset voltage value of the analog-to-digital converter channel, and store the offset voltage value of the analog-to-digital converter channel in the control register of the analog-to-digital converter 102. After obtaining the offset voltage value of the analog-to-digital converter channel, the analog-to-digital converter 102 controls the analog-to-digital converter channel to stop being short-circuited to the ground internally, so that the analog-to-digital converter channel resumes a normal working state and can receive analog signals input by other modules set in the chip. The control register of the analog-to-digital converter 102 can be a register set in the analog-to-digital converter 102 for storing the offset voltage values ​​of each analog-to-digital converter channel in the analog-to-digital converter 102. The multiplexer 101 can read the offset voltage values ​​of each analog-to-digital converter channel in each analog-to-digital converter from the control register of each analog-to-digital converter. For each analog-to-digital converter channel, each newly stored offset voltage value of the analog-to-digital converter channel will overwrite the previously stored offset voltage value of the analog-to-digital converter channel.

[0036] Optionally, the multiplexer 101 is connected to each analog-to-digital converter 102. The excitation signal may be a pre-set signal for triggering the physical unclonable function circuit to output an unpredictable response. The excitation signal may be sent by other modules set in the chip. After receiving the excitation signal, the multiplexer 101 determines a target analog-to-digital converter in each analog-to-digital converter 102, sends an offset voltage value detection instruction to the target analog-to-digital converter, so that the target analog-to-digital converter determines the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter, and stores the offset voltage value of each analog-to-digital converter channel in the control register of the target analog-to-digital converter. The target analog-to-digital converter is the analog-to-digital converter that needs to be used in the process of outputting an unpredictable response this time.

[0037] Optionally, the multiplexer 101 is used to randomly select one analog-to-digital converter 102 from each analog-to-digital converter 102 as a target analog-to-digital converter after receiving the excitation signal, and send an offset voltage value detection instruction to the target analog-to-digital converter.

[0038] Optionally, the offset voltage value detection instruction may be a pre-set instruction for instructing the analog-to-digital converter 102 to determine the offset voltage value of each analog-to-digital converter channel in the analog-to-digital converter 102, and store the offset voltage value of each analog-to-digital converter channel in the analog-to-digital converter 102 in a control register in the analog-to-digital converter 102. After receiving the excitation signal, the multiplexer 101 may randomly select an analog-to-digital converter 102 from each analog-to-digital converter 102 as a target analog-to-digital converter, thereby determining a target analog-to-digital converter in each analog-to-digital converter 102, and then send the offset voltage value detection instruction to the target analog-to-digital converter. After receiving the offset voltage value detection instruction, the target analog-to-digital converter will determine the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter, and store the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter in the control register of the target analog-to-digital converter.

[0039] Optionally, each analog-to-digital converter 102 is provided with N analog-to-digital converter channels; each analog-to-digital converter 102 is used to determine the offset voltage values ​​of the N analog-to-digital converter channels after receiving the offset voltage value detection instruction, and store the offset voltage values ​​of the N analog-to-digital converter channels in the control register of the analog-to-digital converter 102. N can be an integer greater than or equal to 2. Exemplarily, N is 8, and each analog-to-digital converter 102 is provided with 8 analog-to-digital converter channels.

[0040] Optionally, the offset voltage values ​​of N analog-to-digital converter channels are determined, and the offset voltage values ​​of the N analog-to-digital converter channels are stored in the control register of the analog-to-digital converter 102, including: performing the following operations for each of the N analog-to-digital converter channels: the analog-to-digital converter 102 controls the analog-to-digital converter channel to be short-circuited to ground internally, measures the voltage value of the analog-to-digital converter channel, obtains the offset voltage value of the analog-to-digital converter channel, and stores the offset voltage value of the analog-to-digital converter channel in the control register of the analog-to-digital converter 102; after obtaining the offset voltage value of the analog-to-digital converter channel, the analog-to-digital converter 102 controls the analog-to-digital converter channel to stop being short-circuited to ground internally, so that the analog-to-digital converter channel resumes a normal working state and can receive analog signals input by other modules set in the chip.

[0041] Optionally, after receiving the offset voltage value detection instruction, the target analog-to-digital converter determines the offset voltage values ​​of N analog-to-digital converter channels in the target analog-to-digital converter, and stores the offset voltage values ​​of the N analog-to-digital converter channels in the target analog-to-digital converter in a control register of the target analog-to-digital converter.

[0042] Optionally, the multiplexer 101 is used to read the offset voltage values ​​of N analog-to-digital converter channels in the target analog-to-digital converter from a control register of the target analog-to-digital converter.

[0043] Optionally, after sending the offset voltage value detection instruction to the target analog-to-digital converter, the multiplexer 101 may wait for a preset time length, and then read the offset voltage values ​​of the N analog-to-digital converter channels in the target analog-to-digital converter from the control register of the target analog-to-digital converter. The preset time length may be a pre-set time length. Normally, the target analog-to-digital converter will complete the operation of determining the offset voltage values ​​of the N analog-to-digital converter channels in the target analog-to-digital converter within a preset time length after the multiplexer 101 sends the offset voltage value detection instruction to the target analog-to-digital converter, and storing the offset voltage values ​​of the N analog-to-digital converter channels in the target analog-to-digital converter in the control register of the target analog-to-digital converter.

[0044] Optionally, the multiplexer 101 is used to compare the numerical size relationship between the offset voltage values ​​of N analog-to-digital converter channels in the target analog-to-digital converter in a preset comparison order, and obtain a comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of other N-1 analog-to-digital converter channels.

[0045] Optionally, under normal circumstances, the offset voltage values ​​of each analog-to-digital converter channel of the analog-to-digital converter 102 are different. Exemplarily, the first analog-to-digital converter channel and the second analog-to-digital converter channel are any two analog-to-digital converter channels of the analog-to-digital converter 102. The numerical magnitude relationship between the offset voltage value of the first analog-to-digital converter channel and the offset voltage value of the second analog-to-digital converter channel is that the offset voltage value of the first analog-to-digital converter channel is less than the offset voltage value of the second analog-to-digital converter channel, or the offset voltage value of the first analog-to-digital converter channel is greater than the offset voltage value of the second analog-to-digital converter channel. Comparing the numerical magnitude relationship between the offset voltage value of the first analog-to-digital converter channel and the offset voltage value of the second analog-to-digital converter channel to obtain a comparison result between the offset voltage value of the first analog-to-digital converter channel and the offset voltage value of the second analog-to-digital converter channel, including: judging whether the offset voltage value of the first analog-to-digital converter channel is smaller than the offset voltage value of the second analog-to-digital converter channel; if the offset voltage value of the first analog-to-digital converter channel is smaller than the offset voltage value of the second analog-to-digital converter channel, that is, the numerical magnitude relationship between the offset voltage value of the first analog-to-digital converter channel and the offset voltage value of the second analog-to-digital converter channel is that the offset voltage value of the first analog-to-digital converter channel is smaller than the offset voltage value of the second analog-to-digital converter channel, then it can be determined that the offset voltage value of the first analog-to-digital converter channel is smaller than the offset voltage value of the second analog-to-digital converter channel. The comparison result between the offset voltage value and the offset voltage value of the second analog-to-digital converter channel is that the offset voltage value of the first analog-to-digital converter channel is smaller than the offset voltage value of the second analog-to-digital converter channel; if the offset voltage value of the first analog-to-digital converter channel is greater than the offset voltage value of the second analog-to-digital converter channel, that is, the numerical relationship between the offset voltage value of the first analog-to-digital converter channel and the offset voltage value of the second analog-to-digital converter channel is that the offset voltage value of the first analog-to-digital converter channel is greater than the offset voltage value of the second analog-to-digital converter channel, then it can be determined that the comparison result between the offset voltage value of the first analog-to-digital converter channel and the offset voltage value of the second analog-to-digital converter channel is that the offset voltage value of the first analog-to-digital converter channel is greater than the offset voltage value of the second analog-to-digital converter channel.

[0046] Optionally, the preset comparison order can be a preset comparison of the numerical magnitude relationship between the offset voltage values ​​of the N analog-to-digital converter channels in the target analog-to-digital converter, and the order of comparison results between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of the other N-1 analog-to-digital converter channels is obtained. The multiplexer 101 compares the numerical magnitude relationship between the offset voltage values ​​of the N analog-to-digital converter channels in the target analog-to-digital converter according to the preset comparison order, and obtains a total of 0.5×N×(N-1) comparison results. The 0.5×N×(N-1) comparison results include the comparison results between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of the other N-1 analog-to-digital converter channels.

[0047] Optionally, in a specific example, N is 8, and 8 analog-to-digital converter channels are provided in the target analog-to-digital converter: analog-to-digital converter channel 1, analog-to-digital converter channel 2, analog-to-digital converter channel 3, analog-to-digital converter channel 4, analog-to-digital converter channel 5, analog-to-digital converter channel 6, analog-to-digital converter channel 7, and analog-to-digital converter channel 8. The preset comparison order is: compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 1 and the offset voltage value of analog-to-digital converter channel 2 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 1 and the offset voltage value of analog-to-digital converter channel 2; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 1 and the offset voltage value of analog-to-digital converter channel 3 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 1 and the offset voltage value of analog-to-digital converter channel 3; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 1 and the offset voltage value of analog-to-digital converter channel 4 to obtain the offset voltage value of analog-to-digital converter channel 1. The comparison result between the voltage value and the offset voltage value of analog-to-digital converter channel 4; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 1 and the offset voltage value of analog-to-digital converter channel 5, and obtain the comparison result between the offset voltage value of analog-to-digital converter channel 1 and the offset voltage value of analog-to-digital converter channel 5; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 1 and the offset voltage value of analog-to-digital converter channel 6, and obtain the comparison result between the offset voltage value of analog-to-digital converter channel 1 and the offset voltage value of analog-to-digital converter channel 6; compare the numerical value between the offset voltage value of analog-to-digital converter channel 1 and the offset voltage value of analog-to-digital converter channel 7 The offset voltage value of analog-to-digital converter channel 1 is compared with the offset voltage value of analog-to-digital converter channel 7; the offset voltage value of analog-to-digital converter channel 1 is compared with the offset voltage value of analog-to-digital converter channel 8, and the offset voltage value of analog-to-digital converter channel 1 is compared with the offset voltage value of analog-to-digital converter channel 8; the offset voltage value of analog-to-digital converter channel 2 is compared with the offset voltage value of analog-to-digital converter channel 3, and the offset voltage value of analog-to-digital converter channel 2 is compared with the offset voltage value of analog-to-digital converter channel 3; the offset voltage value of analog-to-digital converter channel 2 is compared with the offset voltage value of analog-to-digital converter channel 3. Compare the numerical value relationship between the offset voltage values ​​of the analog-to-digital converter channel 4 and the offset voltage value of the analog-to-digital converter channel 4 to obtain the comparison result between the offset voltage value of the analog-to-digital converter channel 2 and the offset voltage value of the analog-to-digital converter channel 4; compare the numerical value relationship between the offset voltage value of the analog-to-digital converter channel 2 and the offset voltage value of the analog-to-digital converter channel 5 to obtain the comparison result between the offset voltage value of the analog-to-digital converter channel 2 and the offset voltage value of the analog-to-digital converter channel 5; compare the numerical value relationship between the offset voltage value of the analog-to-digital converter channel 2 and the offset voltage value of the analog-to-digital converter channel 6 to obtain the comparison result between the offset voltage value of the analog-to-digital converter channel 2 and the offset voltage value of the analog-to-digital converter channel 6;Compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 2 and the offset voltage value of analog-to-digital converter channel 7 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 2 and the offset voltage value of analog-to-digital converter channel 7; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 2 and the offset voltage value of analog-to-digital converter channel 8 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 2 and the offset voltage value of analog-to-digital converter channel 8; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 3 and the offset voltage value of analog-to-digital converter channel 4 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 3 and the offset voltage value of analog-to-digital converter channel 4; Compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 3 and the offset voltage value of analog-to-digital converter channel 5 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 3 and the offset voltage value of analog-to-digital converter channel 5; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 3 and the offset voltage value of analog-to-digital converter channel 6 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 3 and the offset voltage value of analog-to-digital converter channel 6; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 3 and the offset voltage value of analog-to-digital converter channel 7 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 3 and the offset voltage value of analog-to-digital converter channel 7; Compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 3 and the offset voltage value of analog-to-digital converter channel 8 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 3 and the offset voltage value of analog-to-digital converter channel 8; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 4 and the offset voltage value of analog-to-digital converter channel 5 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 4 and the offset voltage value of analog-to-digital converter channel 5; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 4 and the offset voltage value of analog-to-digital converter channel 6 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 4 and the offset voltage value of analog-to-digital converter channel 6; Compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 4 and the offset voltage value of analog-to-digital converter channel 7 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 4 and the offset voltage value of analog-to-digital converter channel 7; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 4 and the offset voltage value of analog-to-digital converter channel 8 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 4 and the offset voltage value of analog-to-digital converter channel 8; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 5 and the offset voltage value of analog-to-digital converter channel 6 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 5 and the offset voltage value of analog-to-digital converter channel 6;Compare the numerical magnitude relationship between the offset voltage value of analog-to-digital converter channel 5 and the offset voltage value of analog-to-digital converter channel 7 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 5 and the offset voltage value of analog-to-digital converter channel 7; compare the numerical magnitude relationship between the offset voltage value of analog-to-digital converter channel 5 and the offset voltage value of analog-to-digital converter channel 8 to obtain a comparison result between the offset voltage value of analog-to-digital converter channel 5 and the offset voltage value of analog-to-digital converter channel 8; compare the numerical magnitude relationship between the offset voltage value of analog-to-digital converter channel 6 and the offset voltage value of analog-to-digital converter channel 7 , obtain the comparison result between the offset voltage value of analog-to-digital converter channel 6 and the offset voltage value of analog-to-digital converter channel 7; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 6 and the offset voltage value of analog-to-digital converter channel 8, and obtain the comparison result between the offset voltage value of analog-to-digital converter channel 6 and the offset voltage value of analog-to-digital converter channel 8; compare the numerical value relationship between the offset voltage value of analog-to-digital converter channel 7 and the offset voltage value of analog-to-digital converter channel 8, and obtain the comparison result between the offset voltage value of analog-to-digital converter channel 7 and the offset voltage value of analog-to-digital converter channel 8. A total of 28 comparison results are obtained. The 28 comparison results include the comparison results between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of the other 7 analog-to-digital converter channels. ;

[0048] Optionally, the multiplexer 101 is used to determine the binary data corresponding to each comparison result according to the corresponding relationship between the comparison result and the preset comparison result and the binary data; splice the binary data corresponding to each comparison result to obtain spliced ​​data; determine the spliced ​​data as response data corresponding to the excitation signal, and output the response data.

[0049] Optionally, a preset correspondence relationship between the comparison result and the binary data is stored in the multiplexer 101. The preset correspondence relationship between the comparison result and the binary data includes each possible comparison result and the binary data corresponding to each possible comparison result. The binary data corresponding to each possible comparison result is 1 or 0.

[0050] Optionally, in a specific example, 8 analog-to-digital converter channels are provided in the target analog-to-digital converter: analog-to-digital converter channel 1, analog-to-digital converter channel 2, analog-to-digital converter channel 3, analog-to-digital converter channel 4, analog-to-digital converter channel 5, analog-to-digital converter channel 6, analog-to-digital converter channel 7 and analog-to-digital converter channel 8. The possible comparison results include: the offset voltage value of analog-to-digital converter channel 1 is less than the offset voltage value of analog-to-digital converter channel 2, the offset voltage value of analog-to-digital converter channel 1 is greater than the offset voltage value of analog-to-digital converter channel 2, the offset voltage value of analog-to-digital converter channel 1 is less than the offset voltage value of analog-to-digital converter channel 3, the offset voltage value of analog-to-digital converter channel 1 is greater than the offset voltage value of analog-to-digital converter channel 3, the offset voltage value of analog-to-digital converter channel 1 is less than the offset voltage value of analog-to-digital converter channel 4, the offset voltage value of analog-to-digital converter channel 1 is greater than the offset voltage value of analog-to-digital converter channel 4, the offset voltage value of analog-to-digital converter channel 1 is less than the offset voltage value of analog-to-digital converter channel 4, and the offset voltage value of analog-to-digital converter channel 1 is less than the offset voltage value of analog-to-digital converter channel 1. The offset voltage value of analog-to-digital converter channel 5 is greater than the offset voltage value of analog-to-digital converter channel 5, the offset voltage value of analog-to-digital converter channel 1 is less than the offset voltage value of analog-to-digital converter channel 6, the offset voltage value of analog-to-digital converter channel 1 is greater than the offset voltage value of analog-to-digital converter channel 6, the offset voltage value of analog-to-digital converter channel 1 is less than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 1 is greater than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 1 is less than the offset voltage value of analog-to-digital converter channel 8, and the offset voltage value of analog-to-digital converter channel 1 is greater than the offset voltage value of analog-to-digital converter channel 8. The offset voltage value of the analog-to-digital converter channel 2 is less than the offset voltage value of the analog-to-digital converter channel 3, the offset voltage value of the analog-to-digital converter channel 2 is greater than the offset voltage value of the analog-to-digital converter channel 3, the offset voltage value of the analog-to-digital converter channel 2 is less than the offset voltage value of the analog-to-digital converter channel 4, the offset voltage value of the analog-to-digital converter channel 2 is greater than the offset voltage value of the analog-to-digital converter channel 4, the offset voltage value of the analog-to-digital converter channel 2 is less than the offset voltage value of the analog-to-digital converter channel 5, the offset voltage value of the analog-to-digital converter channel 2 is greater than the offset voltage value of the analog-to-digital converter channel 5, and the offset voltage value of the analog-to-digital converter channel 2 is less than the offset voltage value of the analog-to-digital converter channel 6. voltage value, the offset voltage value of analog-to-digital converter channel 2 is greater than the offset voltage value of analog-to-digital converter channel 6, the offset voltage value of analog-to-digital converter channel 2 is less than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 2 is greater than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 2 is less than the offset voltage value of analog-to-digital converter channel 8, the offset voltage value of analog-to-digital converter channel 2 is greater than the offset voltage value of analog-to-digital converter channel 8, the offset voltage value of analog-to-digital converter channel 3 is less than the offset voltage value of analog-to-digital converter channel 4, the offset voltage value of analog-to-digital converter channel 3 is greater than the offset voltage value of analog-to-digital converter channel 4,The offset voltage value of analog-to-digital converter channel 3 is less than the offset voltage value of analog-to-digital converter channel 5, the offset voltage value of analog-to-digital converter channel 3 is greater than the offset voltage value of analog-to-digital converter channel 5, the offset voltage value of analog-to-digital converter channel 3 is less than the offset voltage value of analog-to-digital converter channel 6, the offset voltage value of analog-to-digital converter channel 3 is greater than the offset voltage value of analog-to-digital converter channel 6, the offset voltage value of analog-to-digital converter channel 3 is less than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 3 is greater than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 3 is less than the offset voltage value of analog-to-digital converter channel 8, The offset voltage value of analog-to-digital converter channel 3 is greater than the offset voltage value of analog-to-digital converter channel 8, the offset voltage value of analog-to-digital converter channel 4 is less than the offset voltage value of analog-to-digital converter channel 5, the offset voltage value of analog-to-digital converter channel 4 is greater than the offset voltage value of analog-to-digital converter channel 5, the offset voltage value of analog-to-digital converter channel 4 is less than the offset voltage value of analog-to-digital converter channel 6, the offset voltage value of analog-to-digital converter channel 4 is greater than the offset voltage value of analog-to-digital converter channel 6, the offset voltage value of analog-to-digital converter channel 4 is less than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 4 is greater than the offset voltage value of analog-to-digital converter channel 7, The offset voltage value of analog-to-digital converter channel 4 is less than the offset voltage value of analog-to-digital converter channel 8, the offset voltage value of analog-to-digital converter channel 4 is greater than the offset voltage value of analog-to-digital converter channel 8, the offset voltage value of analog-to-digital converter channel 5 is less than the offset voltage value of analog-to-digital converter channel 6, the offset voltage value of analog-to-digital converter channel 5 is greater than the offset voltage value of analog-to-digital converter channel 6, the offset voltage value of analog-to-digital converter channel 5 is less than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 5 is greater than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 5 is less than the offset voltage value of analog-to-digital converter channel 8, The offset voltage value of analog-to-digital converter channel 5 is greater than the offset voltage value of analog-to-digital converter channel 8, the offset voltage value of analog-to-digital converter channel 6 is less than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 6 is greater than the offset voltage value of analog-to-digital converter channel 7, the offset voltage value of analog-to-digital converter channel 6 is less than the offset voltage value of analog-to-digital converter channel 8, the offset voltage value of analog-to-digital converter channel 6 is greater than the offset voltage value of analog-to-digital converter channel 8, the offset voltage value of analog-to-digital converter channel 7 is less than the offset voltage value of analog-to-digital converter channel 8, and the offset voltage value of analog-to-digital converter channel 7 is greater than the offset voltage value of analog-to-digital converter channel 8.

[0051] The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being less than the offset voltage value of analog-to-digital converter channel 2 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being greater than the offset voltage value of analog-to-digital converter channel 2 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being less than the offset voltage value of analog-to-digital converter channel 3 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being greater than the offset voltage value of analog-to-digital converter channel 3 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being less than the offset voltage value of analog-to-digital converter channel 4 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being greater than the offset voltage value of analog-to-digital converter channel 4 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being less than the offset voltage value of analog-to-digital converter channel 5 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being greater than the offset voltage value of analog-to-digital converter channel 5 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being less than the offset voltage value of analog-to-digital converter channel 6 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being greater than the offset voltage value of analog-to-digital converter channel 6 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being less than the offset voltage value of analog-to-digital converter channel 7 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being greater than the offset voltage value of analog-to-digital converter channel 7 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being less than the offset voltage value of analog-to-digital converter channel 8 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 1 being greater than the offset voltage value of analog-to-digital converter channel 8 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being less than the offset voltage value of analog-to-digital converter channel 3 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being greater than the offset voltage value of analog-to-digital converter channel 3 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being less than the offset voltage value of analog-to-digital converter channel 4 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being greater than the offset voltage value of analog-to-digital converter channel 4 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being less than the offset voltage value of analog-to-digital converter channel 5 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being greater than the offset voltage value of analog-to-digital converter channel 5 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being less than the offset voltage value of analog-to-digital converter channel 6 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being greater than the offset voltage value of analog-to-digital converter channel 6 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being less than the offset voltage value of analog-to-digital converter channel 7 is 1.The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being greater than the offset voltage value of analog-to-digital converter channel 7 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being less than the offset voltage value of analog-to-digital converter channel 8 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 2 being greater than the offset voltage value of analog-to-digital converter channel 8 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 3 being less than the offset voltage value of analog-to-digital converter channel 4 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 3 being greater than the offset voltage value of analog-to-digital converter channel 4 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 3 being less than the offset voltage value of analog-to-digital converter channel 5 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 3 being greater than the offset voltage value of analog-to-digital converter channel 5 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 3 being less than the offset voltage value of analog-to-digital converter channel 6 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 3 being greater than the offset voltage value of analog-to-digital converter channel 6 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 3 being less than the offset voltage value of analog-to-digital converter channel 7 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 3 being greater than the offset voltage value of analog-to-digital converter channel 7 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 3 being less than the offset voltage value of analog-to-digital converter channel 8 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 3 being greater than the offset voltage value of analog-to-digital converter channel 8 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 4 being less than the offset voltage value of analog-to-digital converter channel 5 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 4 being greater than the offset voltage value of analog-to-digital converter channel 5 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 4 being less than the offset voltage value of analog-to-digital converter channel 6 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 4 being greater than the offset voltage value of analog-to-digital converter channel 6 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 4 being less than the offset voltage value of analog-to-digital converter channel 7 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 4 being greater than the offset voltage value of analog-to-digital converter channel 7 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 4 being less than the offset voltage value of analog-to-digital converter channel 8 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 4 being greater than the offset voltage value of analog-to-digital converter channel 8 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 5 being less than the offset voltage value of analog-to-digital converter channel 6 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 5 being greater than the offset voltage value of analog-to-digital converter channel 6 is 0.The binary data corresponding to the offset voltage value of analog-to-digital converter channel 5 being less than the offset voltage value of analog-to-digital converter channel 7 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 5 being greater than the offset voltage value of analog-to-digital converter channel 7 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 5 being less than the offset voltage value of analog-to-digital converter channel 8 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 5 being greater than the offset voltage value of analog-to-digital converter channel 8 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 6 being less than the offset voltage value of analog-to-digital converter channel 7 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 6 being greater than the offset voltage value of analog-to-digital converter channel 7 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 6 being less than the offset voltage value of analog-to-digital converter channel 8 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 6 being greater than the offset voltage value of analog-to-digital converter channel 8 is 0. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 7 being less than the offset voltage value of analog-to-digital converter channel 8 is 1. The binary data corresponding to the offset voltage value of analog-to-digital converter channel 7 being greater than the offset voltage value of analog-to-digital converter channel 8 is 0.

[0052] Optionally, according to each comparison result and the correspondence between the preset comparison result and the binary data, determining the binary data corresponding to each comparison result includes: performing the following operations for each comparison result: searching for a target comparison result that is the same as the comparison result in each comparison result in the correspondence between the preset comparison result and the binary data; obtaining the binary data corresponding to the target comparison result, and determining the binary data corresponding to the target comparison result as the binary data corresponding to the comparison result. The target comparison result is the same comparison result as the comparison result being processed. The binary data corresponding to the target comparison result is the binary data corresponding to the comparison result being processed.

[0053] Optionally, the multiplexer 101 is used to splice the binary data corresponding to each comparison result according to the comparison order of each comparison result to obtain spliced ​​data.

[0054] Optionally, according to the comparison order of each comparison result, the binary data corresponding to each comparison result is spliced ​​to obtain spliced ​​data, including: sorting the binary data corresponding to each comparison result according to the comparison order of each comparison result; and splicing the sorted binary data corresponding to each comparison result to obtain spliced ​​data.

[0055] Optionally, the comparison order of each comparison result is to determine the order of precedence of each comparison result. According to the comparison order of each comparison result, the binary data corresponding to each comparison result is sorted. The binary data corresponding to the comparison result determined first is arranged in front. The binary data corresponding to the comparison result determined later is arranged in the back. The binary data corresponding to the first determined comparison result is arranged in the first place. The binary data corresponding to the last determined comparison result is arranged in the last place. The multiplexer 101 splices the sorted binary data corresponding to each comparison result to obtain spliced ​​data, and then determines the spliced ​​data as the response data corresponding to the excitation signal, and outputs the response data.

[0056] Optionally, the response data corresponding to the excitation signal is an unpredictable data determined after receiving the excitation signal, which is a response to the excitation signal. The offset voltage values ​​of the N analog-to-digital converter channels in the target analog-to-digital converter read by the multiplexer 101 from the control register of the target analog-to-digital converter are unpredictable data. Accordingly, the comparison results obtained by comparing the numerical magnitude relationship between the offset voltage values ​​of the analog-to-digital converter channels in the target analog-to-digital converter are unpredictable, and the binary data corresponding to the comparison results are unpredictable. The spliced ​​data obtained by splicing the binary data corresponding to the comparison results is an unpredictable data, which can be used as a response to the excitation signal.

[0057] Optionally, in a specific example, the target analog-to-digital converter is provided with 8 analog-to-digital converter channels: analog-to-digital converter channel 1, analog-to-digital converter channel 2, analog-to-digital converter channel 3, analog-to-digital converter channel 4, analog-to-digital converter channel 5, analog-to-digital converter channel 6, analog-to-digital converter channel 7 and analog-to-digital converter channel 8. The multiplexer 101 reads the offset voltage values ​​of the 8 analog-to-digital converter channels in the target analog-to-digital converter from the control register of the target analog-to-digital converter, and then compares the numerical magnitude relationship between the offset voltage values ​​of the 8 analog-to-digital converter channels in the target analog-to-digital converter according to a preset comparison order, and obtains a total of 28 comparison results. The multiplexer 101 determines the binary data corresponding to each of the 28 comparison results according to the 28 comparison results and the corresponding relationship between the preset comparison results and the binary data. The binary data corresponding to each comparison result is 1 or 0. The multiplexer 101 splices the binary data corresponding to each comparison result to obtain spliced ​​data. The spliced ​​data is an unpredictable 28-bit binary data, which can be used as a response to the excitation signal. The multiplexer 101 determines the spliced ​​data as response data corresponding to the excitation signal, and outputs the response data.

[0058] Optionally, outputting the response data includes: sending the response data to other modules provided in the chip that sends the excitation signal.

[0059] Optionally, the multiplexer 101 is used to control the target analog-to-digital converter to redetermine the offset voltage values ​​of the two target analog-to-digital converter channels when it is detected that the offset voltage values ​​of the two target analog-to-digital converter channels in the target analog-to-digital converter are the same.

[0060] Optionally, the two target analog-to-digital converter channels can be any two analog-to-digital converter channels with the same offset voltage value detected by the multiplexer 101 in the process of comparing the numerical magnitude relationship between the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter. When the multiplexer 101 detects that the offset voltage values ​​of the two target analog-to-digital converter channels in the target analog-to-digital converter are the same, it will control the target analog-to-digital converter to re-determine the offset voltage values ​​of the two target analog-to-digital converter channels. Controlling the target analog-to-digital converter to re-determine the offset voltage values ​​of the two target analog-to-digital converter channels includes: sending an offset voltage value detection instruction to the target analog-to-digital converter so that the target analog-to-digital converter re-determines the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter, and storing the new offset voltage values ​​of each analog-to-digital converter channel in the control register of the target analog-to-digital converter; waiting for a preset time, and then reading the new offset voltage values ​​of the two target analog-to-digital converter channels from the control register of the target analog-to-digital converter, and continuing to perform the operation of comparing the numerical magnitude relationship between the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter.

[0061] In the technical solution of the embodiment of the present invention, after receiving the excitation signal, the multiplexer determines a target analog-to-digital converter among the analog-to-digital converters, sends an offset voltage value detection instruction to the target analog-to-digital converter, so that the target analog-to-digital converter determines the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter, and stores the offset voltage value of each analog-to-digital converter channel in the control register of the target analog-to-digital converter; then the multiplexer reads the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter from the control register of the target analog-to-digital converter; the multiplexer compares the numerical value relationship between the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter, A comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of other analog-to-digital converter channels is obtained; finally, the multiplexer determines the response data corresponding to the excitation signal according to the comparison results, and outputs the response data, thereby solving the problem that the physical unclonable function circuit in the related art is of high complexity and high cost, which limits the application of the physical unclonable function circuit. Unpredictable data can be generated as a response to the excitation signal based on a multiplexer and each analog-to-digital converter in the chip, and the response to the excitation signal is output, which has low complexity, low cost, and is easy to implement, thereby avoiding the limitation of the application of the physical unclonable function circuit.

[0062] Figure 2 The schematic diagram of the structure of a physical unclonable function circuit provided by an embodiment of the present invention. The embodiment of the present invention can be combined with each optional solution in one or more of the above embodiments. Figure 2 As shown, the physical unclonable function circuit may specifically include: a multiplexer 201 and two analog-to-digital converters 202, and the structure and function thereof are described below.

[0063] Each analog-to-digital converter 202 is provided with an analog-to-digital converter channel.

[0064] The multiplexer 201 is connected to each analog-to-digital converter 202, and is used to determine a target analog-to-digital converter in each analog-to-digital converter 202 after receiving the excitation signal, send an offset voltage value detection instruction to the target analog-to-digital converter, so that the target analog-to-digital converter determines the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter, and stores the offset voltage value of each analog-to-digital converter channel in the control register of the target analog-to-digital converter; read the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter from the control register of the target analog-to-digital converter; compare the numerical value relationship between the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter, and obtain the comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of each other analog-to-digital converter channel; determine the response data corresponding to the excitation signal according to each comparison result, and output the response data.

[0065] Each analog-to-digital converter 202 is used to determine the offset voltage value of each analog-to-digital converter channel after receiving the offset voltage value detection instruction, and store the offset voltage value of each analog-to-digital converter channel in the control register in the analog-to-digital converter 202.

[0066] The multiplexer 201 is used to randomly select one analog-to-digital converter from each analog-to-digital converter 202 as a target analog-to-digital converter after receiving the excitation signal, and send an offset voltage value detection instruction to the target analog-to-digital converter.

[0067] Each analog-to-digital converter 202 is provided with N analog-to-digital converter channels. Each analog-to-digital converter 202 is used to determine the offset voltage values ​​of the N analog-to-digital converter channels after receiving the offset voltage value detection instruction, and store the offset voltage values ​​of the N analog-to-digital converter channels in the control register in the analog-to-digital converter 202.

[0068] The multiplexer 201 is used to read the offset voltage values ​​of N analog-to-digital converter channels in the target analog-to-digital converter from the control register of the target analog-to-digital converter.

[0069] The multiplexer 201 is used to compare the numerical magnitude relationship between the offset voltage values ​​of the N analog-to-digital converter channels in the target analog-to-digital converter according to a preset comparison order, and obtain a comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of the other N-1 analog-to-digital converter channels.

[0070] The multiplexer 201 is used to determine the binary data corresponding to each comparison result according to the corresponding relationship between each comparison result and the preset comparison result and the binary data; splice the binary data corresponding to each comparison result to obtain spliced ​​data; determine the spliced ​​data as the response data corresponding to the excitation signal, and output the response data.

[0071] The multiplexer 201 is used to splice the binary data corresponding to each comparison result according to the comparison order of each comparison result to obtain spliced ​​data.

[0072] The multiplexer 201 is used to control the target analog-to-digital converter to re-determine the offset voltage values ​​of the two target analog-to-digital converter channels when it is detected that the offset voltage values ​​of the two target analog-to-digital converter channels in the target analog-to-digital converter are the same.

[0073] In the technical solution of the embodiment of the present invention, an unpredictable data can be generated as a response to an excitation signal based on a multiplexer and two analog-to-digital converters in a chip, and the response to the excitation signal can be output, which has low complexity, low cost, and is easy to implement, avoiding limitations on the application of physical unclonable function circuits.

[0074] Figure 3 A schematic diagram of the structure of a chip provided by an embodiment of the present invention. Figure 3 As shown, the chip 301 includes a physical unclonable function circuit 302. The physical unclonable function circuit 302 is arranged in the chip 301. The chip 301 may be a vehicle-standard chip for vehicle control.

[0075] The physical unclonable function circuit 302 includes: a multiplexer and a preset number of analog-to-digital converters. Each analog-to-digital converter is provided with an analog-to-digital converter channel; the multiplexer is connected to each of the analog-to-digital converters, and is used to determine a target analog-to-digital converter in each of the analog-to-digital converters after receiving an excitation signal, send an offset voltage value detection instruction to the target analog-to-digital converter, so that the target analog-to-digital converter determines the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter, and stores the offset voltage value of each analog-to-digital converter channel in the control register of the target analog-to-digital converter; read the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter from the control register of the target analog-to-digital converter; compare the numerical value relationship between the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter, and obtain the comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of each other analog-to-digital converter channel; determine the response data corresponding to the excitation signal according to each comparison result, and output the response data. Each of the analog-to-digital converters is used to determine the offset voltage value of each analog-to-digital converter channel after receiving the offset voltage value detection instruction, and store the offset voltage value of each analog-to-digital converter channel in the control register of the analog-to-digital converter.

[0076] In the technical solution of the embodiment of the present invention, the physical unclonable function circuit set in the chip can generate unpredictable data as a response to the excitation signal based on a multiplexer and each analog-to-digital converter in the chip, and output the response to the excitation signal. It has low complexity, low cost, and is easy to implement, avoiding the limitation of the application of the physical unclonable function circuit.

[0077] Figure 4 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, electronic device 401 includes chip 402. Chip 402 includes physical unclonable function circuit 403.

[0078] The physical unclonable function circuit 403 includes: a multiplexer and a preset number of analog-to-digital converters. Each analog-to-digital converter is provided with an analog-to-digital converter channel; the multiplexer is connected to each of the analog-to-digital converters, and is used to determine a target analog-to-digital converter in each of the analog-to-digital converters after receiving an excitation signal, send an offset voltage value detection instruction to the target analog-to-digital converter, so that the target analog-to-digital converter determines the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter, and stores the offset voltage value of each analog-to-digital converter channel in the control register of the target analog-to-digital converter; read the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter from the control register of the target analog-to-digital converter; compare the numerical value relationship between the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter, and obtain the comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of each other analog-to-digital converter channel; determine the response data corresponding to the excitation signal according to each comparison result, and output the response data. Each of the analog-to-digital converters is used to determine the offset voltage value of each analog-to-digital converter channel after receiving the offset voltage value detection instruction, and store the offset voltage value of each analog-to-digital converter channel in the control register of the analog-to-digital converter.

[0079] The electronic device may include at least one processor, and a memory connected to the at least one processor in communication, such as a read-only memory (ROM), a random access memory (RAM), etc., wherein the memory stores a computer program executed by at least one processor, and the processor can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) or the computer program built from the storage unit into the random access memory (RAM). In the random access memory (RAM), various programs and data required for the operation of the electronic device can also be stored. The processor, the read-only memory (ROM) and the random access memory (RAM) are connected to each other via a bus. The input / output (I / O) interface is also connected to the bus.

[0080] Many components in an electronic device are connected to an input / output (I / O) interface, including: input units, such as keyboards, mice, etc.; output units, such as various types of displays, speakers, etc.; storage units, such as disks, optical disks, etc.; and communication units, such as network cards, modems, wireless communication transceivers, etc. The communication unit allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0081] The processor can be a variety of general and / or special processing components with processing and computing capabilities. Some examples of processors include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc.

[0082] In the technical solution of the embodiment of the present invention, a physical unclonable function circuit arranged in a chip included in an electronic device can generate unpredictable data as a response to an excitation signal based on a multiplexer and various analog-to-digital converters in the chip, and output a response to the excitation signal. It has low complexity, low cost, and is easy to implement, thus avoiding limitations on the application of the physical unclonable function circuit.

[0083] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0084] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A physically unclonable function circuit, characterized in that: include: a multiplexer and a preset number of analog-to-digital converters; Wherein, each analog-to-digital converter is provided with an analog-to-digital converter channel; The multiplexer is connected to each of the analog-to-digital converters, and is used to determine a target analog-to-digital converter among each of the analog-to-digital converters after receiving an excitation signal, send an offset voltage value detection instruction to the target analog-to-digital converter, so that the target analog-to-digital converter determines the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter, and stores the offset voltage value of each analog-to-digital converter channel in the control register of the target analog-to-digital converter; read the offset voltage value of each analog-to-digital converter channel in the target analog-to-digital converter from the control register of the target analog-to-digital converter; compare the numerical value relationship between the offset voltage values ​​of each analog-to-digital converter channel in the target analog-to-digital converter, and obtain a comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of each other analog-to-digital converter channel; determine the response data corresponding to the excitation signal according to each comparison result, and output the response data; Each of the analog-to-digital converters is used to determine the offset voltage value of each analog-to-digital converter channel after receiving the offset voltage value detection instruction, and store the offset voltage value of each analog-to-digital converter channel in the control register of the analog-to-digital converter.

2. The physical unclonable function circuit according to claim 1, characterized in that: The multiplexer is used to randomly select an analog-to-digital converter from each of the analog-to-digital converters as a target analog-to-digital converter after receiving the excitation signal, and send an offset voltage value detection instruction to the target analog-to-digital converter.

3. The physical unclonable function circuit according to claim 1, characterized in that: Each of the analog-to-digital converters is provided with N analog-to-digital converter channels; Each of the analog-to-digital converters is used to determine the offset voltage values ​​of N analog-to-digital converter channels after receiving an offset voltage value detection instruction, and store the offset voltage values ​​of the N analog-to-digital converter channels in a control register of the analog-to-digital converter.

4. The physical unclonable function circuit according to claim 3, characterized in that: The multiplexer is used to read the offset voltage values ​​of N analog-to-digital converter channels in the target analog-to-digital converter from the control register of the target analog-to-digital converter.

5. The physical unclonable function circuit according to claim 4, characterized in that: The multiplexer is used to compare the numerical value relationship between the offset voltage values ​​of the N analog-to-digital converter channels in the target analog-to-digital converter according to a preset comparison order, and obtain a comparison result between the offset voltage value of each analog-to-digital converter channel and the offset voltage values ​​of other N-1 analog-to-digital converter channels.

6. The physical unclonable function circuit according to claim 5, characterized in that: The multiplexer is used to determine the binary data corresponding to each comparison result according to each comparison result and a preset correspondence relationship between the comparison result and the binary data; Binary data corresponding to each comparison result are spliced ​​to obtain spliced ​​data; the spliced ​​data is determined as response data corresponding to the excitation signal, and the response data is output.

7. The physical unclonable function circuit according to claim 6, characterized in that: The multiplexer is used to splice the binary data corresponding to each comparison result according to the comparison order of each comparison result to obtain spliced ​​data.

8. The physical unclonable function circuit according to claim 1, characterized in that: The multiplexer is used to control the target analog-to-digital converter to re-determine the offset voltage values ​​of the two target analog-to-digital converter channels when it is detected that the offset voltage values ​​of the two target analog-to-digital converter channels in the target analog-to-digital converter are the same.

9. A chip, characterized in that: Comprising a physical unclonable function circuit as described in any one of claims 1-8.

10. An electronic device, characterized in that: Comprising the chip as claimed in claim 9.