US20070085722A1 - Circuit and method for extending microcontroller analog input capability - Google Patents

Circuit and method for extending microcontroller analog input capability Download PDF

Info

Publication number
US20070085722A1
US20070085722A1 US11/253,479 US25347905A US2007085722A1 US 20070085722 A1 US20070085722 A1 US 20070085722A1 US 25347905 A US25347905 A US 25347905A US 2007085722 A1 US2007085722 A1 US 2007085722A1
Authority
US
United States
Prior art keywords
signal
analog
analog signal
circuit
operable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US11/253,479
Other versions
US7209066B1 (en
Inventor
Dale Trumbo
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honeywell International Inc
Original Assignee
Honeywell International Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honeywell International Inc filed Critical Honeywell International Inc
Priority to US11/253,479 priority Critical patent/US7209066B1/en
Assigned to HONEYWELL INTERNATIONAL, INC. reassignment HONEYWELL INTERNATIONAL, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: TRUMBO, DALE A.
Publication of US20070085722A1 publication Critical patent/US20070085722A1/en
Application granted granted Critical
Publication of US7209066B1 publication Critical patent/US7209066B1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/18Automatic control for modifying the range of signals the converter can handle, e.g. gain ranging
    • H03M1/181Automatic control for modifying the range of signals the converter can handle, e.g. gain ranging in feedback mode, i.e. by determining the range to be selected from one or more previous digital output values
    • H03M1/183Automatic control for modifying the range of signals the converter can handle, e.g. gain ranging in feedback mode, i.e. by determining the range to be selected from one or more previous digital output values the feedback signal controlling the gain of an amplifier or attenuator preceding the analogue/digital converter
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/1205Multiplexed conversion systems
    • H03M1/122Shared using a single converter or a part thereof for multiple channels, e.g. a residue amplifier for multiple stages
    • H03M1/1225Shared using a single converter or a part thereof for multiple channels, e.g. a residue amplifier for multiple stages using time-division multiplexing

Definitions

  • the present invention relates to microcontroller analog-to-digital (A/D) signal conversion and control and, more particularly, to a circuit and method for extending the analog input capability of microcontroller A/D converters (ADCs).
  • A/D analog-to-digital
  • Microcontrollers are used in myriad devices and systems to implement one or more control and/or monitoring schemes.
  • many aircraft engines are controlled via an engine controller, such as a digital electronic engine controller (DEEC) or a full authority digital engine controller (FADEC), that may be implemented using a plurality of microcontrollers.
  • the microcontrollers may receive various command signals, and a plurality of signals representative of various physical and/or operational parameters and, implementing one or more control laws via an on-board central processing unit (CPU), control the overall operation of the aircraft engine to achieve the desired performance.
  • CPU central processing unit
  • ADCs analog-to-digital converters
  • QADCs queued ADCs
  • a QADC includes a queue that is used to store various commands and to run the stored commands independent of the CPU.
  • microcontrollers that are presently used in engine controllers and various other aircraft-related systems and devices, whether implemented with one or more QADCs or various other types of ADCs, are generally robust and generally operate reliably and safely. However, these devices do suffer certain drawbacks. In particular, the ADCs typically exhibit two performance limitations. These limitations include the number of available external address bits, and the maximum settling time to which the ADC can be set.
  • a circuit includes a multiplexer, an analog signal processing circuit, queued analog-to-digital converter (QADC), and a sequence control circuit.
  • the multiplexer is adapted to receive a plurality of analog signals and an input select signal, and is operable, in response to the input select signal, to output one of the received analog signals.
  • the analog signal processing circuit is coupled to receive the analog signal output from the multiplexer and is further coupled to receive a process command signal representative of one or more analog signal processing parameters.
  • the analog signal processing circuit is operable, in response to the process command signal, to process the analog signal using the one or more analog signal processing parameters and supply a processed analog signal.
  • the QADC is coupled to receive the processed analog signal and a conversion trigger signal, and is operable, upon receipt of the conversion trigger signal, to convert the processed analog signal to digital data representative thereof.
  • the sequence control circuit is operable to supply the input select signal, the process command signal, and the conversion trigger signal.
  • a controller circuit in another exemplary embodiment, includes a multiplexer, an analog signal processing circuit, a queued analog to digital converter (QADC), a processor, and a sequence control circuit.
  • the multiplexer is adapted to receive a plurality of analog signals and an input select signal, and is operable, in response to the input select signal, to output one of the received analog signals.
  • the analog signal processing circuit is coupled to receive the analog signal output from the multiplexer and is further coupled to receive a process command signal representative of one or more analog signal processing parameters.
  • the analog signal processing circuit is operable, in response to the process command signal, to process the analog signal using the one or more analog signal processing parameters and supply a processed analog signal.
  • the QADC is coupled to receive the processed analog signal and a conversion trigger signal, and is operable, upon receipt of the conversion trigger signal, to convert the processed analog signal to digital data representative thereof.
  • the processor is operable to supply a sequence control initiate command and is coupled to receive the digital data from the QADC.
  • the processor is operable, upon receipt of the digital data, to process the digital data in accordance with a predetermined process.
  • the sequence control circuit is coupled to receive the sequence control initiate command and is operable, upon receipt thereof, to supply the input select signal, the process command signal, and the conversion trigger signal.
  • a method of extending the analog input capability of a microcontroller includes supplying a plurality of independent analog signals, selecting one of the analog signals, and generating a process command signal representative of one or more analog signal processing parameters.
  • the selected analog signal is in accordance with an analog signal processing function that implements the one or more analog signal processing parameters, thereby generating a processed analog signal.
  • a conversion command is generated and, upon generation of the conversion command, the processed analog signal is converted to digital data representative thereof.
  • FIG. 1 is a block diagram of an exemplary embodiment of a circuit that may extend the analog input capability of a microcontroller
  • FIG. 2 is a flowchart depicting an exemplary process implemented by the circuit depicted in FIG. 1 ;
  • FIG. 3 is an block diagram of an exemplary physical implementation of the circuit depicted in FIG. 1 .
  • the depicted circuit 100 includes a multiplexer 104 , an analog signal processing circuit 106 , an analog-to-digital converter (ADC) 108 , and a sequence control circuit 112 .
  • the multiplexer 104 includes a plurality of analog inputs 114 ( 114 - 1 , 114 - 2 , 114 - 3 , 114 - 4 , . . . 114 -N), one or more input select terminals 116 (for clarity, only one depicted) and an output terminal 118 .
  • the inputs 114 are each adapted to receive an analog signal such as, for example, a temperature signal, a pressure signal, or a flow signal, just to name a few.
  • the input select terminal 116 receives an input select signal from the sequence control circuit 112 that is representative of a specific one of the multiplexer inputs 114 .
  • the multiplexer 104 outputs, via the output terminal 118 , the analog signal supplied to the selected multiplexer input 114 .
  • the multiplexer 104 may be implemented using any one of numerous types of multiplexers now known or developed in the future for multiplexing multiple signals to one or more devices. It will additionally be appreciated that the circuit 100 may be implemented with more than one multiplexer 104 , if needed or desired, thereby allow more analog signals to be processed. No matter the particular physical implementation or number of multiplexers 104 , the analog signal that is output from the multiplexer 104 is supplied to the analog signal processing circuit 106 .
  • the analog signal processing circuit 106 is coupled to the multiplexer 104 and the sequence control circuit 112 . More specifically, the analog signal processing circuit 106 is coupled to the multiplexer output terminal 118 , and thus receives the analog signal that is output from multiplexer 104 . The analog signal processing circuit 106 additionally receives a process command signal from the sequence control circuit 112 . The process command signal supplied from the sequence control circuit 112 includes data and/or information representative of one or more analog signal processing parameters. The analog signal processing circuit 106 is configured to be responsive to the process command signal, and to process the analog signal that is output from the multiplexer 104 using the analog signal processing parameters.
  • the analog signal processing circuit 106 may vary, and may be implemented using any one of numerous known analog signal processing circuits that are configured to respond to a process command signal.
  • the analog signal processing circuit 106 may be implemented as a variable gain amplifier, a variable frequency filter circuit, or both, just to name a few.
  • the process command signal that is supplied to the analog signal processing circuit 106 may vary depending, for example, on the analog signal processing parameter that is being controlled. For instance, the gain, offset, or slope of an amplifier may controlled, the filter frequency setpoint may be controlled, or any one or more of numerous other analog signal processing parameters may be controlled.
  • the analog signal processing circuit 106 supplies a processed analog signal to the ADC 108 .
  • the ADC 108 is coupled to receive the processed analog signal from the analog signal processing circuit 106 and a conversion trigger signal from the sequence control circuit 112 .
  • the ADC 108 upon receipt of the conversion trigger signal, and using any one of numerous conventionally known techniques, converts the processed analog signal to digital data.
  • the digital data may then be supplied, via one or more additional circuit elements and/or communications buses, to a central processing unit (CPU) 122 for additional processing.
  • the ADC 108 is preferably implemented as part of the microcontroller 102 , and is preferably configured as a queued ADC, to thereby conduct a sequence of analog to digital conversions without intervention by the CPU 122 . It will be appreciated, however, that this is merely exemplary and that the ADC 108 could be implemented physically separate from the microcontroller 102 .
  • the sequence control circuit 112 supplies the input select signal to the multiplexer 104 , the process command signal to the analog signal processing circuit 106 , and the conversion trigger signal to the ADC 108 .
  • the sequence control circuit 112 is coupled to the microcontroller 102 , and receives an initiate command therefrom.
  • the sequence control circuit 112 is preferably configured such that, upon receipt of the initiate command, it supplies the input select signal, the process command signal, and the conversion trigger signal to the multiplexer 104 , the analog signal processing circuit 106 , and the ADC 108 , respectively, without further intervention from the microcontroller CPU 122 .
  • sequence control circuit 112 may be configured in any one of numerous ways to implement the above-described functionality, in the depicted embodiment the sequence control circuit 112 includes a plurality of registers 124 or “queues” that each store input signal setting data.
  • the sequence control circuit 112 uses the input signal setting data to generate the input select signals that are supplied to the multiplexer 104 , the process command signals that are supplied to the analog signal processing circuit 106 , and the conversion trigger signals that are supplied to the ADC 108 .
  • the process command signals that are supplied to the analog signal processing circuit 106 may vary depending, for example, on the type of analog signal processing that the analog signal processing circuit 106 is implementing and on the particular analog signal that is being processed.
  • the amount of settling time that the analog signal processing circuit 106 may need before it supplies a sufficiently settled processed analog signal may vary depending, for example, on the specific analog signal processing that is being implemented by the analog signal processing circuit 106 .
  • the sequence control circuit 112 preferably stores input signal setting data for each of the multiplexer analog inputs 114 that is receiving an analog signal. These data include information representative of the input select signal, the associated process command signal, and a predetermined settling time.
  • the multiplexer 104 include N-number of analog inputs 114 - 1 , 114 - 2 , 114 - 3 , . . .
  • the sequence control circuit 112 includes at least N-number of registers 124 - 1 , 124 - 2 , 124 - 3 , . . . 124 -N, each having input signal setting data stored therein.
  • FIG. 2 depicts the overall process 200 in flowchart form, in combination with FIG. 1 , as needed or desired.
  • the parenthetical references in the following discussion correspond to the numerically referenced steps of the flowchart depicted in FIG. 2 .
  • some of the process steps are depicted and described as being implemented in a sequential order. However, it will be appreciated that this is done merely for ease of both description and illustration, and that various steps depicted in FIG. 2 and described alone may be implemented substantially simultaneously or in a different order than what is shown and described.
  • the process 200 begins ( 201 ) following, for example, a system or circuit reset or upon system or circuit power-up. In either case, after a suitable settling time following a reset or power-up operation, the process 200 implemented by the circuit 100 initially loads the channel setting data into the appropriate registers 124 in the sequence control circuit 112 ( 202 ). The sequence control circuit 112 is then initialized to retrieve the input signal setting data from the register 124 - 1 that is storing the input signal setting data associated with the multiplexer first analog input 114 - 1 ( 204 ).
  • the sequence control circuit 112 retrieves the input signal setting data from the appropriate register 124 - 1 and, using the retrieved data, generates and supplies the input select signal ( 206 ) and the process command signal ( 208 ).
  • the multiplexer 104 Upon receipt of the input select signal, the multiplexer 104 begins supplying the analog signal on the first analog input 114 - 1 to the analog signal processing circuit 106 .
  • the analog signal processing circuit 106 upon receipt of the process command signal and the analog signal, begins processing the analog signal using the analog signal processing parameters, as described above, and supplying the processed analog signal. However, until the predetermined settling time has lapsed ( 210 ), the ADC 108 does not begin sampling and converting the processed analog signal.
  • the sequence control circuit 112 After the predetermined settling time has lapsed ( 210 ), the sequence control circuit 112 generates and supplies the conversion trigger signal ( 212 ) to the ADC 108 .
  • the ADC 108 upon receipt of the conversion trigger signal, begins sampling the processed analog signal, converting the signal to digital data, and storing the digital data in its queues. This signal flow and signal processing then continues until a predetermined sampling time period has lapsed ( 214 ), at which time the sequence control circuit 112 no longer supplies the conversion trigger signal ( 216 ). If the input signal setting data that was just retrieved was not retrieved from the N-th register 124 -N, then the process ( 206 - 216 ) repeats using the input signal setting data retrieved from the next register 124 .
  • the CPU 122 retrieves the digital data from the QADC queues ( 222 ), and the sequence control circuit 112 is initialized to retrieve the input signal setting data from the register 124 - 1 that is storing the input signal setting data associated with the multiplexer first analog input 114 - 1 ( 204 ).
  • the process ( 206 - 216 ) then repeats until, for example, the circuit 100 is reset or de-energized.
  • the circuit 300 includes a microcontroller 302 , a multiplexer 304 , an analog signal processing circuit 306 , an ADC 308 , and a sequence control circuit 312 .
  • the microcontroller 302 is implemented using an MPC 555 microcontroller, which includes an on-board queued ADC (QADC) 308 and an on-board queued serial peripheral interface (QSPI) 314 .
  • QADC on-board queued ADC
  • QSPI serial peripheral interface
  • the QSPI 314 is used to implement the sequence control circuit 312 .
  • the multiplexer 304 functions similar to the multiplexer 104 previously described, and will thus not be further described.
  • the analog signal processing circuit 306 also functions, in general, similar to the previously described analog signal processing circuit 106 . In the depicted embodiment, however, the analog signal processing circuit 306 is specifically implemented as a variable gain amplifier. Thus, the process command signals supplied from the sequence control circuit 312 include parameters representative of an amplification gain factor.
  • the sequence control circuit 312 depicted in FIG. 3 implements the same basic functionality as that which is implemented by the sequence control circuit 112 of FIG. 1 .
  • the sequence-control circuit 312 in FIG. 3 includes the previously mentioned QSPI 314 and a shift register 316 .
  • the QSPI 314 can store instructions and data in local registers or “queues” and, upon being initiated by an on-board CPU 322 , runs the stored instructions independent of the CPU 322 .
  • the QSPI 314 supplies the conversion trigger signal to the QADC 308 , via its PCS terminal or its SCLK terminal, and supplies data representative of the input select signal and the process command signal to the shift register 316 .
  • the shift register 316 upon being enabled (via its CS terminal) and clocked (via its CLK terminal) by the QSPI 314 , in turn supplies the input select signal to the multiplexer 304 and the process command signal to the analog signal processing circuit 306 .
  • the QADC 308 includes an ANO terminal and an ETRIG terminal, which are coupled to receive the processed analog signals from the analog signal processing circuit 306 and the conversion trigger signal from the QSPI 314 , respectively.
  • the QADC 308 upon receipt of the conversion trigger signal, samples the processed analog signal and converts it into digital data.
  • the QADC 308 similar to the QSPI 314 , stores instructions and converted digital data in local registers or “queues” and, upon being initiated by the CPU 322 , runs the stored instructions independent of the CPU 322 .
  • circuit 300 depicted in FIG. 3 implements the same general process 200 depicted in FIG. 2 and described above. As such its operation will not be further described.

Abstract

A circuit and method extends the analog input capability of a microcontroller by including an autonomous sequence control circuit that supplies input signal setting data and implements delay functions independent of the microcontroller central processing unit (CPU). The sequence controller supplies input signal selection commands to an input multiplexer, and analog signal processing commands to one or more analog signal processing circuits. After a predetermined settling time, the sequence control circuit then initiates an analog-to-digital converter (ADC) to convert the select analog signal to digital data. The circuit and method extend the number of available external address bits and the maximum settling time of the ADC.

Description

    TECHNICAL FIELD
  • The present invention relates to microcontroller analog-to-digital (A/D) signal conversion and control and, more particularly, to a circuit and method for extending the analog input capability of microcontroller A/D converters (ADCs).
  • BACKGROUND
  • Microcontrollers are used in myriad devices and systems to implement one or more control and/or monitoring schemes. For example, many aircraft engines are controlled via an engine controller, such as a digital electronic engine controller (DEEC) or a full authority digital engine controller (FADEC), that may be implemented using a plurality of microcontrollers. The microcontrollers may receive various command signals, and a plurality of signals representative of various physical and/or operational parameters and, implementing one or more control laws via an on-board central processing unit (CPU), control the overall operation of the aircraft engine to achieve the desired performance.
  • In many instances the physical and/or operational parameter signals supplied to the microcontrollers are analog signals, which may need to be converted to digital signals for further processing. Thus, many microcontrollers, such as those that are used in aircraft engine controllers, include one or more analog-to-digital converters (ADCs). The ADCs included in some microcontrollers are so-called “queued” ADCs (QADCs). A QADC includes a queue that is used to store various commands and to run the stored commands independent of the CPU.
  • The microcontrollers that are presently used in engine controllers and various other aircraft-related systems and devices, whether implemented with one or more QADCs or various other types of ADCs, are generally robust and generally operate reliably and safely. However, these devices do suffer certain drawbacks. In particular, the ADCs typically exhibit two performance limitations. These limitations include the number of available external address bits, and the maximum settling time to which the ADC can be set.
  • Hence, there is a need for a circuit and method that can extend the number of available external address bits and/or the maximum settling time of an ADC, preferably without relying on microcontroller CPU intervention. The present invention addresses at least this need.
  • BRIEF SUMMARY
  • The present invention provides a circuit and method that extends the analog input capability of a microcontroller. In one embodiment, and by way of example only, a circuit includes a multiplexer, an analog signal processing circuit, queued analog-to-digital converter (QADC), and a sequence control circuit. The multiplexer is adapted to receive a plurality of analog signals and an input select signal, and is operable, in response to the input select signal, to output one of the received analog signals. The analog signal processing circuit is coupled to receive the analog signal output from the multiplexer and is further coupled to receive a process command signal representative of one or more analog signal processing parameters. The analog signal processing circuit is operable, in response to the process command signal, to process the analog signal using the one or more analog signal processing parameters and supply a processed analog signal. The QADC is coupled to receive the processed analog signal and a conversion trigger signal, and is operable, upon receipt of the conversion trigger signal, to convert the processed analog signal to digital data representative thereof. The sequence control circuit is operable to supply the input select signal, the process command signal, and the conversion trigger signal.
  • In another exemplary embodiment, a controller circuit includes a multiplexer, an analog signal processing circuit, a queued analog to digital converter (QADC), a processor, and a sequence control circuit. The multiplexer is adapted to receive a plurality of analog signals and an input select signal, and is operable, in response to the input select signal, to output one of the received analog signals. The analog signal processing circuit is coupled to receive the analog signal output from the multiplexer and is further coupled to receive a process command signal representative of one or more analog signal processing parameters. The analog signal processing circuit is operable, in response to the process command signal, to process the analog signal using the one or more analog signal processing parameters and supply a processed analog signal. The QADC is coupled to receive the processed analog signal and a conversion trigger signal, and is operable, upon receipt of the conversion trigger signal, to convert the processed analog signal to digital data representative thereof. The processor is operable to supply a sequence control initiate command and is coupled to receive the digital data from the QADC. The processor is operable, upon receipt of the digital data, to process the digital data in accordance with a predetermined process. The sequence control circuit is coupled to receive the sequence control initiate command and is operable, upon receipt thereof, to supply the input select signal, the process command signal, and the conversion trigger signal.
  • In yet a further exemplary embodiment, a method of extending the analog input capability of a microcontroller includes supplying a plurality of independent analog signals, selecting one of the analog signals, and generating a process command signal representative of one or more analog signal processing parameters. The selected analog signal is in accordance with an analog signal processing function that implements the one or more analog signal processing parameters, thereby generating a processed analog signal. A conversion command is generated and, upon generation of the conversion command, the processed analog signal is converted to digital data representative thereof.
  • Other independent features and advantages of the preferred circuit, microcontroller, and method will become apparent from the following detailed description, taken in conjunction with the accompanying drawings which illustrate, by way of example, the principles of the invention.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram of an exemplary embodiment of a circuit that may extend the analog input capability of a microcontroller;
  • FIG. 2 is a flowchart depicting an exemplary process implemented by the circuit depicted in FIG. 1; and
  • FIG. 3 is an block diagram of an exemplary physical implementation of the circuit depicted in FIG. 1.
  • DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT
  • The following detailed description of the invention is merely exemplary in nature and is not intended to limit the invention or the application and uses of the invention. Furthermore, there is no intention to be bound by any theory presented in the preceding background of the invention or the following detailed description of the invention.
  • Turning now to FIG. 1, a circuit 100 that extends the analog input capability of a microcontroller 102 is depicted. The depicted circuit 100 includes a multiplexer 104, an analog signal processing circuit 106, an analog-to-digital converter (ADC) 108, and a sequence control circuit 112. The multiplexer 104 includes a plurality of analog inputs 114 (114-1, 114-2, 114-3, 114-4, . . . 114-N), one or more input select terminals 116 (for clarity, only one depicted) and an output terminal 118. The inputs 114 are each adapted to receive an analog signal such as, for example, a temperature signal, a pressure signal, or a flow signal, just to name a few. The input select terminal 116 receives an input select signal from the sequence control circuit 112 that is representative of a specific one of the multiplexer inputs 114. In response to the input select signal, the multiplexer 104 outputs, via the output terminal 118, the analog signal supplied to the selected multiplexer input 114.
  • It will be appreciated that the multiplexer 104 may be implemented using any one of numerous types of multiplexers now known or developed in the future for multiplexing multiple signals to one or more devices. It will additionally be appreciated that the circuit 100 may be implemented with more than one multiplexer 104, if needed or desired, thereby allow more analog signals to be processed. No matter the particular physical implementation or number of multiplexers 104, the analog signal that is output from the multiplexer 104 is supplied to the analog signal processing circuit 106.
  • The analog signal processing circuit 106 is coupled to the multiplexer 104 and the sequence control circuit 112. More specifically, the analog signal processing circuit 106 is coupled to the multiplexer output terminal 118, and thus receives the analog signal that is output from multiplexer 104. The analog signal processing circuit 106 additionally receives a process command signal from the sequence control circuit 112. The process command signal supplied from the sequence control circuit 112 includes data and/or information representative of one or more analog signal processing parameters. The analog signal processing circuit 106 is configured to be responsive to the process command signal, and to process the analog signal that is output from the multiplexer 104 using the analog signal processing parameters.
  • It will be appreciated that the analog signal processing circuit 106 may vary, and may be implemented using any one of numerous known analog signal processing circuits that are configured to respond to a process command signal. For example, the analog signal processing circuit 106 may be implemented as a variable gain amplifier, a variable frequency filter circuit, or both, just to name a few. Moreover, the process command signal that is supplied to the analog signal processing circuit 106 may vary depending, for example, on the analog signal processing parameter that is being controlled. For instance, the gain, offset, or slope of an amplifier may controlled, the filter frequency setpoint may be controlled, or any one or more of numerous other analog signal processing parameters may be controlled. In any case, the analog signal processing circuit 106 supplies a processed analog signal to the ADC 108.
  • The ADC 108 is coupled to receive the processed analog signal from the analog signal processing circuit 106 and a conversion trigger signal from the sequence control circuit 112. The ADC 108, upon receipt of the conversion trigger signal, and using any one of numerous conventionally known techniques, converts the processed analog signal to digital data. The digital data may then be supplied, via one or more additional circuit elements and/or communications buses, to a central processing unit (CPU) 122 for additional processing. The ADC 108 is preferably implemented as part of the microcontroller 102, and is preferably configured as a queued ADC, to thereby conduct a sequence of analog to digital conversions without intervention by the CPU 122. It will be appreciated, however, that this is merely exemplary and that the ADC 108 could be implemented physically separate from the microcontroller 102.
  • The sequence control circuit 112, as was noted above, supplies the input select signal to the multiplexer 104, the process command signal to the analog signal processing circuit 106, and the conversion trigger signal to the ADC 108. As FIG. 1 additionally depicts, the sequence control circuit 112 is coupled to the microcontroller 102, and receives an initiate command therefrom. The sequence control circuit 112 is preferably configured such that, upon receipt of the initiate command, it supplies the input select signal, the process command signal, and the conversion trigger signal to the multiplexer 104, the analog signal processing circuit 106, and the ADC 108, respectively, without further intervention from the microcontroller CPU 122.
  • Although the sequence control circuit 112 may be configured in any one of numerous ways to implement the above-described functionality, in the depicted embodiment the sequence control circuit 112 includes a plurality of registers 124 or “queues” that each store input signal setting data. The sequence control circuit 112 uses the input signal setting data to generate the input select signals that are supplied to the multiplexer 104, the process command signals that are supplied to the analog signal processing circuit 106, and the conversion trigger signals that are supplied to the ADC 108. The process command signals that are supplied to the analog signal processing circuit 106 may vary depending, for example, on the type of analog signal processing that the analog signal processing circuit 106 is implementing and on the particular analog signal that is being processed. Moreover, the amount of settling time that the analog signal processing circuit 106 may need before it supplies a sufficiently settled processed analog signal may vary depending, for example, on the specific analog signal processing that is being implemented by the analog signal processing circuit 106. It will thus be appreciated that the sequence control circuit 112 preferably stores input signal setting data for each of the multiplexer analog inputs 114 that is receiving an analog signal. These data include information representative of the input select signal, the associated process command signal, and a predetermined settling time. Hence, in the depicted embodiment, in which the multiplexer 104 include N-number of analog inputs 114-1, 114-2, 114-3, . . . 114-N, the sequence control circuit 112 includes at least N-number of registers 124-1, 124-2, 124-3, . . . 124-N, each having input signal setting data stored therein.
  • Having described the overall configuration of the circuit 100 and the various individual functions of each of the elements that comprise the circuit 100, a detailed description of the overall operation of the circuit 100, at least according to a particular embodiment, will now be described. In doing so, reference should be made to FIG. 2, which depicts the overall process 200 in flowchart form, in combination with FIG. 1, as needed or desired. It is noted that the parenthetical references in the following discussion correspond to the numerically referenced steps of the flowchart depicted in FIG. 2. It is additionally noted that some of the process steps are depicted and described as being implemented in a sequential order. However, it will be appreciated that this is done merely for ease of both description and illustration, and that various steps depicted in FIG. 2 and described alone may be implemented substantially simultaneously or in a different order than what is shown and described.
  • The process 200 begins (201) following, for example, a system or circuit reset or upon system or circuit power-up. In either case, after a suitable settling time following a reset or power-up operation, the process 200 implemented by the circuit 100 initially loads the channel setting data into the appropriate registers 124 in the sequence control circuit 112 (202). The sequence control circuit 112 is then initialized to retrieve the input signal setting data from the register 124-1 that is storing the input signal setting data associated with the multiplexer first analog input 114-1 (204).
  • Following initialization, the sequence control circuit 112 retrieves the input signal setting data from the appropriate register 124-1 and, using the retrieved data, generates and supplies the input select signal (206) and the process command signal (208). Upon receipt of the input select signal, the multiplexer 104 begins supplying the analog signal on the first analog input 114-1 to the analog signal processing circuit 106. The analog signal processing circuit 106, upon receipt of the process command signal and the analog signal, begins processing the analog signal using the analog signal processing parameters, as described above, and supplying the processed analog signal. However, until the predetermined settling time has lapsed (210), the ADC 108 does not begin sampling and converting the processed analog signal.
  • After the predetermined settling time has lapsed (210), the sequence control circuit 112 generates and supplies the conversion trigger signal (212) to the ADC 108. The ADC 108, upon receipt of the conversion trigger signal, begins sampling the processed analog signal, converting the signal to digital data, and storing the digital data in its queues. This signal flow and signal processing then continues until a predetermined sampling time period has lapsed (214), at which time the sequence control circuit 112 no longer supplies the conversion trigger signal (216). If the input signal setting data that was just retrieved was not retrieved from the N-th register 124-N, then the process (206-216) repeats using the input signal setting data retrieved from the next register 124. If, however, the data was retrieved from the N-th register 124-N (220), then the CPU 122 retrieves the digital data from the QADC queues (222), and the sequence control circuit 112 is initialized to retrieve the input signal setting data from the register 124-1 that is storing the input signal setting data associated with the multiplexer first analog input 114-1 (204). The process (206-216) then repeats until, for example, the circuit 100 is reset or de-energized.
  • It will be appreciated that the circuit 100 depicted in FIG. 1 and described above is merely exemplary, and that the circuit 100 may be implemented in any one of numerous configurations. With reference to FIG. 3, a particular embodiment is depicted and will now be described. The circuit 300, as in the previously described embodiment, includes a microcontroller 302, a multiplexer 304, an analog signal processing circuit 306, an ADC 308, and a sequence control circuit 312. However, the microcontroller 302 is implemented using an MPC 555 microcontroller, which includes an on-board queued ADC (QADC) 308 and an on-board queued serial peripheral interface (QSPI) 314. Thus, the on-board QADC 308 is used to implement the analog-to-digital signal conversion. The QSPI 314, as depicted in FIG. 3, and as will be described further below, is used to implement the sequence control circuit 312.
  • The multiplexer 304 functions similar to the multiplexer 104 previously described, and will thus not be further described. The analog signal processing circuit 306 also functions, in general, similar to the previously described analog signal processing circuit 106. In the depicted embodiment, however, the analog signal processing circuit 306 is specifically implemented as a variable gain amplifier. Thus, the process command signals supplied from the sequence control circuit 312 include parameters representative of an amplification gain factor.
  • The sequence control circuit 312 depicted in FIG. 3 implements the same basic functionality as that which is implemented by the sequence control circuit 112 of FIG. 1. However, the sequence-control circuit 312 in FIG. 3 includes the previously mentioned QSPI 314 and a shift register 316. The QSPI 314, as is known, can store instructions and data in local registers or “queues” and, upon being initiated by an on-board CPU 322, runs the stored instructions independent of the CPU 322. In FIG. 3, the QSPI 314 supplies the conversion trigger signal to the QADC 308, via its PCS terminal or its SCLK terminal, and supplies data representative of the input select signal and the process command signal to the shift register 316. The shift register 316, upon being enabled (via its CS terminal) and clocked (via its CLK terminal) by the QSPI 314, in turn supplies the input select signal to the multiplexer 304 and the process command signal to the analog signal processing circuit 306.
  • The QADC 308 includes an ANO terminal and an ETRIG terminal, which are coupled to receive the processed analog signals from the analog signal processing circuit 306 and the conversion trigger signal from the QSPI 314, respectively. As with the previously described embodiment, the QADC 308, upon receipt of the conversion trigger signal, samples the processed analog signal and converts it into digital data. Moreover, the QADC 308, similar to the QSPI 314, stores instructions and converted digital data in local registers or “queues” and, upon being initiated by the CPU 322, runs the stored instructions independent of the CPU 322.
  • It is noted that the circuit 300 depicted in FIG. 3 implements the same general process 200 depicted in FIG. 2 and described above. As such its operation will not be further described.
  • While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt to a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (19)

1. A circuit, comprising:
a multiplexer adapted to receive a plurality of analog signals and an input select signal, the multiplexer operable, in response to the input select signal, to output one of the received analog signals;
an analog signal processing circuit coupled to receive the analog signal output from the multiplexer and further coupled to receive a process command signal representative of one or more analog signal processing parameters, the analog signal processing circuit operable, in response to the process command signal, to process the analog signal using the one or more analog signal processing parameters and supply a processed analog signal;
a queued analog to digital converter (QADC) coupled to receive the processed analog signal and a conversion trigger signal, the QADC operable, upon receipt of the conversion trigger signal, to convert the processed analog signal to digital data representative thereof; and
a sequence control circuit operable to supply the input select signal, and the process command signal, and is further operable to supply the conversion trigger signal a predetermined settling time period after supplying the process command signal.
2. (canceled)
3. The circuit of claim 1, further comprising:
a processor coupled to receive the digital data from the QADC and configured to process the digital data in accordance with a predetermined process.
4. The circuit of claim 3, wherein the QADC is configured to operate independent of the processor.
5. The circuit of claim 3, wherein the sequence control circuit is configured to operate independent of the processor.
6. The circuit of claim 1, wherein:
the analog processing circuit comprises a variable gain amplifier;
the one or more analog processing parameters include an amplification gain factor; and
the variable gain amplifier, in response to the process command signal, amplifies the analog signal at the amplification gain factor and supplies an amplified analog signal as the processed analog signal.
7. The circuit of claim 6, wherein the one or more analog signal processing parameters further includes a signal offset factor.
8. The circuit of claim 6, wherein the one or more analog signal processing parameters further includes a filter frequency setpoint.
9. The circuit of claim 1, wherein the sequence control circuit comprises:
a queued serial peripheral interface (QPSI) operable to supply the conversion trigger signal, data representative of the input select signal and the process command signal, and a clock signal; and
a shift register coupled to receive the clock signal and the data representative of the input select signal and the process command signal and operable, upon receipt thereof, to supply the input select signal and the process command signal.
10. The circuit of claim 9, wherein:
the processor is configured to supply a QPSI initiate command; and
the QPSI is configured, upon receipt of the QPSI initiate command, to run independent of the processor.
11. A controller circuit, comprising:
a multiplexer adapted to receive a plurality of analog signals and an input select signal, the multiplexer operable, in response to the input select signal, to output one of the received analog signals;
an analog signal processing circuit coupled to receive the analog signal output from the multiplexer and further coupled to receive a process command signal representative of one or more analog signal processing parameters, the analog signal processing circuit operable, in response to the process command signal, to process the analog signal using the one or more analog signal processing parameters and supply a processed analog signal;
an queued analog to digital converter (QADC) coupled to receive the processed analog signal and a conversion trigger signal the QADC operable, upon receipt of the conversion trigger signal, to convert the processed analog signal to digital data representative thereof;
a processor operable to supply a sequence control initiate command and coupled to receive the digital data from the QADC, the processor operable, upon receipt of the digital data, to process the digital data in accordance with a predetermined process; and
a sequence control circuit coupled to receive the sequence control initiate command and operable, upon receipt thereof, to supply the input select signal, and the process command signal, and is further operable to supply the conversion trigger signal a predetermined settling time period after supplying the process command signal.
12. (canceled)
13. The controller circuit of claim 11, wherein:
the analog processing circuit comprises a variable gain amplifier;
the one or more analog processing parameters include an amplification gain factor; and
the variable gain amplifier, in response to the process command signal, amplifies the analog signal at the amplification gain factor and supplies an amplified analog signal as the processed analog signal.
14. The controller circuit of claim 13, wherein the one or more analog signal processing parameters further includes a signal offset factor.
15. The controller circuit of claim 13, wherein the one or more analog signal processing parameters further includes a filter frequency setpoint.
16. The controller circuit of claim 11, wherein the sequence control circuit comprises:
a queued serial peripheral interface (QPSI) operable to supply the conversion trigger signal, data representative of the input select signal and the process command signal, and a clock signal; and
a shift register coupled to receive the clock signal and the data representative of the input select signal and the process command signal and operable, upon receipt thereof, to supply the input select signal and the process command signal.
17. A method of extending the analog input capability of a microcontroller, comprising the steps of:
supplying a plurality of analog signals;
selecting one of the analog signals;
generating a process command signal representative of one or more analog signal processing parameters;
processing the selected analog signal in accordance with an analog signal processing function that implements the one or more analog signal processing parameters, thereby generating a processed analog signal;
processing the selected analog signal for a predetermined settling time period and then generating a conversion command; and
upon generation of the conversion command, converting the processed analog signal to digital data representative thereof.
18. (canceled)
19. The method of claim 17, further comprising:
converting the processed analog signal to digital data for a predetermined sampling time period.
US11/253,479 2005-10-18 2005-10-18 Circuit and method for extending microcontroller analog input capability Expired - Fee Related US7209066B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US11/253,479 US7209066B1 (en) 2005-10-18 2005-10-18 Circuit and method for extending microcontroller analog input capability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US11/253,479 US7209066B1 (en) 2005-10-18 2005-10-18 Circuit and method for extending microcontroller analog input capability

Publications (2)

Publication Number Publication Date
US20070085722A1 true US20070085722A1 (en) 2007-04-19
US7209066B1 US7209066B1 (en) 2007-04-24

Family

ID=37947678

Family Applications (1)

Application Number Title Priority Date Filing Date
US11/253,479 Expired - Fee Related US7209066B1 (en) 2005-10-18 2005-10-18 Circuit and method for extending microcontroller analog input capability

Country Status (1)

Country Link
US (1) US7209066B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103452674A (en) * 2013-07-24 2013-12-18 长安大学 Control system and control method for mining acceleration potential of aero-engine
CN105610445A (en) * 2015-12-21 2016-05-25 哈尔滨工业大学 High temperature resistant multi-path measurement signal switching circuit based on time-sharing power supply technology
JP2016528834A (en) * 2013-08-15 2016-09-15 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツングRobert Bosch Gmbh Universal control and evaluation unit, especially for the operation of lambda sensors
CN116112017A (en) * 2023-04-14 2023-05-12 湖南恩智测控技术有限公司 ADC sampling method, circuit, system and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100825727B1 (en) * 2005-12-07 2008-04-29 한국전자통신연구원 Apparatus for collecting digitally converted analog signals using serial bus and method thereof
US8327117B2 (en) * 2008-08-29 2012-12-04 Rolls-Royce Corporation Reconfigurable FADEC with flash based FPGA control channel and ASIC sensor signal processor for aircraft engine control
JP2010193041A (en) * 2009-02-17 2010-09-02 Renesas Electronics Corp A/d conversion circuit, and sample-hold timing adjusting method
JP5465965B2 (en) * 2009-03-31 2014-04-09 ルネサスエレクトロニクス株式会社 Data processing apparatus and data processing system
US9479188B1 (en) * 2010-05-28 2016-10-25 Maxim Integrated Products, Inc. Programmable multichannel signal selector
JP5578066B2 (en) * 2010-12-22 2014-08-27 ミツミ電機株式会社 AD conversion method and AD conversion circuit
WO2013184735A2 (en) * 2012-06-05 2013-12-12 Venntis Llc Microcontroller multiplexer processing
US10116288B2 (en) 2017-02-07 2018-10-30 Hamilton Sundstrand Corporation Reduced overhead on digital signal processing for motor drive applications
US10084469B1 (en) * 2017-12-19 2018-09-25 Silicon Laboratories Inc. Control system and method for a configurable analog to digital converter

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5168276A (en) * 1990-09-04 1992-12-01 Motorola, Inc. Automatic A/D converter operation using a programmable control table
US6346908B1 (en) * 1998-08-03 2002-02-12 Motorola, Inc. Apparatus for converting an analog signal utilizing resistor D/A converter precharging

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4308598A (en) 1979-07-09 1981-12-29 The Anaconda Company Simplified roll along switching
JPS56116147A (en) 1980-02-20 1981-09-11 Hitachi Ltd Digital semiconductor integrated circuit and digital control system using it
JPS60237527A (en) 1984-05-11 1985-11-26 Mitsubishi Electric Corp A-d converting device
GB2188806B (en) 1986-04-05 1989-11-01 Burr Brown Ltd Method and apparatus for improved interface unit between analog input signals and a digital signal bus
GB2198897A (en) 1986-12-18 1988-06-22 Burr Brown Ltd Analog input system
JP2574909B2 (en) 1989-12-11 1997-01-22 三菱電機株式会社 Microcomputer
JPH04160438A (en) 1990-10-23 1992-06-03 Mitsubishi Electric Corp Semiconductor device
DE69316559T2 (en) 1992-12-03 1998-09-10 Advanced Micro Devices Inc Servo loop control
US5581794A (en) 1992-12-18 1996-12-03 Amdahl Corporation Apparatus for generating a channel time-out signal after 16.38 milliseconds
US5600845A (en) 1994-07-27 1997-02-04 Metalithic Systems Incorporated Integrated circuit computing device comprising a dynamically configurable gate array having a microprocessor and reconfigurable instruction execution means and method therefor
JPH10143350A (en) 1996-11-06 1998-05-29 Nec Corp First-in first-out memory control system
US6480913B1 (en) 1998-07-17 2002-11-12 3Dlabs Inc. Led. Data sequencer with MUX select input for converting input data stream and to specific output data stream using two exclusive-or logic gates and counter
GB9818377D0 (en) 1998-08-21 1998-10-21 Sgs Thomson Microelectronics An integrated circuit with multiple processing cores

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5168276A (en) * 1990-09-04 1992-12-01 Motorola, Inc. Automatic A/D converter operation using a programmable control table
US6346908B1 (en) * 1998-08-03 2002-02-12 Motorola, Inc. Apparatus for converting an analog signal utilizing resistor D/A converter precharging

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103452674A (en) * 2013-07-24 2013-12-18 长安大学 Control system and control method for mining acceleration potential of aero-engine
JP2016528834A (en) * 2013-08-15 2016-09-15 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツングRobert Bosch Gmbh Universal control and evaluation unit, especially for the operation of lambda sensors
CN105610445A (en) * 2015-12-21 2016-05-25 哈尔滨工业大学 High temperature resistant multi-path measurement signal switching circuit based on time-sharing power supply technology
CN116112017A (en) * 2023-04-14 2023-05-12 湖南恩智测控技术有限公司 ADC sampling method, circuit, system and storage medium

Also Published As

Publication number Publication date
US7209066B1 (en) 2007-04-24

Similar Documents

Publication Publication Date Title
US7209066B1 (en) Circuit and method for extending microcontroller analog input capability
US20050024250A1 (en) Space efficient low power cyclic A/D converter
EP2171855B1 (en) Multiplexing aware sigma-delta analog-to-digital converter
JP2001523429A (en) Signal conditioning circuit with ADC / DAC combined sensor system and method
US20200380347A1 (en) Neural network, method of control of neural network, and processor of neural network
JPH11122107A (en) A/d converter circuit with selectable input gain
US9575619B2 (en) Data capture design tool for designing and configuring systems with analog front ends
AU619417B2 (en) Feedback control system
EP1672322B1 (en) Reconfigurable input/output interface
EP2786494A2 (en) Analog-to-digital converter with early interrupt capability
US7471229B2 (en) Analog-to-digital converter with low latency output path
US10326465B1 (en) Analog to digital converter device and method for generating testing signal
JP5827314B2 (en) Voltage management method and system for analog to digital conversion
US8046087B2 (en) Electronic controller for power converter and motor drive circuit
CN219122349U (en) Chip function analog circuit and electronic equipment
KR102270470B1 (en) Analog-to-Digital Converter with Variable Bandwidth by Sensor
CN215987069U (en) Voltage output device and voltage output system
US9628100B2 (en) Analog-to-digital conversion device for multiple input signals and conversion method therefor
EP3511786B1 (en) Signal processing device and control method of signal processing device
CN213402824U (en) Power supply control integrated circuit and electronic device
JP2011171974A (en) Cyclic type a/d converter
US20240088908A1 (en) Analog-to-digital converter (adc) auto-sequential canning with expansion multiplexer(s) and auxiliary circuit configuration control(s)
US10530340B1 (en) Methods and apparatus for a dynamic addressing decimation filter
US20220416572A1 (en) Software-defined electrical power management and distribution controller for remote systems
JP2002261612A (en) A/d conversion device

Legal Events

Date Code Title Description
AS Assignment

Owner name: HONEYWELL INTERNATIONAL, INC., NEW JERSEY

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:TRUMBO, DALE A.;REEL/FRAME:017132/0448

Effective date: 20051018

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20110424