US20030201925A1 - A/d converter with noise elimination function - Google Patents

A/d converter with noise elimination function Download PDF

Info

Publication number
US20030201925A1
US20030201925A1 US10/326,055 US32605502A US2003201925A1 US 20030201925 A1 US20030201925 A1 US 20030201925A1 US 32605502 A US32605502 A US 32605502A US 2003201925 A1 US2003201925 A1 US 2003201925A1
Authority
US
United States
Prior art keywords
conversion
noise
signal
bit
detector
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
US10/326,055
Other versions
US6639540B1 (en
Inventor
Teruyuki Kogo
Kenji Kubo
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.)
Renesas Design Corp
Mitsubishi Electric Corp
Original Assignee
Renesas Design Corp
Mitsubishi Electric Corp
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 Renesas Design Corp, Mitsubishi Electric Corp filed Critical Renesas Design Corp
Assigned to MITSUBISHI DENKI KABUSHIKI KAISHA, MITSUBISHI ELECTRIC SYSTEMS LSI DESIGN CORPORATION reassignment MITSUBISHI DENKI KABUSHIKI KAISHA ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KOGO, TERUYUKI, KUBO, KENJI
Application granted granted Critical
Publication of US6639540B1 publication Critical patent/US6639540B1/en
Publication of US20030201925A1 publication Critical patent/US20030201925A1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/06Continuously compensating for, or preventing, undesired influence of physical parameters
    • H03M1/08Continuously compensating for, or preventing, undesired influence of physical parameters of noise
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/06Continuously compensating for, or preventing, undesired influence of physical parameters
    • H03M1/08Continuously compensating for, or preventing, undesired influence of physical parameters of noise
    • H03M1/0845Continuously compensating for, or preventing, undesired influence of physical parameters of noise of power supply variations, e.g. ripple
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters

Definitions

  • the present invention relates to an A/D converter with noise elimination function in a semiconductor device.
  • FIG. 10 is a block diagram showing a configuration of a conventional A/D converter.
  • the reference numeral 1 designates an A/D conversion reference voltage Vref
  • 2 designates a noise filtering module for removing noise from the A/D conversion reference voltage Vref 1
  • 3 designates an A/D conversion module for converting an analog input Ain to a digital output with reference to the A/D conversion reference voltage Vref 1
  • 4 designates an A/D controller for controlling the A/D conversion module 3 .
  • FIGS. 11A and 11B are tables illustrating a setting method of the A/D conversion reference voltage Vref of the A/D converter.
  • the noise filtering module 2 removes the noise of the A/D conversion reference voltage Vref 1 , and supplies its output to the A/D conversion module 3 .
  • FIG. 11A gives expressions of the relationships between the A/D conversion reference voltage Vref 1 and the reference voltage VREF in the A/D conversion module 3 ; and FIG. 11B illustrates the variations in the content of the A/D conversion register in the A/D conversion module 3 during the A/D conversion.
  • the A/D conversion register is placed at “0 . . . 0”. Subsequently, the most significant bit of the A/D conversion register is placed at “1”, and the A/D conversion reference voltage Vref 1 is supplied to the comparator in the A/D conversion module 3 , which compares the A/D conversion reference voltage Vref 1 with the analog input Ain. If the compared result is Vref ⁇ Ain, the most significant bit of the A/D conversion register is maintained at “1”, whereas if Vref>Ain, the most significant bit of the A/D conversion register is placed at “0”.
  • the A/D conversion module 3 Carrying out the foregoing operation down to the least significant bit of the A/D conversion register, the A/D conversion module 3 stores into the A/D conversion register the digital value obtained by converting the analog input Ain.
  • the conventional A/D converter cannot obtain accurate A/D conversion data when the A/D conversion reference voltage Vref 1 includes noise.
  • it includes the noise filtering module 2 for removing noise from the A/D conversion reference voltage Vref 1 so as to supply the noise reduced A/D conversion reference voltage Vref 1 to the A/D conversion module 3 .
  • the conventional A/D converter has a problem of being unable to obtain the accurate A/D conversion data if the A/D conversion reference voltage Vref 1 includes noise that cannot be removed by the noise filtering module 2 .
  • it has a problem of increasing the circuit scale because of the noise filtering module 2 .
  • the present invention is implemented to solve the foregoing problems. It is therefore an object of the present invention to provide an A/D converter capable of obtaining reliable A/D conversion data without increasing the circuit scale so much even if the A/D conversion reference voltage includes noise.
  • an A/D converter including: an A/D operation controller for generating a bit-shift signal in response to a detection signal fed from a detector; and an A/D conversion module for carrying out A/D conversion with reference to an A/D conversion reference voltage, for discarding an A/D conversion resultant bit affected by noise in response to the bit-shift signal, for holding remaining A/D conversion resultant bits, and for restarting the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible. It offers an advantage of being able to improve the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by sudden noise or crosstalk noise during the USB communication.
  • an A/D converter including: an A/D conversion module for generating A/D conversion resultant data by carrying out A/D conversion of an analog input signal with reference to an A/D conversion reference voltage; and an A/D operation controller for deciding an A/D conversion resultant bit affected by noise in response to the detection signal and to the A/D conversion resultant data, and for outputting reliability information together with the A/D conversion resultant data. It can learn the reliability of the A/D conversion resultant data affected by the sudden noise or crosstalk noise during the USB communication. As a result, it offers an advantage of being able to improve the reliability of the A/D conversion data by discarding the A/D conversion resultant data with the reliability less than a certain level.
  • FIG. 1 is a block diagram showing a configuration of an embodiment 1 of the A/D converter in accordance with the present invention
  • FIG. 2 is a block diagram showing a configuration of an embodiment 2 of the A/D converter in accordance with the present invention
  • FIG. 3 is a block diagram showing a configuration of an embodiment 3 of the A/D converter in accordance with the present invention.
  • FIG. 4 is a block diagram showing a configuration of an embodiment 4 of the A/D converter in accordance with the present invention.
  • FIG. 5 is a block diagram showing a configuration of a semiconductor device with a USB function associated with an embodiment 5 in accordance with the present invention:
  • FIG. 6 is a block diagram showing a configuration of the embodiment 5 of the A/D converter in accordance with the present invention.
  • FIG. 7 is a block diagram showing a configuration of an embodiment 6 of the A/D converter in accordance with the present invention.
  • FIG. 8 is a block diagram showing a configuration of an embodiment 7 of the A/D converter in accordance with the present invention.
  • FIG. 9 is a block diagram showing a configuration of an embodiment 8 of the A/D converter in accordance with the present invention.
  • FIG. 10 is a block diagram showing a configuration of a conventional A/D converter.
  • FIGS. 11A and 11B are tables illustrating a setting method of the A/D conversion reference voltage of the conventional A/D converter.
  • FIG. 1 is a block diagram showing a configuration of an embodiment 1 of the A/D converter in accordance with the present invention.
  • the reference numeral 1 designates an A/D conversion reference voltage Vref.
  • the reference numeral 11 designates a noise detector for generating a noise detection signal 14 when it detects noise in the A/D conversion reference voltage Vref 1 .
  • the noise detector 11 includes a constant voltage source 12 and a comparator 13 .
  • the reference numeral 15 designates an A/D operation controller composed of SR flip-flops and the like, for generating a bit-shift signal 16 in response to the noise detection signal 14 fed from the noise detector 11 .
  • the reference numeral 17 designates an A/D conversion module for converting an analog input Ain to a digital output with reference to the A/D conversion reference voltage Vref 1 ; and 18 designates an A/D controller that discards an A/D conversion resultant bit affected by noise in response to the bit-shift signal 16 fed from the A/D operation controller 15 , holds the remaining A/D conversion resultant bits, and restarts the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible.
  • the noise detector 11 detects the noise, and supplies the noise detection signal 14 to the A/D operation controller 15 .
  • the A/D operation controller 15 In response to the noise detection signal 14 , the A/D operation controller 15 generates the bit-shift signal 16 for removing the A/D conversion resultant bit affected by the noise using the SR flip-flops and the like.
  • the A/D controller 18 discards the A/D conversion resultant bit affected by the noise in response to the bit-shift signal 16 fed from the A/D operation controller 15 . Then, the A/D conversion module 17 , which holds the remaining A/D conversion resultant bits, restarts the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible.
  • the present embodiment 1 can improved the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by sudden noise.
  • the present embodiment does not require any general-purpose counter, and can perform the A/D conversion with simpler operation without interrupting the A/D conversion.
  • the present embodiment 1 can improve the reliability of the A/D conversion data by using simple circuits such as the noise detector 11 and A/D operation controller 15 without increasing the circuit scale.
  • FIG. 2 is a block diagram showing a configuration of an embodiment 2 of the A/D converter in accordance with the present invention.
  • the reference numeral 21 designates an A/D operation controller composed of SR flip-flops and the like.
  • the A/D operation controller 21 generates a start signal 22 in response to the noise detection signal 14 fed from the noise detector 11 , and generates an asserted A/D-stop_bit-shift signal 25 from the generation of the start signal 22 to the reception of an end signal 24 fed from a general-purpose counter 23 .
  • the general-purpose counter 23 starts counting a fixed time period in response to the start signal 22 fed from the A/D operation controller 21 , and generates the end signal 24 at the end of the counting.
  • the reference numeral 26 designates an A/D controller for discarding an A/D conversion resultant bit affected by the noise in response to the asserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21 , and for holding the remaining A/D conversion resultant bits.
  • the A/D controller 26 restarts A/D conversion from the A/D conversion resultant bit in response to an unasserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21 .
  • the remaining configuration is the same as that of FIG. 1.
  • the A/D operation controller 21 in FIG. 2 interrupts the A/D conversion in response to the noise detection signal 14 using the SR flip-flops and the like, generates the asserted A/D-stop_bit-shift signal 25 for removing the A/D conversion resultant bit affected by noise, and supplies it to the A/D controller 26 .
  • the A/D operation controller 21 also generates the start signal 22 , and supplies it to the general-purpose counter 23 .
  • the A/D controller 26 discards the A/D conversion resultant bit affected by noise in response to the asserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21 .
  • the A/D controller 26 holds the remaining A/D conversion resultant bits.
  • the general-purpose counter 23 starts counting the fixed time period in response to the start signal 22 , and supplies the end signal 24 to the A/D operation controller 21 at the end of the counting.
  • the fixed time period of the general-purpose counter 23 is determined considering the pulse width of the noise at such a value that the effect of the noise on the A/D conversion can be avoided.
  • the A/D operation controller 21 In response to the input of the end signal 24 , the A/D operation controller 21 , ensuring that the noise detector 11 does not generate the noise detection signal 14 , changes the A/D-stop_bit-shift signal 25 from the asserted to unasserted signal and supplies it to the A/D controller 26 .
  • the A/D controller 26 restarts the A/D conversion from the discarded A/D conversion resultant bit in response to the unasserted A/D-stop_bit-shift signal 25 .
  • the present embodiment 2 can improve the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by the sudden noise.
  • the present embodiment 2 can prevent the adverse effect of the noise on the A/D conversion data.
  • FIG. 3 is a block diagram showing a configuration of an embodiment 3 of the A/D converter in accordance with the present invention.
  • the reference numeral 27 designates a CPU that starts counting a fixed time period on software in response to the start signal 22 fed from the A/D operation controller 21 , and generates the end signal 24 at the end of the counting.
  • the remaining configuration is the same as that of FIG. 2.
  • the present embodiment 3 replaces the general-purpose counter 23 of the foregoing embodiment 2 by the CPU 27 .
  • the CPU 27 starts counting the fixed time period on the software in response to the start signal 22 fed from the A/D operation controller 21 , and supplies the end signal 24 to the A/D operation controller 21 at the end of the counting.
  • the remaining operation is the same as that of the foregoing embodiment 2.
  • the present embodiment 3 can improve the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by sudden noise.
  • the A/D conversion module 17 halts the A/D conversion only for the fixed time period counted by the CPU 27 from the detection of the noise, it can prevent the adverse effect of the noise on the A/D conversion data.
  • FIG. 4 is a block diagram showing a configuration of an embodiment 4 of the A/D converter in accordance with the present invention.
  • the reference numeral 3 designates an A/D conversion module for converting the analog input Ain to the digital output in accordance with the A/D conversion reference voltage Vref 1 ; and 4 designates an A/D controller for controlling the A/D conversion module 3 .
  • the reference numeral 28 designates A/D conversion resultant data output from the A/D conversion module 3 .
  • the reference numeral 29 designates an A/D operation controller that decides an A/D conversion resultant bit affected by noise in response to the noise detection signal 14 fed from the noise detector 11 and to the A/D conversion resultant data 28 fed from the A/D conversion module 3 , and outputs A/D data 30 including the A/D conversion resultant data 28 and its reliability information.
  • the reference numeral 31 designates a CPU for making a decision from the A/D data 30 as to whether to adopt the A/D conversion resultant data 28 or not in response to the reliability information.
  • the remaining configuration is the same as that of FIG. 1.
  • the A/D conversion module 3 converts the analog input Ain to the digital output with reference to the A/D conversion reference voltage Vref 1 , and outputs the A/D conversion resultant data 28 .
  • the A/D operation controller 29 decides an A/D conversion resultant bit affected by noise in response to the noise detection signal 14 fed from the noise detector 11 and to the A/D conversion resultant data 28 fed from the A/D conversion module 3 , and decides the reliability of the A/D conversion resultant data 28 . Then, the A/D operation controller 29 outputs the A/D data 30 including the A/D conversion resultant data 28 and its reliability information.
  • the CPU 31 makes a decision from the A/D data 30 as to whether to adopt the A/D conversion resultant data 28 or not in response to the reliability information.
  • the present embodiment 4 can learn the reliability of the A/D conversion resultant data 28 affected by the sudden noise. As an example of using the reliability information, the present embodiment 4 can discard the A/D conversion resultant data 28 with the reliability below a certain level, thereby being able to improve the reliability of the A/D conversion data.
  • FIG. 5 is a block diagram showing a configuration of a semiconductor device with a USB (Universal Serial Bus) function associated with an embodiment 5 in accordance with the present invention.
  • the reference numeral 41 designates a USB device including a power supply terminal Vcc, an A/D conversion reference voltage terminal Vref, USB communication signal terminals D+ and D ⁇ , and a ground terminal GND.
  • the reference numeral 42 designates a USB cable; and 43 designates a USB host including a power supply terminal Vcc, USB communication signal terminals D+ and D ⁇ , and a ground terminal GND.
  • FIG. 6 is a block diagram showing a configuration of an embodiment 5 of the A/D converter in accordance with the present invention.
  • the reference numeral 51 designates a USB communication signal D ⁇ ; and 52 designates an edge detector for detecting an edge of the USB communication signal D ⁇ , and for generating an edge detection signal 55 when it detects the occurrence of the USB communication.
  • the edge detector 52 includes a constant voltage source 53 and a comparator 54 .
  • the reference numeral 15 designates an A/D operation controller that is composed of SR flip-flops and the like, and generates a bit-shift signal 16 in response to the edge detection signal 55 fed from the edge detector 52 .
  • the reference numeral 56 designates an A/D conversion reference voltage Vref provided by the USB communication.
  • the reference numeral 17 designates an A/D conversion module for converting the analog input Ain to the digital output with reference to the A/D conversion reference voltage Vref 56 provided by the USB communication; and 18 designates an A/D controller that discards an A/D conversion resultant bit affected by noise in response to the bit-shift signal 16 fed from the A/D operation controller 15 , holds the remaining A/D conversion resultant bits, and restarts the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible.
  • the present embodiment 5 has the USB (Universal Serial Bus) function associated with the USB device 41 , USB cable 42 and USB host 43 , and has a mode of supplying the power supply Vcc and A/D conversion reference voltage Vref from the USB host 43 to the USB device 41 through the USB cable 42 .
  • the USB cable 42 has crosstalk noise occurring therein.
  • the A/D conversion in accordance with the A/D conversion reference voltage Vref provided by the USB communication will degrade the A/D conversion accuracy.
  • the present embodiment 5 is implemented to circumvent the degradation in the A/D conversion accuracy.
  • the edge detector 52 detects the edge of the USB communication signal D ⁇ , and generates the edge detection signal 55 .
  • the A/D operation controller 15 In response to the edge detection signal 55 , the A/D operation controller 15 generates the bit-shift signal 16 for removing the A/D conversion resultant bit affected by the noise using the SR flip-flops and the like.
  • the A/D conversion module 17 which carries out the A/D conversion of the analog input Ain in accordance with the A/D conversion reference voltage Vref 56 provided by the USB communication, the A/D controller 18 discards the A/D conversion resultant bit affected by the noise in response to the bit-shift signal 16 fed from the A/D operation controller 15 . Then, the A/D conversion module 17 holds the remaining A/D conversion resultant bits, and restarts the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible.
  • the present embodiment 5 can improved the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by the crosstalk noise occurring during the USB communication.
  • the present embodiment does not require any general-purpose counter, and can perform the A/D conversion with simpler operation without interrupting the A/D conversion.
  • the present embodiment 5 can improve the reliability of the A/D conversion data by using simple circuits such as the edge detector 52 and A/D operation controller 15 without increasing the circuit scale.
  • FIG. 7 is a block diagram showing a configuration of an embodiment 6 of the A/D converter in accordance with the present invention.
  • the reference numeral 21 designates an A/D operation controller composed of SR flip-flops and the like.
  • the A/D operation controller 21 generates a start signal 22 in response to the edge detection signal 55 fed from the edge detector 52 , and continues to generate an asserted A/D-stop_bit-shift signal 25 during the time from the generation of the start signal 22 to the reception of an end signal 24 from a general-purpose counter 23 .
  • the general-purpose counter 23 starts counting of the fixed time period in response to the start signal 22 fed from the A/D operation controller 21 , and generates the end signal 24 at the end of the counting.
  • the reference numeral 26 designates an A/D controller for discarding an A/D conversion resultant bit affected by the noise in response to the asserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21 , and for holding the remaining A/D conversion resultant bits.
  • the A/D controller 26 restarts A/D conversion from the A/D conversion resultant bit in response to the unasserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21 .
  • the remaining configuration is the same as that of FIG. 6.
  • the A/D operation controller 21 in FIG. 7 interrupts the A/D conversion in response to the edge detection signal 55 using the SR flip-flops and the like, generates the asserted A/D-stop_bit-shift signal 25 for removing the A/D conversion resultant bit affected by noise, and supplies it to the A/D controller 26 .
  • the A/D operation controller 21 also generates the start signal 22 , and supplies it to the general-purpose counter 23 .
  • the A/D controller 26 discards the A/D conversion resultant bit affected by noise in response to the asserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21 .
  • the A/D controller 26 holds the remaining A/D conversion resultant bits.
  • the general-purpose counter 23 starts counting the fixed time period in response to the start signal 22 , and supplies the end signal 24 to the A/D operation controller 21 at the end of the counting.
  • the fixed time period of the general-purpose counter 23 is determined considering the pulse width of the noise at such a value that the effect of the noise on the A/D conversion can be avoided.
  • the A/D operation controller 21 In response to the input of the end signal 24 , the A/D operation controller 21 , ensuring that the edge detector 52 does not generate the edge detection signal 55 , changes the A/D-stop_bit-shift signal 25 from the asserted to unasserted signal and supplies it to the A/D controller 26 .
  • the A/D controller 26 restarts the A/D conversion from the discarded A/D conversion resultant bit in response to the unasserted A/D-stop_bit-shift signal 25 .
  • the present embodiment 6 can improve the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by the crosstalk noise occurring during the USB communication.
  • the present embodiment 6 can prevent the adverse effect of the crosstalk noise on the A/D conversion data.
  • FIG. 8 is a block diagram showing a configuration of an embodiment 7 of the A/D converter in accordance with the present invention.
  • the reference numeral 27 designates a CPU that starts counting of the fixed time period on software in response to the start signal 22 fed from the A/D operation controller 21 , and generates the end signal 24 at the end of the counting.
  • the remaining configuration is the same as that of FIG. 7.
  • the present embodiment 7 replaces the general-purpose counter 23 of the foregoing embodiment 6 by the CPU 27 .
  • the CPU 27 starts counting the fixed time period on the software in response to the start signal 22 , and supplies the end signal 24 to the A/D operation controller 21 at the end of the counting.
  • the remaining operation is the same as that of the foregoing embodiment 6.
  • the present embodiment 7 can improve the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by the crosstalk noise occurring during the USB communication.
  • the A/D conversion module 17 halts the A/D conversion only for the fixed time period counted by the CPU 27 from the detection of the USB communication, it can prevent the adverse effect of the crosstalk noise on the A/D conversion data.
  • FIG. 9 is a block diagram showing a configuration of an embodiment 8 of the A/D converter in accordance with the present invention.
  • the reference numeral 3 designates an A/D conversion module for converting the analog input Ain to the digital output in accordance with the A/D conversion reference voltage Vref 56 ; and 4 designates an A/D controller for controlling the A/D conversion module 3 .
  • the reference numeral 28 designates A/D conversion resultant data output from the A/D conversion module 3 .
  • the reference numeral 29 designates an A/D operation controller that decides an A/D conversion resultant bit affected by noise in response to the edge detection signal 55 fed from the edge detector 52 and to the A/D conversion resultant data 28 fed from the A/D conversion module 3 , and outputs A/D data 30 including the A/D conversion resultant data 28 and its reliability information.
  • the reference numeral 31 designates a CPU for making a decision from the A/D data 30 as to whether to adopt the A/D conversion resultant data 28 or not in response to the reliability information.
  • the remaining configuration is the same as that of FIG. 6.
  • the A/D conversion module 3 converts the analog input Ain to the digital output with reference to the A/D conversion reference voltage Vref 56 provided through the USB communication, and outputs the A/D conversion resultant data 28 .
  • the A/D operation controller 29 decides an A/D conversion resultant bit affected by noise in response to the edge detection signal 55 fed from the edge detector 52 and to the A/D conversion resultant data 28 fed from the A/D conversion module 3 , and decides the reliability of the A/D conversion resultant data 28 . Then, the A/D operation controller 29 outputs the A/D data 30 including the A/D conversion resultant data 28 and its reliability information.
  • the CPU 31 makes a decision from the A/D data 30 as to whether to adopt the A/D conversion resultant data 28 or not in response to the reliability information.
  • the present embodiment 8 can learn the reliability of the A/D conversion resultant data 28 affected by the crosstalk noise occurring during the USB communication. As an example of using the reliability information, the present embodiment 8 can discard the A/D conversion resultant data 28 with the reliability below a certain level, thereby being able to improve the reliability of the A/D conversion data.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

An A/D converter includes a noise detector for generating a noise detection signal when it detects noise in an A/D conversion reference voltage; an A/D operation controller for generating a bit-shift signal in response to the noise detection signal; and an A/D conversion module for discarding an A/D conversion resultant bit affected by noise in response to the bit-shift signal, for holding the remaining A/D conversion resultant bits, and for restarting the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible. The A/D converter can obtain reliable A/D conversion data against the noise in the A/D conversion reference voltage without increasing the circuit scale so much.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention [0001]
  • The present invention relates to an A/D converter with noise elimination function in a semiconductor device. [0002]
  • 2. Description of Related Art [0003]
  • FIG. 10 is a block diagram showing a configuration of a conventional A/D converter. In FIG. 10, the [0004] reference numeral 1 designates an A/D conversion reference voltage Vref; 2 designates a noise filtering module for removing noise from the A/D conversion reference voltage Vref 1; 3 designates an A/D conversion module for converting an analog input Ain to a digital output with reference to the A/D conversion reference voltage Vref 1; and 4 designates an A/D controller for controlling the A/D conversion module 3.
  • FIGS. 11A and 11B are tables illustrating a setting method of the A/D conversion reference voltage Vref of the A/D converter. [0005]
  • Next, the operation of the conventional A/D converter will be described. [0006]
  • In FIG. 10, the [0007] noise filtering module 2 removes the noise of the A/D conversion reference voltage Vref 1, and supplies its output to the A/D conversion module 3.
  • FIG. 11A gives expressions of the relationships between the A/D conversion [0008] reference voltage Vref 1 and the reference voltage VREF in the A/D conversion module 3; and FIG. 11B illustrates the variations in the content of the A/D conversion register in the A/D conversion module 3 during the A/D conversion.
  • When the A/D conversion is started, the A/D conversion register is placed at “0 . . . 0”. Subsequently, the most significant bit of the A/D conversion register is placed at “1”, and the A/D conversion [0009] reference voltage Vref 1 is supplied to the comparator in the A/D conversion module 3, which compares the A/D conversion reference voltage Vref 1 with the analog input Ain. If the compared result is Vref<Ain, the most significant bit of the A/D conversion register is maintained at “1”, whereas if Vref>Ain, the most significant bit of the A/D conversion register is placed at “0”.
  • Carrying out the foregoing operation down to the least significant bit of the A/D conversion register, the A/[0010] D conversion module 3 stores into the A/D conversion register the digital value obtained by converting the analog input Ain.
  • With the foregoing configuration, the conventional A/D converter cannot obtain accurate A/D conversion data when the A/D conversion [0011] reference voltage Vref 1 includes noise. Thus, it includes the noise filtering module 2 for removing noise from the A/D conversion reference voltage Vref 1 so as to supply the noise reduced A/D conversion reference voltage Vref 1 to the A/D conversion module 3.
  • However, the conventional A/D converter has a problem of being unable to obtain the accurate A/D conversion data if the A/D conversion [0012] reference voltage Vref 1 includes noise that cannot be removed by the noise filtering module 2. In addition, it has a problem of increasing the circuit scale because of the noise filtering module 2.
  • SUMMARY OF THE INVENTION
  • The present invention is implemented to solve the foregoing problems. It is therefore an object of the present invention to provide an A/D converter capable of obtaining reliable A/D conversion data without increasing the circuit scale so much even if the A/D conversion reference voltage includes noise. [0013]
  • According to a first aspect of the present invention, there is provided an A/D converter including: an A/D operation controller for generating a bit-shift signal in response to a detection signal fed from a detector; and an A/D conversion module for carrying out A/D conversion with reference to an A/D conversion reference voltage, for discarding an A/D conversion resultant bit affected by noise in response to the bit-shift signal, for holding remaining A/D conversion resultant bits, and for restarting the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible. It offers an advantage of being able to improve the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by sudden noise or crosstalk noise during the USB communication. [0014]
  • According to a second aspect of the present invention, there is provided an A/D converter including: an A/D conversion module for generating A/D conversion resultant data by carrying out A/D conversion of an analog input signal with reference to an A/D conversion reference voltage; and an A/D operation controller for deciding an A/D conversion resultant bit affected by noise in response to the detection signal and to the A/D conversion resultant data, and for outputting reliability information together with the A/D conversion resultant data. It can learn the reliability of the A/D conversion resultant data affected by the sudden noise or crosstalk noise during the USB communication. As a result, it offers an advantage of being able to improve the reliability of the A/D conversion data by discarding the A/D conversion resultant data with the reliability less than a certain level.[0015]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram showing a configuration of an [0016] embodiment 1 of the A/D converter in accordance with the present invention;
  • FIG. 2 is a block diagram showing a configuration of an [0017] embodiment 2 of the A/D converter in accordance with the present invention;
  • FIG. 3 is a block diagram showing a configuration of an [0018] embodiment 3 of the A/D converter in accordance with the present invention;
  • FIG. 4 is a block diagram showing a configuration of an [0019] embodiment 4 of the A/D converter in accordance with the present invention;
  • FIG. 5 is a block diagram showing a configuration of a semiconductor device with a USB function associated with an [0020] embodiment 5 in accordance with the present invention:
  • FIG. 6 is a block diagram showing a configuration of the [0021] embodiment 5 of the A/D converter in accordance with the present invention;
  • FIG. 7 is a block diagram showing a configuration of an [0022] embodiment 6 of the A/D converter in accordance with the present invention;
  • FIG. 8 is a block diagram showing a configuration of an [0023] embodiment 7 of the A/D converter in accordance with the present invention;
  • FIG. 9 is a block diagram showing a configuration of an [0024] embodiment 8 of the A/D converter in accordance with the present invention;
  • FIG. 10 is a block diagram showing a configuration of a conventional A/D converter; and [0025]
  • FIGS. 11A and 11B are tables illustrating a setting method of the A/D conversion reference voltage of the conventional A/D converter.[0026]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • The invention will now be described with reference to the accompanying drawings. [0027]
  • [0028] Embodiment 1
  • FIG. 1 is a block diagram showing a configuration of an [0029] embodiment 1 of the A/D converter in accordance with the present invention. In this figure, the reference numeral 1 designates an A/D conversion reference voltage Vref. The reference numeral 11 designates a noise detector for generating a noise detection signal 14 when it detects noise in the A/D conversion reference voltage Vref 1. The noise detector 11 includes a constant voltage source 12 and a comparator 13. The reference numeral 15 designates an A/D operation controller composed of SR flip-flops and the like, for generating a bit-shift signal 16 in response to the noise detection signal 14 fed from the noise detector 11. The reference numeral 17 designates an A/D conversion module for converting an analog input Ain to a digital output with reference to the A/D conversion reference voltage Vref 1; and 18 designates an A/D controller that discards an A/D conversion resultant bit affected by noise in response to the bit-shift signal 16 fed from the A/D operation controller 15, holds the remaining A/D conversion resultant bits, and restarts the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible.
  • Next, the operation of the [0030] present embodiment 1 will be described.
  • In FIG. 1, when any noise occurs in the A/D conversion [0031] reference voltage Vref 1, the noise detector 11 detects the noise, and supplies the noise detection signal 14 to the A/D operation controller 15. In response to the noise detection signal 14, the A/D operation controller 15 generates the bit-shift signal 16 for removing the A/D conversion resultant bit affected by the noise using the SR flip-flops and the like. In the A/D conversion module 17 which carries out the A/D conversion of the analog input Ain in accordance with the A/D conversion reference voltage Vref 1, the A/D controller 18 discards the A/D conversion resultant bit affected by the noise in response to the bit-shift signal 16 fed from the A/D operation controller 15. Then, the A/D conversion module 17, which holds the remaining A/D conversion resultant bits, restarts the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible.
  • As described above, the [0032] present embodiment 1 can improved the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by sudden noise.
  • In addition, the present embodiment does not require any general-purpose counter, and can perform the A/D conversion with simpler operation without interrupting the A/D conversion. [0033]
  • Furthermore, the [0034] present embodiment 1 can improve the reliability of the A/D conversion data by using simple circuits such as the noise detector 11 and A/D operation controller 15 without increasing the circuit scale.
  • [0035] Embodiment 2
  • FIG. 2 is a block diagram showing a configuration of an [0036] embodiment 2 of the A/D converter in accordance with the present invention. In this figure, the reference numeral 21 designates an A/D operation controller composed of SR flip-flops and the like. The A/D operation controller 21 generates a start signal 22 in response to the noise detection signal 14 fed from the noise detector 11, and generates an asserted A/D-stop_bit-shift signal 25 from the generation of the start signal 22 to the reception of an end signal 24 fed from a general-purpose counter 23. The general-purpose counter 23 starts counting a fixed time period in response to the start signal 22 fed from the A/D operation controller 21, and generates the end signal 24 at the end of the counting. The reference numeral 26 designates an A/D controller for discarding an A/D conversion resultant bit affected by the noise in response to the asserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21, and for holding the remaining A/D conversion resultant bits. The A/D controller 26 restarts A/D conversion from the A/D conversion resultant bit in response to an unasserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21. The remaining configuration is the same as that of FIG. 1.
  • Next, the operation of the [0037] present embodiment 2 will be described.
  • The A/[0038] D operation controller 21 in FIG. 2 interrupts the A/D conversion in response to the noise detection signal 14 using the SR flip-flops and the like, generates the asserted A/D-stop_bit-shift signal 25 for removing the A/D conversion resultant bit affected by noise, and supplies it to the A/D controller 26. The A/D operation controller 21 also generates the start signal 22, and supplies it to the general-purpose counter 23.
  • In the A/[0039] D conversion module 17 which is carrying out the A/D conversion of the analog input Ain in response to the A/D conversion reference voltage Vref 1, the A/D controller 26 discards the A/D conversion resultant bit affected by noise in response to the asserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21. The A/D controller 26 holds the remaining A/D conversion resultant bits.
  • On the other hand, the general-[0040] purpose counter 23 starts counting the fixed time period in response to the start signal 22, and supplies the end signal 24 to the A/D operation controller 21 at the end of the counting. The fixed time period of the general-purpose counter 23 is determined considering the pulse width of the noise at such a value that the effect of the noise on the A/D conversion can be avoided.
  • In response to the input of the [0041] end signal 24, the A/D operation controller 21, ensuring that the noise detector 11 does not generate the noise detection signal 14, changes the A/D-stop_bit-shift signal 25 from the asserted to unasserted signal and supplies it to the A/D controller 26. The A/D controller 26 restarts the A/D conversion from the discarded A/D conversion resultant bit in response to the unasserted A/D-stop_bit-shift signal 25.
  • As described above, the [0042] present embodiment 2 can improve the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by the sudden noise.
  • In addition, since the A/[0043] D conversion module 17 halts the A/D conversion only for the fixed time period counted by the general-purpose counter 23 from the noise detection, the present embodiment 2 can prevent the adverse effect of the noise on the A/D conversion data.
  • [0044] Embodiment 3
  • FIG. 3 is a block diagram showing a configuration of an [0045] embodiment 3 of the A/D converter in accordance with the present invention. In this figure, the reference numeral 27 designates a CPU that starts counting a fixed time period on software in response to the start signal 22 fed from the A/D operation controller 21, and generates the end signal 24 at the end of the counting. The remaining configuration is the same as that of FIG. 2.
  • Next, the operation of the [0046] present embodiment 3 will be described.
  • The [0047] present embodiment 3 replaces the general-purpose counter 23 of the foregoing embodiment 2 by the CPU 27.
  • In FIG. 3, the [0048] CPU 27 starts counting the fixed time period on the software in response to the start signal 22 fed from the A/D operation controller 21, and supplies the end signal 24 to the A/D operation controller 21 at the end of the counting. The remaining operation is the same as that of the foregoing embodiment 2.
  • As described above, the [0049] present embodiment 3 can improve the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by sudden noise.
  • In addition, since the A/[0050] D conversion module 17 halts the A/D conversion only for the fixed time period counted by the CPU 27 from the detection of the noise, it can prevent the adverse effect of the noise on the A/D conversion data.
  • Furthermore, using the [0051] CPU 27 can obviate the need for the general-purpose counter 23.
  • [0052] Embodiment 4
  • FIG. 4 is a block diagram showing a configuration of an [0053] embodiment 4 of the A/D converter in accordance with the present invention. In this figure, the reference numeral 3 designates an A/D conversion module for converting the analog input Ain to the digital output in accordance with the A/D conversion reference voltage Vref 1; and 4 designates an A/D controller for controlling the A/D conversion module 3. The reference numeral 28 designates A/D conversion resultant data output from the A/D conversion module 3.
  • The [0054] reference numeral 29 designates an A/D operation controller that decides an A/D conversion resultant bit affected by noise in response to the noise detection signal 14 fed from the noise detector 11 and to the A/D conversion resultant data 28 fed from the A/D conversion module 3, and outputs A/D data 30 including the A/D conversion resultant data 28 and its reliability information. The reference numeral 31 designates a CPU for making a decision from the A/D data 30 as to whether to adopt the A/D conversion resultant data 28 or not in response to the reliability information. The remaining configuration is the same as that of FIG. 1.
  • Next, the operation of the [0055] present embodiment 4 will be described.
  • The A/[0056] D conversion module 3 converts the analog input Ain to the digital output with reference to the A/D conversion reference voltage Vref 1, and outputs the A/D conversion resultant data 28.
  • The A/[0057] D operation controller 29 decides an A/D conversion resultant bit affected by noise in response to the noise detection signal 14 fed from the noise detector 11 and to the A/D conversion resultant data 28 fed from the A/D conversion module 3, and decides the reliability of the A/D conversion resultant data 28. Then, the A/D operation controller 29 outputs the A/D data 30 including the A/D conversion resultant data 28 and its reliability information.
  • The [0058] CPU 31 makes a decision from the A/D data 30 as to whether to adopt the A/D conversion resultant data 28 or not in response to the reliability information.
  • As described above, the [0059] present embodiment 4 can learn the reliability of the A/D conversion resultant data 28 affected by the sudden noise. As an example of using the reliability information, the present embodiment 4 can discard the A/D conversion resultant data 28 with the reliability below a certain level, thereby being able to improve the reliability of the A/D conversion data.
  • [0060] Embodiment 5
  • FIG. 5 is a block diagram showing a configuration of a semiconductor device with a USB (Universal Serial Bus) function associated with an [0061] embodiment 5 in accordance with the present invention. In this figure, the reference numeral 41 designates a USB device including a power supply terminal Vcc, an A/D conversion reference voltage terminal Vref, USB communication signal terminals D+ and D−, and a ground terminal GND. The reference numeral 42 designates a USB cable; and 43 designates a USB host including a power supply terminal Vcc, USB communication signal terminals D+ and D−, and a ground terminal GND.
  • FIG. 6 is a block diagram showing a configuration of an [0062] embodiment 5 of the A/D converter in accordance with the present invention. In this figure, the reference numeral 51 designates a USB communication signal D−; and 52 designates an edge detector for detecting an edge of the USB communication signal D−, and for generating an edge detection signal 55 when it detects the occurrence of the USB communication. The edge detector 52 includes a constant voltage source 53 and a comparator 54. The reference numeral 15 designates an A/D operation controller that is composed of SR flip-flops and the like, and generates a bit-shift signal 16 in response to the edge detection signal 55 fed from the edge detector 52.
  • The [0063] reference numeral 56 designates an A/D conversion reference voltage Vref provided by the USB communication. The reference numeral 17 designates an A/D conversion module for converting the analog input Ain to the digital output with reference to the A/D conversion reference voltage Vref 56 provided by the USB communication; and 18 designates an A/D controller that discards an A/D conversion resultant bit affected by noise in response to the bit-shift signal 16 fed from the A/D operation controller 15, holds the remaining A/D conversion resultant bits, and restarts the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible.
  • Next, the operation of the [0064] present embodiment 5 will be described.
  • In FIG. 5, the [0065] present embodiment 5 has the USB (Universal Serial Bus) function associated with the USB device 41, USB cable 42 and USB host 43, and has a mode of supplying the power supply Vcc and A/D conversion reference voltage Vref from the USB host 43 to the USB device 41 through the USB cable 42. In the USB communication using the USB communication signals D+ and D−, the USB cable 42 has crosstalk noise occurring therein. As a result, the A/D conversion in accordance with the A/D conversion reference voltage Vref provided by the USB communication will degrade the A/D conversion accuracy. The present embodiment 5 is implemented to circumvent the degradation in the A/D conversion accuracy.
  • In FIG. 6, when the USB communication takes place using the USB communication signal D−, the [0066] edge detector 52 detects the edge of the USB communication signal D−, and generates the edge detection signal 55. In response to the edge detection signal 55, the A/D operation controller 15 generates the bit-shift signal 16 for removing the A/D conversion resultant bit affected by the noise using the SR flip-flops and the like. In the A/D conversion module 17 which carries out the A/D conversion of the analog input Ain in accordance with the A/D conversion reference voltage Vref 56 provided by the USB communication, the A/D controller 18 discards the A/D conversion resultant bit affected by the noise in response to the bit-shift signal 16 fed from the A/D operation controller 15. Then, the A/D conversion module 17 holds the remaining A/D conversion resultant bits, and restarts the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible.
  • As described above, the [0067] present embodiment 5 can improved the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by the crosstalk noise occurring during the USB communication.
  • In addition, the present embodiment does not require any general-purpose counter, and can perform the A/D conversion with simpler operation without interrupting the A/D conversion. [0068]
  • Furthermore, the [0069] present embodiment 5 can improve the reliability of the A/D conversion data by using simple circuits such as the edge detector 52 and A/D operation controller 15 without increasing the circuit scale.
  • [0070] Embodiment 6
  • FIG. 7 is a block diagram showing a configuration of an [0071] embodiment 6 of the A/D converter in accordance with the present invention. In this figure, the reference numeral 21 designates an A/D operation controller composed of SR flip-flops and the like. The A/D operation controller 21 generates a start signal 22 in response to the edge detection signal 55 fed from the edge detector 52, and continues to generate an asserted A/D-stop_bit-shift signal 25 during the time from the generation of the start signal 22 to the reception of an end signal 24 from a general-purpose counter 23. The general-purpose counter 23 starts counting of the fixed time period in response to the start signal 22 fed from the A/D operation controller 21, and generates the end signal 24 at the end of the counting. The reference numeral 26 designates an A/D controller for discarding an A/D conversion resultant bit affected by the noise in response to the asserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21, and for holding the remaining A/D conversion resultant bits. The A/D controller 26 restarts A/D conversion from the A/D conversion resultant bit in response to the unasserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21. The remaining configuration is the same as that of FIG. 6.
  • Next, the operation of the [0072] present embodiment 6 will be described.
  • The A/[0073] D operation controller 21 in FIG. 7 interrupts the A/D conversion in response to the edge detection signal 55 using the SR flip-flops and the like, generates the asserted A/D-stop_bit-shift signal 25 for removing the A/D conversion resultant bit affected by noise, and supplies it to the A/D controller 26. The A/D operation controller 21 also generates the start signal 22, and supplies it to the general-purpose counter 23.
  • In the A/[0074] D conversion module 17 which is carrying out the A/D conversion of the analog input Ain in response to the A/D conversion reference voltage Vref 1, the A/D controller 26 discards the A/D conversion resultant bit affected by noise in response to the asserted A/D-stop_bit-shift signal 25 fed from the A/D operation controller 21. The A/D controller 26 holds the remaining A/D conversion resultant bits.
  • On the other hand, the general-[0075] purpose counter 23 starts counting the fixed time period in response to the start signal 22, and supplies the end signal 24 to the A/D operation controller 21 at the end of the counting. The fixed time period of the general-purpose counter 23 is determined considering the pulse width of the noise at such a value that the effect of the noise on the A/D conversion can be avoided.
  • In response to the input of the [0076] end signal 24, the A/D operation controller 21, ensuring that the edge detector 52 does not generate the edge detection signal 55, changes the A/D-stop_bit-shift signal 25 from the asserted to unasserted signal and supplies it to the A/D controller 26. The A/D controller 26 restarts the A/D conversion from the discarded A/D conversion resultant bit in response to the unasserted A/D-stop_bit-shift signal 25.
  • As described above, the [0077] present embodiment 6 can improve the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by the crosstalk noise occurring during the USB communication.
  • In addition, since the A/[0078] D conversion module 17 halts the A/D conversion only for the fixed time period counted by the general-purpose counter 23 from the detection of the USB communication, the present embodiment 6 can prevent the adverse effect of the crosstalk noise on the A/D conversion data.
  • [0079] Embodiment 7
  • FIG. 8 is a block diagram showing a configuration of an [0080] embodiment 7 of the A/D converter in accordance with the present invention. In this figure, the reference numeral 27 designates a CPU that starts counting of the fixed time period on software in response to the start signal 22 fed from the A/D operation controller 21, and generates the end signal 24 at the end of the counting. The remaining configuration is the same as that of FIG. 7.
  • Next, the operation of the [0081] present embodiment 7 will be described.
  • The [0082] present embodiment 7 replaces the general-purpose counter 23 of the foregoing embodiment 6 by the CPU 27.
  • In FIG. 8, the [0083] CPU 27 starts counting the fixed time period on the software in response to the start signal 22, and supplies the end signal 24 to the A/D operation controller 21 at the end of the counting. The remaining operation is the same as that of the foregoing embodiment 6.
  • As described above, the [0084] present embodiment 7 can improve the reliability of the A/D conversion data by discarding the A/D conversion resultant bit affected by the crosstalk noise occurring during the USB communication.
  • In addition, since the A/[0085] D conversion module 17 halts the A/D conversion only for the fixed time period counted by the CPU 27 from the detection of the USB communication, it can prevent the adverse effect of the crosstalk noise on the A/D conversion data.
  • Furthermore, using the [0086] CPU 27 can obviate the need for the general-purpose counter 23.
  • [0087] Embodiment 8
  • FIG. 9 is a block diagram showing a configuration of an [0088] embodiment 8 of the A/D converter in accordance with the present invention. In this figure, the reference numeral 3 designates an A/D conversion module for converting the analog input Ain to the digital output in accordance with the A/D conversion reference voltage Vref 56; and 4 designates an A/D controller for controlling the A/D conversion module 3. The reference numeral 28 designates A/D conversion resultant data output from the A/D conversion module 3.
  • The [0089] reference numeral 29 designates an A/D operation controller that decides an A/D conversion resultant bit affected by noise in response to the edge detection signal 55 fed from the edge detector 52 and to the A/D conversion resultant data 28 fed from the A/D conversion module 3, and outputs A/D data 30 including the A/D conversion resultant data 28 and its reliability information. The reference numeral 31 designates a CPU for making a decision from the A/D data 30 as to whether to adopt the A/D conversion resultant data 28 or not in response to the reliability information. The remaining configuration is the same as that of FIG. 6.
  • Next, the operation of the [0090] present embodiment 8 will be described.
  • The A/[0091] D conversion module 3 converts the analog input Ain to the digital output with reference to the A/D conversion reference voltage Vref 56 provided through the USB communication, and outputs the A/D conversion resultant data 28.
  • The A/[0092] D operation controller 29 decides an A/D conversion resultant bit affected by noise in response to the edge detection signal 55 fed from the edge detector 52 and to the A/D conversion resultant data 28 fed from the A/D conversion module 3, and decides the reliability of the A/D conversion resultant data 28. Then, the A/D operation controller 29 outputs the A/D data 30 including the A/D conversion resultant data 28 and its reliability information.
  • The [0093] CPU 31 makes a decision from the A/D data 30 as to whether to adopt the A/D conversion resultant data 28 or not in response to the reliability information.
  • As described above, the [0094] present embodiment 8 can learn the reliability of the A/D conversion resultant data 28 affected by the crosstalk noise occurring during the USB communication. As an example of using the reliability information, the present embodiment 8 can discard the A/D conversion resultant data 28 with the reliability below a certain level, thereby being able to improve the reliability of the A/D conversion data.

Claims (8)

What is claimed is:
1. An A/D converter comprising:
a detector for generating a detection signal when it detects a specified property of a detector input signal;
an A/D operation controller for generating a bit-shift signal in response to the detection signal fed from said detector; and
an A/D conversion module for carrying out A/D conversion with reference to an A/D conversion reference voltage, for discarding an A/D conversion resultant bit affected by noise in response to the bit-shift signal fed from said A/D operation controller, for holding remaining A/D conversion resultant bits, and for restarting the A/D conversion from the discarded A/D conversion resultant bit after the noise becomes negligible.
2. The A/D converter according to claim 1, wherein said detector consists of a noise detector that receives the A/D conversion reference voltage as the detector input signal, and generates a noise detection signal as the detection signal when it detects noise of the A/D conversion reference voltage as the specified property.
3. The A/D converter according to claim 2, further comprising a counter, wherein
said A/D operation controller generates a start signal in response to the noise detection signal fed from said noise detector, and continues to produce an asserted A/D-stop_bit-shift signal during a time period from generating the start signal to receiving an end signal from said counter;
said counter starts counting a fixed time period in response to the start signal fed from said A/D operation controller, and generates the end signal at an end of the counting; and
said A/D conversion module discards an A/D conversion resultant bit affected by noise in response to the asserted A/D-stop_bit-shift signal fed from said A/D operation controller, holds remaining A/D conversion resultant bits, and restarts the A/D conversion from the discarded A/D conversion resultant bit in response to an unasserted A/D-stop_bit-shift signal fed from said A/D operation controller.
4. The A/D converter according to claim 1, wherein said detector consists of an edge detector that receives a USB communication signal as the detector input signal, and generates an edge detection signal as the detection signal when it detects an edge of the USB communication signal as the specified property, and wherein said A/D conversion module carries out A/D conversion with reference to an A/D conversion reference voltage provided by USB communication.
5. The A/D converter according to claim 4, further comprising a counter, wherein
said A/D operation controller generates a start signal in response to the edge detection signal fed from said edge detector, and continues to produce an asserted A/D-stop_bit-shift signal during a time period from generating the start signal to receiving an end signal from said counter;
said counter starts counting a fixed time period in response to the start signal fed from said A/D operation controller, and generates the end signal at an end of the counting; and
said A/D conversion module discards an A/D conversion resultant bit affected by noise in response to the asserted A/D-stop_bit-shift signal fed from said A/D operation controller, holds remaining A/D conversion resultant bits, and restarts the A/D conversion from the discarded A/D conversion resultant bit in response to an unasserted A/D-stop_bit-shift signal fed from said A/D operation controller.
6. An A/D converter comprising:
a detector for generating a detection signal when it detects a specified property of a detector input signal;
an A/D conversion module for generating A/D conversion resultant data by carrying out A/D conversion of an analog input signal with reference to an A/D conversion reference voltage; and
an A/D operation controller for deciding an A/D conversion resultant bit affected by noise in response to the detection signal fed from said detector and to the A/D conversion resultant data fed from said A/D conversion module, and for outputting reliability information together with the A/D conversion resultant data.
7. The A/D converter according to claim 6, wherein said detector consists of a noise detector that receives the A/D conversion reference voltage as the detector input signal, and generates a noise detection signal as the detection signal when it detects noise of the A/D conversion reference voltage as the specified property.
8. The A/D converter according to claim 6, wherein said detector consists of an edge detector that receives a USB communication signal as the detector input signal, and generates an edge detection signal as the detection signal when it detects an edge of the USB communication signal as the specified property, and wherein said A/D conversion module carries out A/D conversion of the analog input signal with reference to an A/D conversion reference voltage provided by USB communication.
US10/326,055 2002-04-25 2002-12-23 A/D converter with noise elimination function Expired - Fee Related US6639540B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002124722A JP3889659B2 (en) 2002-04-25 2002-04-25 A / D converter
JP2002-124722 2002-04-25

Publications (2)

Publication Number Publication Date
US6639540B1 US6639540B1 (en) 2003-10-28
US20030201925A1 true US20030201925A1 (en) 2003-10-30

Family

ID=29243726

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/326,055 Expired - Fee Related US6639540B1 (en) 2002-04-25 2002-12-23 A/D converter with noise elimination function

Country Status (3)

Country Link
US (1) US6639540B1 (en)
JP (1) JP3889659B2 (en)
KR (1) KR20030084580A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013191976A (en) * 2012-03-13 2013-09-26 Renesas Electronics Corp Integrated circuit

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004025300A1 (en) * 2004-05-19 2005-12-15 Micronas Gmbh Device and method for noise suppression
JP4629542B2 (en) * 2005-09-27 2011-02-09 ジーイー・メディカル・システムズ・グローバル・テクノロジー・カンパニー・エルエルシー Sudden noise removal device
JP5531797B2 (en) * 2010-06-15 2014-06-25 ソニー株式会社 Solid-state imaging device and camera system
JP2015133631A (en) * 2014-01-14 2015-07-23 三菱電機株式会社 Analog-digital converter
JP2016128967A (en) * 2015-01-09 2016-07-14 住友電気工業株式会社 Electronic apparatus
JP6225240B2 (en) * 2016-12-20 2017-11-01 ルネサスエレクトロニクス株式会社 Integrated circuit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3288694B2 (en) * 1990-06-11 2002-06-04 沖電気工業株式会社 Microcomputer
JP2777291B2 (en) * 1991-04-30 1998-07-16 株式会社東芝 Analog / digital mixed circuit
WO1992022060A1 (en) * 1991-05-29 1992-12-10 Pacific Microsonics, Inc. Improved signal encode/decode system
JPH0895710A (en) * 1994-09-26 1996-04-12 Fujitsu Ltd Unit and method for controlling ad converter
JP2001111422A (en) 1999-10-13 2001-04-20 Meidensha Corp Comparing type a/d conversion circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013191976A (en) * 2012-03-13 2013-09-26 Renesas Electronics Corp Integrated circuit

Also Published As

Publication number Publication date
KR20030084580A (en) 2003-11-01
JP2003318733A (en) 2003-11-07
JP3889659B2 (en) 2007-03-07
US6639540B1 (en) 2003-10-28

Similar Documents

Publication Publication Date Title
US7082545B2 (en) Method of and device for detecting cable connection
US6833738B2 (en) Signal reception circuit, data transfer control device and electronic equipment
US6639540B1 (en) A/D converter with noise elimination function
US20090289822A1 (en) Ad converter and data processing unit
US6008672A (en) Input signal reading circuit having a small delay and a high fidelity
US6653870B2 (en) Signal detection circuit, data transfer control device and electronic equipment
US9342097B2 (en) Microcontroller and method of controlling the same
CN112782569B (en) Threshold value testing device and method for digital chip pin logic level
CN110635854A (en) Transmission protocol self-adaptive decoding system and method
US6714148B1 (en) Digital protective relay
US7281151B2 (en) Method of stopping data communication of a communication apparatus based on a detection of a power supply voltage drop
JP2520455B2 (en) Correlation peak detection circuit
US20020026467A1 (en) Microcomputer
US5390030A (en) Peak holding circuit and video processing unit using the same
US8767900B2 (en) Signal transition detection circuit and method of the same
US6944560B2 (en) Method for eliminating noise signals in radio signal receiving devices
US20230236647A1 (en) Receiver detection system and receiver detection device
JPH05191470A (en) Communication condition recognizing method for start-stop transmission
US20050144340A1 (en) Remote control receiving apparatus
JP2007155659A (en) Mode setting circuit
US5684849A (en) Digital circuit for detecting coincidence of two successive words of incoming serial data and a method thereof
KR100195645B1 (en) Method for detecting the code-data in remote controller signal
JP2001356917A (en) Pulse judging device
CN1238847A (en) Method in connection with serial data transfer to recongnize fixed pattern
CN116381471A (en) Scan test circuit, method and chip

Legal Events

Date Code Title Description
AS Assignment

Owner name: MITSUBISHI DENKI KABUSHIKI KAISHA, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KOGO, TERUYUKI;KUBO, KENJI;REEL/FRAME:013612/0723

Effective date: 20021120

Owner name: MITSUBISHI ELECTRIC SYSTEMS LSI DESIGN CORPORATION

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KOGO, TERUYUKI;KUBO, KENJI;REEL/FRAME:013612/0723

Effective date: 20021120

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

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: 20111028