ELECTRONIC DEVICE
Patent Information
- Application Number
- DE102023112346
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-05-10
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2043-05-10
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
The present disclosure relates to electronic devices, in particular to analog-to-digital converters. Electronic devices such as analog-to-digital converters, i.e. devices that provide an analog-to-digital conversion function, e.g. for processing an analog sensor signal, can have high requirements for their reliability depending on their application. For example, an electronic control unit in a motor vehicle that contains an analog-to-digital converter must generally meet a high safety standard (such as ASIL (Automotive Safety Integrity Level) D). This includes, in particular, robustness against faults in the connections between various components, such as the connection of a sensor to an analog-to-digital converter. While high reliability can be achieved through various approaches, e.g.By providing redundant elements (such as two separately connected analog-to-digital converters whose outputs are compared), these approaches increase complexity and thus, for example, the required chip area, power consumption, and cost. Accordingly, efficient approaches for detecting errors in the operation of electronic devices, especially when connecting signal sources (such as sensors) to analog-to-digital converters, are desirable. Publication US 2014 / 0 129 892 A1 describes a device in which a power supply processing unit is coupled to a PLC (Power Line Communication) modem unit. The power supply processing unit generates a composite PLC signal comprising a PLC signal and a DC signal modulated with a zero-crossing signal. The PLC modem unit extracts the PLC signal and the DC signal and processes the PLC signal using zero-crossing information extracted from the (corrected) zero-crossing signal. In particular, a feedback signal can be generated using the zero-crossing signal, which is compared with a threshold value, and, if necessary, an error signal can be generated that indicates whether the DC signal level should be increased or decreased. According to various embodiments, an electronic device is described that includes a device input for connecting an analog signal source, an analog-to-digital converter having an analog-to-digital converter input connected to the device input, an AC power source configured to supply an AC current to the analog-to-digital converter input, and a detection circuit configured to store a reference for the amplitude of a voltage signal at the analog-to-digital converter input caused by the AC current, receive an output of the analog-to-digital converter, determine the amplitude of the voltage signal at the analog-to-digital converter input caused by the AC current by filtering the output of the analog-to-digital converter, and output an error signal.if the reference for the amplitude deviates from the determined amplitude by more than a predetermined threshold, wherein the error signal indicates a fault in the connection of the analog-to-digital converter input to the device input and / or wherein the electronic device comprises one or more further terminals and the error signal indicates a fault in insulation between the input terminal and the one or more further terminals. In the drawings, like reference characters generally refer to the same parts throughout the several views. The drawings are not necessarily to scale, emphasis being generally placed upon illustrating the principles of the invention. In the following description, various aspects will be described with reference to the following drawings, in which: Fig. 1 shows an electronic device. Fig. 2 shows an electronic device with a diagnostic mechanism according to one embodiment. Fig. 3 shows diagrams illustrating examples of signals in the electronic device of Fig. 2. Fig. 4 shows an electronic device with a diagnostic mechanism for detecting errors related to multiple analog signal sources. Fig. 5 shows high-frequency time-division multiplexing for error detection. Fig.Figure 6 shows an example implementation of an IDAC (current digital-to-analog converter) according to an embodiment. Figure 7 shows a diagram illustrating an example IDAC output current. Figure 8 shows an electronic device according to an embodiment. The following detailed description refers to the accompanying drawings, which, by way of illustration, show specific details and aspects of this disclosure in which the invention may be practiced. Other aspects may be utilized, and structural, logical, and electrical changes may be made without departing from the scope of the invention. The various aspects of this disclosure are not necessarily mutually exclusive, as some aspects of this disclosure may be combined with one or more other aspects of this disclosure to form new aspects. Fig. 1 shows an electronic device 100. The electronic device 100 is, for example, an electronic control unit (ECU), in particular for a vehicle, but may also be a control unit or a data processing device for other devices such as machines, power generators, etc. The electronic device 100 has a first input 101, e.g., realized by a first (e.g., package) input connection (e.g., pin or pad), via which the electronic device 100 can be connected to a first analog signal source 102, e.g., a sensor or a power supply to be monitored (e.g., an analog-to-digital converter is used to monitor (e.g., measure) an external supply rail; if the external supply rail leaves a predetermined (voltage) range, an alarm is triggered). The electronic device 100 includes an analog-to-digital converter (ADC) 103 for converting the analog signals supplied by the first analog signal source 102 into a digital signal. Accordingly, the ADC 103 has an ADC input 104 connected to the input 101. The first analog signal source 102 is connected to the first input 101 via a connection having a specific resistance 105 and a specific capacitance 106. If the ADC 103 is considered a load, this (together with the properties of the first analog signal source 102) results in an output impedance of the first analog signal source 102. From the perspective of the ADC input 104, the ADC input 104 “sees” an impedance that depends on the resistance 105, the capacitance 106 and an impedance ZS (typically between 0 and 50 kΩ) of the first analog signal source 102, ie the ADC input 104 sees a certain input impedance Zin towards the first analog signal source 102. When connecting the first analog signal source 102 to the ADC input 104, errors (which change Z) can occur that should be detectable, for example to meet ASIL-D: • The connection between the first analog signal source 102 and the ADC input 104 can have an increase in the line resistance (represented by a second resistor 107) compared to its nominal value (which can be close to zero). For example, an increase of Z by 10% of ZS (or 100 Ω if ZS = 0) should be detectable. • There can be an electrical connection (i.e., a lack of insulation, e.g., a short circuit), represented by a third resistor 108, to a second input 109 (e.g., a second input pin), via which, for example, a second analog signal source 110 is or can be connected. For example, such a connection should be detectable by 500kΩ or less or even 1MΩ or less. It should be noted that functional safety with respect to such faults in the connection of an analog signal source to an ADC (or faults resulting from such connection faults) can be achieved through redundancy, e.g., by using two ADCs with separate connections. However, this increases the number of required inputs (e.g., input pins) and circuitry (and thus, e.g., chip area). Furthermore, while a diagnostic mechanism 111 such as CSD (Core Self Diagnostic) and BWD (Broken Wire Detection) can be used for an ADC, this (without redundancy) may not be sufficient to meet high functional safety requirements such as ASIL-D (but rather, for example, only ASIL-B). Therefore, embodiments may provide a high-safety diagnostic mechanism 112 to achieve a required level of functional safety. Fig. 2 shows an electronic device 200 with a diagnostic mechanism according to one embodiment. Similar to the electronic device 100 in Fig. 1, the electronic device 200 is, for example, an electronic control unit (ECU), in particular for a vehicle, but may also be a control unit or a data processing device for other devices such as machines, power generators, etc. As described with reference to Fig. 1, the electronic device 200 also comprises two inputs 201, 209 for connecting analog signal sources 202, 210, an ADC 203 with an (ADC) input 204 and errors represented by resistors 207, 208 should be detected. An alternating current source, in this example an AC-IDAC (current digital-to-analog converter) 211, is provided for this detection. Its output is connected to the ADC input 204. As mentioned above, the AC-IDAC 211, as a current source toward the first analog signal source 202, sees an input impedance Zin (which, from the perspective of the AC-IDAC 211, is a load impedance ZL), which changes when one or both of the faults represented by resistors 207, 208 occur. In various embodiments, this fact is used to detect one or both of the errors represented by resistors 207, 208. In particular, the voltage at the ADC input 204, which is caused by the alternating current supplied by the AC IDAC 211, is monitored. To this end, an AD conversion of the voltage at the ADC input 204 is performed, and the amplitude of the component VRES_FILTERED of this voltage, which corresponds to the frequency fIDAC of the current IIDAC supplied by the AC IDAC 211, is determined. This component can be determined using a digital filter (e.g., a bandpass filter) applied to the output of the ADC 203 or by Fourier analysis (e.g., performing an FFT) of the output of the ADC 203. The process of extracting the digitized voltage component of the ADC input voltage is represented in Fig. 2 by a filter or FFT block 212. The errors represented by resistors 207, 208 can be, for example,be detected by a detector 213 based on VRES_FILTERED, for which applies. In detail, the errors represented by resistors 207, 208 can be determined as follows: • A reference for VRES_FILTERED is determined (and / or defined) and stored, for example, in detector 213. This reference can be determined, for example, by a formula, by means of a lookup table, and / or an initial measurement (i.e., a measurement during which it can be ensured that the two errors represented by resistors 207, 208 have not occurred). It is, for example, an option to determine the reference by means of an initial measurement and to check whether the measurement is plausible by comparing it with the value given by a formula and / or a lookup table (e.g., determining Zin(without error) from a lookup table and determining the reference from VRES_FILTERED = IIDAC*Zin). • VRES_FILTERED is then repeated (e.g.,periodically, continuously, or in response to a test command), and the detector 213 checks whether the determined VRES_FILTERED is within a predetermined tolerance (e.g., 10% or another (low) percentage or absolute value) of the reference for VRES_FILTERED. If it is not within a predetermined tolerance, the detector 213 considers this an occurrence of one or both of the errors represented by resistors 207, 208 and outputs, for example, an error (or alarm) signal that triggers, for example, a safety mechanism (such as entry into a safe mode). It should be noted that a low-pass filter may be provided at the ADC output (not shown in Fig. 2) to eliminate the effect of IIDAC in order to obtain the “clean” digitized signal provided by the analog signal source 202 for further processing. Fig. 3 shows a first diagram 301 with an example of a voltage signal VIN supplied by the first analog signal source 202 (first curve 302), the voltage signal at the ADC input 204 (second curve 303) which is modulated by a signal with the amplitude VRES_FILTERED and the frequency fIDAC, and the signal with the amplitude VRES_FILTERED and the frequency fIDAC (third curve 304). A second diagram 305 shows the change in the amplitude of the signal of the third curve 304 in the case of 1 MΩ (i.e., when the second resistor 108 has a value of 1 MΩ), i.e., the change in VRES_FILTERED relative to its reference. The values in this example are that ZS=0 and that a leak with 1 MΩ means a one percent change in Zin. In the example shown, the difference between VRES_FILTERED and its reference is 10.26 mV. This means that the detection mechanism for a 12-bit SAR ADC (Successive Approximation Register) is sensitive enough in the present exemplary use case. The example in Fig. 3 can be described as "supply (e.g., sensor) shorted to (adjacent) supply (e.g., sensor) above 1 MΩ." Similarly, an increase in line impedance (i.e., a value of the first resistor 107 above 0Ω) can be detected. For example, a difference between VRES_FILTERED and its reference of over 12 mV can be detected for ZS = 0Ω and a value of 100Ω for the first resistor 107, as well as for ZS = 50 kΩ and a 10% impedance increase of Zin. Fig. 4 shows an electronic device 400 with a diagnostic mechanism for detecting errors related to multiple analog signal sources. In contrast to the example in Fig. 2, there are now several analog signal sources 402 which can be connected to a node 401 via respective switches 407 and a respective connecting line or a respective network with a respective resistor 405 and a respective capacitor 406. For example, each switch 407 is connected on one side to a respective input terminal of the electronic device and on the other side to node 401. Node 401 is connected to the input node 404 of an ADC 403 (or is the input node 404), and an AC IDAC 411 is connected, as in Fig. 2, to the input node 404 of the ADC 403. To detect errors related to each of the analog signal sources 402 (i.e., for each of the analog signal sources 402, a short circuit to one of the others or an impedance increase of its connection to the ADC), the ADC results are separated into multiple channels by a demultiplexer 408, where in this example a filter (or FFT) 412 is provided to provide the voltage at the ADC input 404 caused by the alternating current provided by the AC IDAC 411, and a low-pass filter 413 is provided for each channel, which removes the effect of the IIDAC to obtain the "clean" digitized signal provided by the respective analog signal source 402. Each channel is associated with one of the analog signal sources 402. For example, errors are detected for the analog signal sources 402 sequentially: the switch 407 for one of the analog signal sources 402 is closed and the others are opened, and the demultiplexer 408 supplies the ADC result to the low-pass filter 413 and the filter (or FFT) 412 associated with the analog signal source 402. Error detection can then be performed as explained with reference to Fig. 2, i.e., for several cycles of the sampling clock of the ADC 403, the switch 407 for one of the analog signal sources 402 is closed and the others are opened, and the error detection is performed for the analog signal source for which the switch is closed during these ADC clock cycles, and thereafter the switch configuration is changed, i.e.the switch for another of the analog signal sources 402 is opened and the others are closed, and the demultiplexer 408 provides the ADC result to another low-pass filter 413 and the filter (or FFT) 412 (wherein a single filter (or FFT) 412 may suffice in this example). If the frequencies of the signals supplied by the analog signal sources 402 are sufficiently different, the ADC output signal can also be fed to all low-pass filters 413 (which in this case can be band-pass filters for the respective frequencies). In this case, joint error detection (i.e., detection of whether an error occurs in one of the connections of the analog signal sources) can be performed (i.e., all analog signal sources 402 are connected (all switches 407 closed), and the detection is performed based on the output signal of a single filter (or FFT) 412 that receives the ADC output signal). Such frequency division multiplexing does not come at the expense of the ADC data rate (since all channels benefit from the full ADC data rate). Alternatively, the IDAC stream IIDAC can be time-multiplexed at high frequency (multiple times per IIDAC, e.g., within a stage of IIDAC, assuming a piecewise constant form of IIDAC), with different sampling times for the analog signal sources 402 (i.e., each channel) and the switch 407 for an analog signal source 402 being closed when the ADC 403 for the analog signal source is sampling. This will be described in more detail with reference to Fig. 5. Fig. 5 shows high-frequency time-division multiplexing for error detection. A first diagram 501 shows the IDAC current IIDAC, which has a piecewise constant form, i.e., it is constant for each of a plurality of time intervals. Each time interval is divided into a first part 502, associated with a first channel CH_1, and a second part 503, associated with an nth channel CH_N (the time interval can be divided into more than n parts in this way, so that n can be greater than 2). In the first part of each time interval, the switch 407 for the analog signal source 402 associated with CH_1 is closed, the ADC samples its input voltage, and the demultiplexer provides the ADC output to CH_1. In the second part of each time interval, the switch 407 for the analog signal source 402 associated with CH_N is closed, the ADC samples its input voltage, and the demultiplexer provides the ADC output to CH_N. A second diagram 504 illustrates the signal of the analog signal source 402 assigned to CH_1 and modulated by IDAC (first curve 505), which the ADC samples in the first portions of the time intervals, and the signal of the analog signal source 402 assigned to CH_N and modulated by IDAC (second curve 506), which the ADC samples in the second portions of the time intervals. Furthermore, the filtered ADC output for CH_1 is shown (third curve 507). This allows all channels to share a single IDAC current through time-division multiplexing. The modulation amplitude depends on the duty cycle of the time interval components (since the current is delivered for longer or shorter periods depending on the duty cycle, resulting in a higher or lower voltage at the ADC input). All channels can be modulated simultaneously. Fig. 6 shows an example implementation of an IDAC 600 (open loop). An IDAC can be implemented as a plurality of pairs of pull-up branches 601 and push-down branches 602 connected in parallel, i.e., the output of each pair (which is the junction point of the pull-up branch and the push-down branch) is connected to the output 603 of the IDAC. For example, both the pull-up branch and the push-down branch contain a current source (e.g. implemented by one or more pull-up transistors or one or more push-down transistors, respectively). For each pair, the pull-up branch, when enabled, increases the output current of the IDAC 300, while the push-down branch, when enabled, decreases the output current of the IDAC 300. A controller 604 receives a digital input value and activates the pull-up and push-down branches of the pairs so that the output current corresponds to the digital input value. For example, each pair corresponds to a bit position of the digital input value and is dimensioned accordingly. The output current is therefore an analog representation of the digital input value. By providing a suitable sequence of digital input values (and thus, in effect, by pulse-width modulating the pull-up and push-down branches), an approximation of a sinusoidal output current can be generated. This sequence can be coupled to the ADC operation (i.e., one or more ADC operating signals or parameters can define the sequence). Fig. 7 shows a diagram 700 illustrating an example of an IDAC output current. In this example, the IDAC output current is generated by four branches (e.g., one p-MOS branch and one n-MOS branch). For the highest level, all four pull-up branches are activated, and for the lowest level, all five push-down branches are activated. A The number of branches (and thus the bits of the digital input value) can be chosen depending on the trade-off between complexity and noise injection. In summary, according to various embodiments, an electronic device is provided as shown in Fig. 8. Fig. 8 shows an electronic device 800 according to one embodiment. The electronic device 800 includes a device input 801 for connecting an analog signal source 802 and an analog-to-digital converter 803 having an analog-to-digital converter input 804 connected to the device input 801. The electronic device 800 further includes an AC power source 805 configured to supply an AC power to the analog-to-digital converter input 804. Furthermore, the electronic device 800 comprises a detection circuit 806 (e.g. corresponding to the detector and the filter or FFT block in the above examples and possibly further components such as a memory such as one or more registers) which is configured to: • store a reference for the amplitude of a voltage signal caused by the alternating current at the analog-to-digital converter input 804; • receive an output of the analog-to-digital converter 803; • determine the amplitude of the voltage signal caused by the alternating current at the analog-to-digital converter input 804 by filtering the output of the analog-to-digital converter (filtering here also includes performing a spectral analysis (e.g.Fourier analysis), in which only the frequency component(s) of interest are extracted;• output an error signal 807 if the reference for the amplitude deviates from the determined amplitude by more than a predetermined threshold (e.g., 10%). The error signal can be processed internally in the electronic device or externally, e.g., by another component of an electronic system (e.g., device or assembly) of which the electronic device is a part. According to various embodiments, for example, an IDAC (current digital-to-analog converter) provides an AC stimulus for an (input) impedance measurement using the ADC when the ADC is in operation and connected to an external (analog) signal source, e.g., an external sensor or power supply, to detect connection errors such as package pin failures. A reference input impedance can be determined from a formula, a lookup table, and / or an initial measurement (e.g., during production testing). An input impedance characteristic determined in this way can also be used to verify the reference's plausibility. The AC power source (e.g., IDAC) has a different frequency (e.g., 1-10 kHz) than the analog input signal of the analog signal source. Therefore, the analog input signal is modulated by the IDAC current. After data conversion, the error detection information and the information in the analog input signal (e.g., sensor information) can be separated using a digital filter or FFT, ensuring no sampling rate loss during detection. For multiple analog signal sources, time-division multiplexing allows a single AC power source (e.g., IDAC) to be used. This saves chip area (and thus cost) compared to an implementation with multiple IDACs. Note that the AC power source (e.g., IDAC) can also be connected to the ADC input via a switch (see, for example, Fig. 4 ). This switch is controlled, for example, as follows: When one of the inputs is connected, the switch is closed, allowing the AC power source to supply power to the connected input. When all inputs (or, in general, terminals, which may also include output terminals) are turned off, the voltage at the ADC input should not be changed to convert the respective analog voltage into a digital voltage (e.g., for measurement). Various examples are described below: Example 1 is an electronic device as described with reference to Fig. 8. Example 2 is the electronic device according to Example 1, wherein the AC power source is configured to generate the AC power at a predetermined frequency. Example 3 is the electronic device according to Example 2, wherein the AC power has a predetermined frequency and the controller is configured to determine the amplitude of the voltage signal caused by the AC power at the analog-to-digital converter input by filtering the output of the analog-to-digital converter to determine a frequency component of the output of the analog-to-digital converter that has the predetermined frequency. Example 4 is the electronic device according to any one of Examples 1 to 3, wherein the AC power source is connected to the analog-to-digital converter input such thatthat a load impedance of the AC power source depends on an impedance of the connection of the analog-to-digital converter input to the device input. Example 5 is the electronic device of any one of examples 1 to 4, wherein the error signal indicates an error in the connection of the analog-to-digital converter input to the device input. Example 6 is the electronic device of any one of examples 1 to 5, wherein the device input is realized by an input terminal of the electronic device. Example 7 is the electronic device of any one of examples 1 to 6, wherein the electronic device comprises one or more further terminals. Example 8 is the electronic device of example 7, wherein the error signal indicates an insulation fault between the input terminal and the one or more further terminals. Example 9 is the electronic device of any one of examples 1 to 8,wherein the electronic devices comprise a plurality of device inputs including the device input, wherein the electronic circuit comprises, for each respective device input of the plurality of device inputs, a respective switch for connecting and disconnecting the respective device input from the analog-to-digital converter input, and wherein the detection circuit is configured to, for each respective device input of the plurality of device inputs, store a reference for an amplitude of a voltage signal at the analog-to-digital converter input caused by the alternating current in the event that the respective device input is connected to the analog-to-digital converter input and the other device inputs of the plurality of device inputs are disconnected from the analog-to-digital converter input; receive an output of the analog-to-digital converter,if the respective device input is connected to the analog-to-digital converter input and the other device inputs of the plurality of device inputs are disconnected from the analog-to-digital converter input;• determine the amplitude of the voltage signal at the analog-to-digital converter input caused by the alternating current by filtering a respective output signal of the analog-to-digital converter received from the analog-to-digital converter; and• output an error signal if the reference for the amplitude deviates from the determined amplitude by more than a respective predetermined threshold value. Example 10 is the electronic device of Example 9, wherein each device input of the plurality of device inputs is for connecting a respective analog signal source. Example 11 is the electronic device of either Example 9 or 10, comprising a controller configured tothat for an assignment of each respective device input of the plurality of device inputs to a respective time interval of a sequence of time intervals and for each time interval of the sequence of time intervals, it connects the device input assigned to the time interval to the analog-to-digital circuit and disconnects the other device inputs of the plurality of device inputs from the analog-to-digital circuit during the time interval.Example 12 is the electronic device of Example 11, comprising a demultiplexer configured to separate the output of the analog-to-digital converter into a plurality of channels, including one channel for each device input of the plurality of device inputs, the demultiplexer being configured tothat, for each time interval of the sequence of time intervals, it supplies the output of the analog-to-digital converter during the time interval to the channel for the device input associated with the time interval, and wherein the detection circuit is configured to determine, for each device input, the amplitude of the voltage signal at the analog-to-digital converter input caused by the alternating current by filtering the output of the analog-to-digital converter supplied to the channel associated with the device input. Example 13 is the electronic device of any one of examples 1 to 12, wherein filtering the output of the analog-to-digital converter comprises applying a digital filter to the output configured to block frequency components that do not correspond to the alternating current, or performing a spectral analysis of the output and discarding frequency components that do not correspond to the alternating current.Example 14 is the electronic device of any one of Examples 1 to 13, wherein the AC power source is a current digital-to-analog converter. Example 15 is the electronic device of Example 14, wherein the current digital-to-analog converter is implemented by multiple parallel branch pairs, each branch pair comprising a pull-up branch and a push-down branch that are enabled and disabled according to a digital input value to the digital-to-analog converter of a sequence of digital input values defining the frequency and amplitude of the AC current. Example 16 is an electronic system comprising the electronic device of any one of Examples 1 to 15 and the analog signal source connected to the device input. Example 17 is the electronic system of Example 16, wherein filtering the output of the analog-to-digital converter comprises filtering the output of the analog-to-digital converter through a filter.which allows a frequency component of a frequency of the alternating current to pass through and blocks frequency components supplied to the device input from the analog signal source. Example 18 is the electronic system of example 16 or 17, wherein the analog signal source is a sensor. Example 19 is the electronic system of example 16, comprising a plurality of analog signal sources. Example 20 is an electronic system comprising the electronic device of any one of examples 10 to 12 and, for each device input, the respective analog signal source, wherein the analog signal sources are configured to supply signals at different frequencies to the electronic device. Although specific embodiments have been illustrated and described herein, those skilled in the art will recognize that various alternative and / or equivalent embodiments may be substituted for the specific embodiments illustrated and described without departing from the scope of the present invention. This application is intended to cover any adaptations or variations of the specific embodiments described herein. Therefore, it is intended that this invention be limited only by the claims and their equivalents. Reference symbol 100 electronic device 101 input 102 analog signal source 103 analog-to-digital converter (ADC) 104 ADC input 105 terminal impedance 106 connection capacitance 107 resistance representing the impedance increase error 108 resistance representing an insulation fault (short circuit) 109 input 110 analog signal source 111, 112 diagnostic mechanisms 200 electronic device 201 input 202 analog signal source 203 analog-to-digital converter (ADC) 204 ADC input 207 resistance representing the impedance increase error 208 resistance representing a short-circuit fault 209 input 210 analog signal source 211 AC IDAC 212 digital filter or FFT 213 detector 301 diagram 302-304 curves 305 diagram 400 electronic device 401 Node 402 analog signal sources 403 analog-to-digital converter (ADC) 404 ADC input 405 connection impedance 406 connection capacitance 407 switch 408 demultiplexer 411 AC IDAC 412 filter or FFT 413 low-pass filter 501 diagram 502,503 Time interval parts 504 Diagram 600 IDAC 601 Pull-up branch 602 Push-down branch 603 IDAC output 604 Control device 700 Diagram 800 Electronic device 801 Input 802 Analog signal source 803 Analog-to-digital converter (ADC) 804 ADC input 805 AC current source 806 Detection circuit 807 Error signal,
Claims
An electronic device comprising: a device input for connecting an analog signal source; an analog-to-digital converter having an analog-to-digital converter input connected to the device input; an AC power source configured to supply an AC current to the analog-to-digital converter input; and a detection circuit configured to store a reference for the amplitude of a voltage signal caused by the AC current at the analog-to-digital converter input; receive an output of the analog-to-digital converter; determine the amplitude of the voltage signal caused by the AC current at the analog-to-digital converter input by filtering the output of the analog-to-digital converter;outputs an error signal if the reference for the amplitude deviates from the determined amplitude by more than a predetermined threshold value, wherein the error signal indicates an error in the connection of the analog-to-digital converter input to the device input and / or wherein the electronic device comprises one or more further terminals and the error signal indicates an error in an insulation between the input terminal and the one or more further terminals; The electronic device of claim 1, wherein the AC power source is configured to generate the AC power at a predetermined frequency. The electronic device of claim 2, wherein the alternating current has a predetermined frequency and the controller is configured to determine the amplitude of the voltage signal caused by the alternating current at the analog-to-digital converter input by filtering the output of the analog-to-digital converter to determine a frequency component of the output of the analog-to-digital converter having the predetermined frequency. The electronic device according to one of claims 1 to 3, wherein the AC power source is connected to the analog-to-digital converter input such that a load impedance of the AC power source depends on an impedance of the connection of the analog-to-digital converter input to the device input. The electronic device according to one of claims 1 to 4, wherein the device input is realized by an input terminal of the electronic device. The electronic device according to one of claims 1 to 5, wherein the electronic devices comprise a plurality of device inputs including the device input, wherein the electronic circuit comprises, for each respective device input of the plurality of device inputs, a respective switch for connecting and disconnecting the respective device input from the analog-to-digital converter input, and wherein the detection circuit is configured to store, for each respective device input of the plurality of device inputs, a reference for the amplitude of a voltage signal at the analog-to-digital converter input caused by the alternating current in the event that the respective device input is connected to the analog-to-digital converter input and the other device inputs of the plurality of device inputs are disconnected from the analog-to-digital converter input;receives an output of the analog-to-digital converter when the respective device input is connected to the analog-to-digital converter input and the other device inputs of the plurality of device inputs are disconnected from the analog-to-digital converter input; determines the amplitude of the voltage signal at the analog-to-digital converter input caused by the alternating current by filtering a respective output of the analog-to-digital converter received from the analog-to-digital converter; and outputs an error signal if the reference for the amplitude deviates from the determined amplitude by more than a respective predetermined threshold value. The electronic device of claim 6, wherein each device input of the plurality of device inputs is for connecting a respective analog signal source. The electronic device according to one of claims 6 or 7, comprising a control device configured to associate each respective device input of the plurality of device inputs with a respective time interval of a sequence of time intervals and, for each time interval of the sequence of time intervals, to connect the device input associated with the time interval to the analog-to-digital circuit and to disconnect the other device inputs of the plurality of device inputs from the analog-to-digital circuit during the time interval. The electronic device of claim 8, comprising a demultiplexer configured to separate the output of the analog-to-digital converter into a plurality of channels, including one channel for each device input of the plurality of device inputs, wherein the demultiplexer is configured to supply, for each time interval of the sequence of time intervals, the output of the analog-to-digital converter during the time interval to the channel for the device input associated with the time interval, and wherein the detection circuit is configured to determine, for each device input, the amplitude of the voltage signal caused by the alternating current at the analog-to-digital converter input by filtering the output of the analog-to-digital converter supplied to the channel associated with the device input. The electronic device of any one of claims 1 to 9, wherein filtering the output of the analog-to-digital converter comprises applying a digital filter to the output configured to block frequency components other than the alternating current, or performing a spectral analysis of the output and discarding frequency components other than the alternating current. The electronic device according to one of claims 1 to 10, wherein the AC power source is a current digital-to-analog converter. The electronic device of claim 11, wherein the current digital-to-analog converter is implemented by a plurality of parallel branch pairs, each branch pair comprising a pull-up branch and a push-down branch that are activated and deactivated according to a digital input value to the digital-to-analog converter of a sequence of digital input values defining the frequency and amplitude of the alternating current. An electronic system comprising the electronic device according to any one of claims 1 to 12 and the analog signal source connected to the device input. The electronic system of claim 13, wherein filtering the output of the analog-to-digital converter comprises filtering the output of the analog-to-digital converter through a filter that passes a frequency component of a frequency of the alternating current and blocks frequency components supplied to the device input from the analog signal source. The electronic system of claim 13 or 14, wherein the analog signal source is a sensor. The electronic system of claim 13, comprising a plurality of analog signal sources. The electronic system comprising the electronic device according to any one of claims 7 to 9 and, for each device input, the respective analog signal source, wherein the analog signal sources are configured to supply signals at different frequencies to the electronic device.
Citation Information
Patent Citations
Error correction for powerline communication modem interface
US20140129892A1
