Multi-channel synchronous sampling SAR ADC device and method

By designing a multi-channel synchronous sampling SAR ADC device, the multi-channel tracking and holding circuit corresponds to an analog-to-digital converter, the optimization of resource occupancy and power consumption of traditional analog-to-digital converters is solved, and the problem of excessive resource occupancy and power consumption of traditional analog-to-digital converters is solved.

CN119865180APending Publication Date: 2025-04-22BEIJING TONGFANG MICROELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411938652.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

Traditional multi-channel synchronous sampling analog-to-digital converters require a complete analog-to-digital converter to occupy a large amount of resource usage and power consumption.

Method used

Design a multi-channel synchronous sampling SAR ADC device, including a tracking and holding module, an analog-to-digital converter and a controller. By corresponding to an analog-to-digital converter through the multi-tracking and holding circuit, the controller realizes the opening and end of the synchronous sampling of the multi-tracking and holding circuit, and switches the multi-tracking and holding circuit to conduct the analog-to-digital converter one by one, realizing analog-to-digital conversion.

Benefits of technology

Through this method, an analog-to-digital converter can process the output signals of the multi-tracking and holding circuit in turn, reducing the circuit scale and saving power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865180A_ABST
    Figure CN119865180A_ABST
Patent Text Reader

Abstract

The invention provides a multi-channel synchronous sampling SARADC device and method, and relates to the technical field of electronics. The output ends of a plurality of paths of tracking and holding circuits are connected with an analog-to-digital converter; the input end of the controller is connected with the output end of the analog-to-digital converter, and the output end of the controller is connected with the multi-path tracking and holding circuit and the analog-to-digital converter; the analog-to-digital converter responds to a first signal sent by the target tracking and holding circuit, converts the first signal, obtains a conversion result and sends the conversion result to the controller; the controller is used for controlling the target number of tracking and holding circuits to start synchronous sampling and end; and switching the target number of tracking and holding circuits one by one to be conducted with the analog-to-digital converter, so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit to obtain a corresponding conversion result. Thus, the analog-to-digital converter sequentially converts the analog signals output by the multiple paths of tracking and holding circuits, the circuit scale is reduced, and power consumption is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a multi-channel synchronous sampling SAR ADC device and method. Background Art

[0002] With the advancement of intelligence, the demand for information collection from sensors has increased rapidly, and as a result, the demand for analog-to-digital converters has become increasingly greater. In traditional multi-channel synchronous sampling analog-to-digital sensors, each analog quantity requires a complete analog-to-digital converter. Setting up a large number of analog-to-digital converter modules takes up a lot of resources and generates a lot of power consumption. Summary of the invention

[0003] In view of this, the present application provides a multi-channel synchronous sampling SAR ADC device and method, aiming to reduce analog-to-digital converter modules and reduce power consumption.

[0004] In a first aspect, the present application provides a multi-channel synchronous sampling SAR ADC device, comprising: a tracking and holding module, an analog-to-digital converter, and a controller;

[0005] The output end of the tracking and holding module is connected to the input end of the analog-to-digital converter, the tracking and holding module includes a multi-channel tracking and holding circuit, the input end of the tracking and holding circuit is a sampling end, and the output ends of the multi-channel tracking and holding circuits are all connected to the analog-to-digital converter; the input end of the controller is connected to the output end of the analog-to-digital converter, and the output end of the controller is connected to the tracking and holding module and the analog-to-digital converter;

[0006] The analog-to-digital converter is used to respond to a first signal sent by a target tracking and holding circuit, convert the first signal, obtain a conversion result and send the conversion result to the controller, and the target tracking and holding circuit is one of the multiple tracking and holding circuits;

[0007] The controller is used to control the target number of tracking and holding circuits to start synchronous sampling, and after a target time, control the target number of tracking and holding circuits to end the synchronous sampling; and switch the target number of tracking and holding circuits to conduction with the analog-to-digital converter one by one, so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit to obtain a corresponding conversion result.

[0008] Optionally, the multi-channel tracking and holding circuits are connected to a corresponding analog-to-digital converter.

[0009] Optionally, the tracking and holding module package further includes a post multiplexer, and the analog-to-digital conversion module includes a comparator;

[0010] The output ends of the multi-channel tracking and holding circuits are all connected to the post-multiplexer, and the output end of the post-multiplexer is connected to the comparator;

[0011] The controller is specifically used to send a conversion selection signal to the post-multiplexer, so that the target tracking and holding circuit indicated by the conversion selection signal is turned on with the analog-to-digital converter.

[0012] Optionally, the conversion result includes conversion data and an end signal of completing the conversion;

[0013] The controller is specifically used to respond to an end signal in a conversion result output by the analog-to-digital converter, store conversion data in the conversion result, and switch the next tracking and holding circuit as a new target tracking and holding circuit to be connected to the analog-to-digital converter, so that the analog-to-digital converter converts the first signal sent by the new target tracking and holding circuit.

[0014] Optionally, the track-and-hold circuit includes a sampling switch and a CDAC, wherein the output end of the sampling switch is connected to the input end of the CDAC, and the output end of the CDAC is connected to the input end of the analog-to-digital converter.

[0015] Optionally, the tracking and holding module further includes a pre-multiplexer,

[0016] The input end of the tracking and holding circuit is connected to the output end of the pre-multiplexer, and the pre-multiplexer includes a plurality of sampling input ends.

[0017] Optionally, the controller is specifically used to send a sampling selection signal to the pre-multiplexer included in the target number of tracking and holding circuits, and send a sampling signal to the sampling switch included in the target number of tracking and holding circuits, so that each of the pre-multiplexers determines a corresponding sampling channel according to the sampling input end indicated by the corresponding sampling selection signal, and each of the sampling switches is closed in response to the corresponding sampling signal to make the corresponding sampling channel enter the sampling state and start sampling; after the target time, send a disconnection signal to the sampling switches included in the target number of tracking and holding circuits, so that each sampling switch responds to the corresponding disconnection signal to make the corresponding sampling channel enter the holding state to end sampling; send a conversion selection signal to the post-multiplexer, so that the post-multiplexer is connected to the analog-to-digital converter according to the sampling channel indicated by the conversion selection signal, so that the sampling channel enters the conversion state, responds to the end signal in the conversion result fed back by the analog-to-digital converter, stores the conversion data in the conversion result, and sends a new conversion selection signal to the post-multiplexer, so that the post-multiplexer is connected to the analog-to-digital converter according to the sampling channel indicated by the new conversion selection signal, so that the sampling channel enters the conversion state.

[0018] Optionally, the analog-to-digital converter further includes a SAR logic module, a clock generation module and a reference voltage generation module;

[0019] The first input end of the comparator is connected to the reference voltage generation module, the second input end of the comparator is connected to the output end of the post-multiplexer, the output end of the comparator is connected to the SAR logic module, the output end of the SAR logic module is connected to the input end of the controller, and the output end of the SAR logic module outputs the conversion result; the output end of the controller is connected to the clock generation module, and the output end of the clock generation module is connected to the pre-multiplexer, the sampling switch, the post-multiplexer, the comparator and the SAR logic module.

[0020] In a second aspect, the present application also provides a multi-channel synchronous sampling SAR ADC control method, an analog-to-digital converter and a tracking and holding module, wherein the tracking and holding module includes a multi-channel tracking and holding circuit, and the output ends of the multi-channel tracking and holding circuits are all connected to the input ends of the analog-to-digital converter, and the method includes:

[0021] Controlling a target number of tracking and holding circuits to start synchronous sampling, and controlling the target number of tracking and holding circuits to end the synchronous sampling after a target time;

[0022] The target number of tracking and holding circuits are switched on and off with the analog-to-digital converter one by one, so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit to obtain a corresponding conversion result.

[0023] Optionally, the conversion result includes conversion data and an end signal of completing the conversion;

[0024] The step of switching the target number of tracking and holding circuits to be turned on with the analog-to-digital converter one by one so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit includes: responding to an end signal in a conversion result output by the analog-to-digital converter, storing conversion data in the conversion result, and switching the next tracking and holding circuit to be turned on with the analog-to-digital converter so that the analog-to-digital converter converts the first signal sent by the tracking and holding circuit.

[0025] In a third aspect, the present application provides an electronic device, which adopts a multi-channel synchronous sampling SAR ADC device as described in any one of the above.

[0026] The present application provides a multi-channel synchronous sampling SAR ADC device and method, comprising: a tracking and holding module, an analog-to-digital converter and a controller; the output end of the tracking and holding module is connected to the input end of the analog-to-digital converter, the tracking and holding module comprises a multi-channel tracking and holding circuit, the input end of the tracking and holding circuit is a sampling end, and the output ends of the multi-channel tracking and holding circuits are all connected to the analog-to-digital converter; the input end of the controller is connected to the output end of the analog-to-digital converter, and the output end of the controller is connected to the tracking and holding module and the analog-to-digital converter; the analog-to-digital converter is used to respond to a first signal sent by a target tracking and holding circuit, convert the first signal, obtain a conversion result and send the conversion result to the controller, and the target tracking and holding circuit is one of the multi-channel tracking and holding circuits; the controller is used to control the target number of tracking and holding circuits to start synchronous sampling, and after a target time, control the target number of tracking and holding circuits to end the synchronous sampling; the target number of tracking and holding circuits are switched on with the analog-to-digital converter one by one, so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit to obtain a corresponding conversion result. The synchronous sampling start and end of the multi-channel tracking and holding circuits are realized by the controller, and the multi-channel tracking and holding circuits are switched on with the analog-to-digital converters one by one, and the first signal sampled and output by each tracking and holding circuit is converted by the analog-to-digital converter, so as to obtain the conversion results outputted sequentially by the analog-to-digital converters. In this way, the multi-channel tracking and holding circuits correspond to one analog-to-digital converter, and one analog-to-digital converter sequentially converts the analog signals outputted by the multi-channel tracking and holding circuits, thereby reducing the circuit scale and saving power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 A schematic diagram of the structure of a multi-channel synchronous sampling SAR ADC device provided in an embodiment of the present application;

[0029] Figure 2 A schematic diagram of the specific structure of a multi-channel synchronous sampling SAR ADC device provided in an embodiment of the present application;

[0030] Figure 3 A schematic diagram of the control principle of the track-and-hold circuit provided in an embodiment of the present application;

[0031] Figure 4 A schematic diagram of a multi-channel conversion state provided in an embodiment of the present application;

[0032] Figure 5 A flowchart of a multi-channel synchronous sampling SAR ADC control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] With the advancement of intelligent technology, such as vehicle intelligence, the number of sensors on automobiles is gradually increasing, and the analog quantities that need to be converted are increasing. The demand and power consumption of analog-to-digital converters are also increasing. Compared with traditional multi-channel synchronous sampling analog-to-digital converters, each analog quantity occupies a complete analog-to-digital converter module, but a large number of sensor signals do not all need to be measured in real time. A large number of analog-to-digital converters cause a large amount of resource occupation and power consumption.

[0034] Based on the above problems, the present application provides a multi-channel synchronous sampling SAR ADC device, including: a tracking and holding module, an analog-to-digital converter and a controller; the output end of the tracking and holding module is connected to the input end of the analog-to-digital converter, the tracking and holding module includes a multi-channel tracking and holding circuit, the input end of the tracking and holding circuit is a sampling end, and the output end of the multi-channel tracking and holding circuit is connected to an analog-to-digital converter; the input end of the controller is connected to the output end of the analog-to-digital converter, and the output end of the controller is connected to the multi-channel tracking and holding circuit and the analog-to-digital converter; the synchronous sampling of the multi-channel tracking and holding circuit is started and ended by the controller, and the multi-channel tracking and holding circuit and the analog-to-digital converter are switched on one by one, and the first signal sampled and output by each tracking and holding circuit is converted by the analog-to-digital converter, so as to obtain the conversion results outputted sequentially by the analog-to-digital converter. In this way, a multi-channel tracking and holding circuit corresponds to an analog-to-digital converter, and an analog-to-digital converter is realized to convert the analog signals outputted by the multi-channel tracking and holding circuit in sequence, thereby reducing the circuit scale and saving power consumption.

[0035] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0036] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure 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 terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0037] Unless otherwise stated, the term "plurality" means two or more.

[0038] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0039] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0041] See also Figure 1 , Figure 1 A schematic diagram of the structure of a multi-channel synchronous sampling SAR ADC device provided in an embodiment of the present application, a multi-channel synchronous sampling SAR ADC device, characterized in that it includes: a tracking and holding module, an analog-to-digital converter and a controller;

[0042] The output end of the tracking and holding module is connected to the input end of the analog-to-digital converter, the tracking and holding module includes a multi-channel tracking and holding circuit, the input end of the tracking and holding circuit is a sampling end, and the output ends of the multi-channel tracking and holding circuits are all connected to the analog-to-digital converter; the input end of the controller is connected to the output end of the analog-to-digital converter, and the output end of the controller is connected to the tracking and holding module and the analog-to-digital converter.

[0043] The main function of the Track-and-Hold Circuit (T&H) is to sample the input analog signal at a specific moment, and then hold the sampled analog signal for a period of time so that subsequent circuits (such as analog-to-digital converters, etc.) can process this stable signal.

[0044] The analog-to-digital converter is used to respond to a first signal sent by a target tracking and holding circuit, convert the first signal, obtain a conversion result and send the conversion result to the controller, and the target tracking and holding circuit is one of the multiple tracking and holding circuits.

[0045] The analog converter converts the analog signal into a digital signal.

[0046] Optionally, the analog converter here adopts a successive approximation analog-to-digital converter.

[0047] The controller is used to control the target number of tracking and holding circuits to start synchronous sampling, and after a target time, control the target number of tracking and holding circuits to end the synchronous sampling; and switch the target number of tracking and holding circuits to conduction with the analog-to-digital converter one by one, so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit to obtain a corresponding conversion result.

[0048] The target number is less than or equal to the number of track-and-hold circuits connected to the analog-to-digital converter.

[0049] Based on the above device, the controller can control the target number of tracking and holding circuits to realize synchronous sampling, realize the start and end of synchronous sampling of the target number of tracking and holding circuits through the controller, and switch the target number of tracking and holding circuits and the analog-to-digital converter one by one, and convert the first signal sampled and output by each tracking and holding circuit in the target number of tracking and holding circuits through the analog-to-digital converter, so as to obtain the conversion results outputted sequentially by the analog-to-digital converter. In this way, multiple tracking and holding circuits correspond to one analog-to-digital converter, and one analog-to-digital converter can realize the conversion of analog signals outputted by multiple tracking and holding circuits sequentially, thereby reducing the circuit scale and saving power consumption.

[0050] Based on the above embodiment, the above conversion result may include conversion data and an end signal of completing the conversion. The above controller may be specifically used to respond to the end signal in the conversion result output by the analog-to-digital converter, store the conversion data in the conversion result, and switch the next tracking and holding circuit as a new target tracking and holding circuit to be connected to the analog-to-digital converter, so that the analog-to-digital converter converts the first signal sent by the new target tracking and holding circuit.

[0051] Exemplarily, after the controller controls the target number of tracking and holding circuits to complete sampling, the controller controls the first tracking and holding circuit in the target number of tracking and holding circuits to be turned on with the analog-to-digital converter according to a preset conversion sequence, converts the first signal output by the first tracking and holding circuit through the analog-to-digital converter to obtain a conversion result and feeds it back to the controller. In response to an end signal in the conversion result, the controller stores the conversion data in the conversion result, and controls the second tracking and holding circuit in the target number of tracking and holding circuits to be turned on with the analog-to-digital converter according to the above conversion sequence, converts the first signal output by the second tracking and holding circuit through the analog-to-digital converter to obtain a new conversion result and feeds it back to the controller. In this way, the controller sequentially switches the first signal output by the target number of tracking and holding circuits to be turned on with the analog-to-digital converter for conversion.

[0052] Based on the above embodiment, the multiple tracking and holding circuits can be connected to an analog-to-digital converter to realize that the analog-to-digital converter sequentially converts the analog signals output by the multiple tracking and holding circuits, thereby reducing the circuit scale and saving power consumption. Figure 2 The specific structural diagram of a multi-channel synchronous sampling SAR ADC device shown in the figure, the specific implementation method of the controller sequentially switching the first signal output by the target number of tracking and holding circuits to be turned on by the analog-to-digital converter can be:

[0053] The tracking and holding module package also includes a post multiplexer, and the analog-to-digital conversion module includes a comparator; the output ends of the multi-channel tracking and holding circuits are all connected to the post multiplexer, and the output end of the post multiplexer is connected to the comparator.

[0054] The controller is specifically used to send a conversion selection signal to the post-multiplexer to make the target tracking and holding circuit indicated by the conversion selection signal and the comparator in the analog-to-digital converter conduct.

[0055] The above-mentioned multiplexer (MUX for short) is a data selector that can select one signal output from a plurality of input signals (output signals of the target number of tracking and holding circuits in this application).

[0056] Based on the above embodiment, the track-and-hold circuit includes a sampling switch and a capacitive digital-to-analog converter CDAC, the output end of the sampling switch is connected to the input end of the CDAC, and the output end of the CDAC is connected to the input end of the analog-to-digital converter.

[0057] The controller can send a sampling signal to the sampling switch of the tracking and holding circuit, control the sampling switch to close and open to make the tracking and holding circuit enter the sampling state, send a disconnection signal to the sampling switch of the tracking and holding circuit, control the sampling switch to disconnect to end the sampling state of the tracking sampling circuit.

[0058] Based on the above embodiment, the tracking and holding module further includes a pre-multiplexer.

[0059] The input end of the sampling switch is connected to the output end of the pre-multiplexer, and the pre-multiplexer includes a plurality of sampling input ends.

[0060] The above-mentioned pre-multiplexer includes a plurality of sampling input terminals, and the sampling input terminals can be connected to sampling points to obtain sampling signals.

[0061] The controller may send a sampling selection signal to a pre-multiplexer of the tracking and holding circuit. The pre-multiplexer responds to the sampling selection signal and performs sampling through a sampling input terminal indicated by the sampling selection signal.

[0062] For example, see Figure 2 The device shown includes a tracking and holding module, an analog-to-digital converter and a controller, wherein the tracking and holding module includes a post multiplexer (such as Figure 2 MUXn in), n-way tracking and holding circuit (such as Figure 2 T&H1, T&H2...T&H n-1 , T&H n ) and the pre-multiplexer connected to the input of each track-and-hold circuit (such as Figure 2 Connect MUXm-1 to the input of T&H1, MUXm-2 to the input of T&H2, and so on. n-1 MUXm-n-1 at the input end, connect T&H n MUXm-n at the input end), Figure 2 In the embodiment, there are n tracking and holding circuits and a pre-multiplexer connected to each tracking and holding circuit may include m sampling input terminals, so that data sampling can be performed on m sampling points, thus forming m×n channels. The controller controls the pre-multiplexer and the sampling switch (such as Figure 2 S1, S2, ... S n-1 , S n ) and the post multiplexer send control signals to enable the track-and-hold circuit to enter the sampling state, holding state, and conversion state. For details, see Figure 3 The control principle diagram of the tracking and holding circuit shown in the figure is as follows: Figure 2 T&H n Taking the corresponding tracking and holding circuit as an example, the pre-multiplexer MUXm-n selects one port from the external m ports to connect to the corresponding tracking and holding circuit for sampling or holding under control, that is, by controlling the selection switch in the pre-multiplexer, selects one port from VIN1 to VINm to connect to the corresponding tracking and holding circuit T&H n , when the track-and-hold circuit T&H n The sampling operation starts when the sampling switch Sn is turned on. n When the sampling switch Sn is disconnected and the post-multiplexer MUXn conversion selection switch is not turned on, the channel is in the hold state. When the post-multiplexer responds to the conversion selection signal sent by the controller, the tracking and holding circuit T&H is turned on by the conversion selection switch. n The channel is connected to the analog-to-digital converter and enters the conversion state.

[0063] Furthermore, based on the above embodiment, the specific control steps of the controller may include:

[0064] The controller sends a sampling selection signal to the pre-multiplexer included in the target number of tracking and holding circuits, and sends a sampling signal to the sampling switch included in the target number of tracking and holding circuits, so that each of the pre-multiplexers determines a corresponding sampling channel according to a sampling input end indicated by the corresponding sampling selection signal, and each of the sampling switches closes in response to the corresponding sampling signal to enable the corresponding sampling channel to enter a sampling state and start sampling.

[0065] It should be noted that when the sampling channel enters the sampling state and starts sampling, the post multiplexer is in a non-conducting state. The sampling channel is determined according to the sampling input terminal indicated by the corresponding sampling selection signal, and the sampling channel refers to the tracking and holding circuit connected to the sampling input terminal.

[0066] After the target time, the controller sends a disconnect signal to the sampling switches included in the target number of tracking and holding circuits, so that each sampling switch responds to the corresponding disconnect signal to put the corresponding sampling channel into a holding state, thereby ending sampling.

[0067] It should be noted that when the sampling channel enters the hold state, the post multiplexer is still in a non-conducting state.

[0068] The controller sends a conversion selection signal to the post-multiplexer, so that the post-multiplexer is connected to the analog-to-digital converter according to the sampling channel indicated by the conversion selection signal, so that the sampling channel enters a conversion state; in response to an end signal in the conversion result fed back by the analog-to-digital converter, the conversion data in the conversion result is stored, and a new conversion selection signal is sent to the post-multiplexer, so that the post-multiplexer is connected to the analog-to-digital converter according to the sampling channel indicated by the new conversion selection signal, so that the sampling channel enters a conversion state.

[0069] This cycle is repeated until the controller controls the target number of tracking and holding circuits and analog-to-digital converters to be turned on one by one, and converts the first signal output by each tracking and holding circuit in turn.

[0070] The order in which the sampling channels controlled by the controller enter the conversion state may be a manually preset order.

[0071] Based on Figure 2 A multi-channel synchronous sampling SAR ADC device is shown. In combination with a specific application scenario, specific control steps of a controller in the device may include:

[0072] Step A: sending a sampling selection signal to each pre-multiplexer to select a sampling input terminal for sampling, determining n sampling channels, sending a sampling signal to each sampling switch, so that the n sampling channels enter a sampling state and start sampling.

[0073] Step B: After waiting for the sampling time Ts, a disconnection signal is sent to each sampling switch of the n sampling channels to disconnect the sampling switches, so that the n sampling channels enter the holding state.

[0074] See also Figure 4 The schematic diagram of multi-channel conversion state is shown in FIG. In the initial state, n sampling channels (including channel 1, channel 2 ... channel n) are all in the sampling state. After the sampling switch is turned off, the n sampling channels no longer perform sampling, realizing synchronous sampling.

[0075] Step C, according to the preset conversion sequence, the conversion selection signal is sent to the post-multiplexer connected to the n sampling channels in turn. Specifically, when channel 1 is connected to the analog-to-digital converter and enters the conversion state, the other channels remain in the holding state. After the conversion of channel 1 is completed, the analog-to-digital converter will generate an end signal and the conversion data and feed it back to the controller in parallel. The controller stores the conversion data in response to the end signal, and generates the next conversion signal to send to channel 2. Channel 1 enters the sampling state, channel 2 enters the sampling state, and the other channels enter the holding state, and they rotate in turn. For details, please refer to Figure 4 , and finally complete the conversion of n sampling channels.

[0076] In this way, synchronous sampling is performed through n sampling channels, and then conversion is performed in the form of time-division multiplexing, which greatly reduces the circuit scale and saves power consumption.

[0077] Based on the above embodiments, see Figure 2 The above analog-to-digital converter may specifically include a comparator, a SAR logic module, a clock generation module and a reference voltage generation module.

[0078] The first input end of the comparator is connected to the reference voltage generation module, the second input end of the comparator is connected to the output end of the post-multiplexer, and the output end of the comparator is connected to the SAR logic module. The output end of the SAR logic module is connected to the input end of the controller, and the output end of the SAR logic module outputs the conversion result. The output end of the controller is connected to the clock generation module, and the output end of the clock generation module is connected to the pre-multiplexer, the sampling switch, the post-multiplexer, the comparator and the SAR logic module.

[0079] Under the control of the control signal output by the clock generation module, the comparator compares the first signal output by the post-multiplexer with the reference voltage VREF generated by the reference voltage generation module to obtain a corresponding digital code; the SAR logic module processes the comparator output result to generate a signal to control CDAC, and generates conversion data and an end signal after completing the conversion; the reference voltage generation module is used to generate a high-precision reference voltage VREF; the clock generation module synchronizes the control signal generated by the controller with the clock CLK and sends it to the pre-multiplexer, sampling switch, post-multiplexer, comparator and SAR logic module to ensure the synchronization performance of the timing of the entire device.

[0080] The above is some specific implementation manners of a multi-channel synchronous sampling SAR ADC device provided in the embodiment of the present application. Based on this, the present application also provides a corresponding method.

[0081] See also Figure 5 A flow chart of a multi-channel synchronous sampling SAR ADC control method is shown, a multi-channel synchronous sampling SAR ADC control method, an analog-to-digital converter and a tracking and holding module, the tracking and holding module includes a multi-channel tracking and holding circuit, the output ends of the multi-channel tracking and holding circuits are all connected to the input ends of the analog-to-digital converter, the method includes:

[0082] S501, the tracking and holding circuit of the control target quantity starts synchronous sampling.

[0083] S502: After the target time, control the target number of tracking and holding circuits to end the synchronous sampling.

[0084] S503 , switching the target number of tracking and holding circuits to conduct with the analog-to-digital converter one by one, so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit to obtain a corresponding conversion result.

[0085] According to the above steps S501-S503, the target number of tracking and holding circuits are synchronously sampled and started and ended, and the multiple tracking and holding circuits are switched on and off with the analog-to-digital converter one by one, and the first signal sampled and output by each tracking and holding circuit is converted through the analog-to-digital converter, thereby obtaining the conversion results outputted sequentially by the analog-to-digital converter. In this way, the multiple tracking and holding circuits correspond to one analog-to-digital converter, and one analog-to-digital converter sequentially converts the analog signals outputted by the multiple tracking and holding circuits, thereby reducing the circuit scale and saving power consumption.

[0086] In a specific implementation, the conversion result includes conversion data and an end signal of completing the conversion; the step of switching the target number of tracking and holding circuits to be turned on with the analog-to-digital converter one by one so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit includes:

[0087] In response to an end signal in a conversion result output by the analog-to-digital converter, conversion data in the conversion result is stored, and a next tracking and holding circuit is switched on to the analog-to-digital converter so that the analog-to-digital converter converts a first signal sent by the tracking and holding circuit.

[0088] In a specific implementation, switching the target number of tracking and holding circuits to be turned on with the analog-to-digital converter one by one so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit to obtain a corresponding conversion result includes:

[0089] Sending a sampling selection signal to the pre-multiplexers included in the target number of tracking and holding circuits, and sending a sampling signal to the sampling switches included in the target number of tracking and holding circuits, so that each of the pre-multiplexers determines a corresponding sampling channel according to a sampling input terminal indicated by the corresponding sampling selection signal, and each of the sampling switches closes in response to the corresponding sampling signal to make the corresponding sampling channel enter a sampling state and start sampling;

[0090] After the target time, a disconnect signal is sent to the sampling switches included in the target number of tracking and holding circuits, so that each sampling switch responds to the corresponding disconnect signal to make the corresponding sampling channel enter the holding state to end sampling;

[0091] A conversion selection signal is sent to the post-multiplexer, so that the post-multiplexer is connected to the analog-to-digital converter according to the sampling channel indicated by the conversion selection signal, so that the sampling channel enters a conversion state, and in response to an end signal in the conversion result fed back by the analog-to-digital converter, the conversion data in the conversion result is stored, and a new conversion selection signal is sent to the post-multiplexer, so that the post-multiplexer is connected to the analog-to-digital converter according to the sampling channel indicated by the new conversion selection signal, so that the sampling channel enters a conversion state.

[0092] The embodiments of the present application also provide a corresponding electronic device and a computer storage medium for implementing the solution provided by the embodiments of the present application.

[0093] Wherein, the electronic device adopts a multi-channel synchronous sampling SAR ADC control device described in any embodiment of the present application.

[0094] The computer storage medium stores codes, and when the codes are executed, a device executing the codes implements a multi-channel synchronous sampling SAR ADC control method described in any embodiment of the present application.

[0095] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.

[0096] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.

[0097] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the method embodiment, since it is basically similar to the device embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0098] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A multi-channel synchronous sampling SARADC device, characterized in that: include: Track-and-hold module, analog-to-digital converter, and controller; The output end of the tracking and holding module is connected to the input end of the analog-to-digital converter, the tracking and holding module includes a multi-channel tracking and holding circuit, the input end of the tracking and holding circuit is a sampling end, and the output ends of the multi-channel tracking and holding circuit are all connected to the analog-to-digital converter; The input end of the controller is connected to the output end of the analog-to-digital converter, and the output end of the controller is connected to the tracking and holding module and the analog-to-digital converter; The analog-to-digital converter is used to respond to a first signal sent by a target tracking and holding circuit, convert the first signal, obtain a conversion result and send the conversion result to the controller, and the target tracking and holding circuit is one of the multiple tracking and holding circuits; The controller is used to control a target number of tracking and holding circuits to start synchronous sampling, and after a target time, control the target number of tracking and holding circuits to end the synchronous sampling; The target number of tracking and holding circuits are switched on and off with the analog-to-digital converter one by one, so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit to obtain a corresponding conversion result.

2. The device according to claim 1, characterized in that The multi-channel tracking and holding circuits are correspondingly connected to an analog-to-digital converter.

3. The device according to claim 1, characterized in that The tracking and holding module package also includes a post multiplexer, and the analog-to-digital conversion module includes a comparator; The output ends of the multi-channel tracking and holding circuits are all connected to the post-multiplexer, and the output end of the post-multiplexer is connected to the comparator; The controller is specifically used to send a conversion selection signal to the post-multiplexer, so that the target tracking and holding circuit indicated by the conversion selection signal is turned on with the analog-to-digital converter.

4. The device according to any one of claims 1 to 3, characterized in that: The conversion result includes conversion data and an end signal of completing the conversion; The controller is specifically used to respond to an end signal in a conversion result output by the analog-to-digital converter, store conversion data in the conversion result, and switch the next tracking and holding circuit as a new target tracking and holding circuit to be connected to the analog-to-digital converter, so that the analog-to-digital converter converts the first signal sent by the new target tracking and holding circuit.

5. The device according to claim 4, characterized in that The tracking and holding circuit comprises a sampling switch and a CDAC, wherein the output end of the sampling switch is connected to the input end of the CDAC, and the output end of the CDAC is connected to the input end of the analog-to-digital converter.

6. The device according to claim 5, characterized in that The tracking and holding module also includes a pre-multiplexer, The input end of each of the tracking and holding circuits is connected to the output end of a pre-multiplexer, and the pre-multiplexer includes a plurality of sampling input ends.

7. The device according to claim 6, characterized in that The controller is specifically used to send a sampling selection signal to the pre-multiplexer included in the target number of tracking and holding circuits, and send a sampling signal to the sampling switch included in the target number of tracking and holding circuits, so that each of the pre-multiplexers determines a corresponding sampling channel according to a sampling input end indicated by the corresponding sampling selection signal, and each of the sampling switches is closed in response to the corresponding sampling signal to make the corresponding sampling channel enter a sampling state and start sampling; After the target time, a disconnect signal is sent to the sampling switches included in the target number of tracking and holding circuits, so that each sampling switch responds to the corresponding disconnect signal to make the corresponding sampling channel enter the holding state to end sampling; a conversion selection signal is sent to the post-multiplexer, so that the post-multiplexer is connected with the analog-to-digital converter according to the sampling channel indicated by the conversion selection signal, so that the sampling channel enters the conversion state, responds to the end signal in the conversion result fed back by the analog-to-digital converter, stores the conversion data in the conversion result, and sends a new conversion selection signal to the post-multiplexer, so that the post-multiplexer is connected with the analog-to-digital converter according to the sampling channel indicated by the new conversion selection signal, so that the sampling channel enters the conversion state.

8. The device according to claim 7, characterized in that The analog-to-digital converter also includes a SAR logic module, a clock generation module and a reference voltage generation module; The first input end of the comparator is connected to the reference voltage generation module, the second input end of the comparator is connected to the output end of the post-multiplexer, the output end of the comparator is connected to the SAR logic module, the output end of the SAR logic module is connected to the input end of the controller, and the output end of the SAR logic module outputs the conversion result; the output end of the controller is connected to the clock generation module, and the output end of the clock generation module is connected to the pre-multiplexer, the sampling switch, the post-multiplexer, the comparator and the SAR logic module.

9. A multi-channel synchronous sampling SARADC control method, characterized in that: An analog-to-digital converter and a tracking and holding module, wherein the tracking and holding module comprises a multi-channel tracking and holding circuit, wherein the output ends of the multi-channel tracking and holding circuits are all connected to the input ends of the analog-to-digital converter, and the method comprises: Controlling a target number of tracking and holding circuits to start synchronous sampling, and controlling the target number of tracking and holding circuits to end the synchronous sampling after a target time; The target number of tracking and holding circuits are switched on and off with the analog-to-digital converter one by one, so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit to obtain a corresponding conversion result.

10. The method according to claim 9, characterized in that The conversion result includes conversion data and an end signal of completing the conversion; The step of switching the target number of tracking and holding circuits to be turned on with the analog-to-digital converter one by one so that the analog-to-digital converter converts the first signal output by each tracking and holding circuit includes: responding to an end signal in a conversion result output by the analog-to-digital converter, storing conversion data in the conversion result, and switching the next tracking and holding circuit to be turned on with the analog-to-digital converter so that the analog-to-digital converter converts the first signal sent by the tracking and holding circuit.