1. Field of the Invention
The present invention relates to signal monitoring circuits used for checking and controlling apparatuses such as electronic devices, and particularly to a signal monitoring circuit that can monitor a plurality of signals by only employing a meter chip.
2. Description of Related Art
Generally, an electrical system can be wired so that various monitoring signals, such as voltage signals or current signals, are generated. The monitoring signals correspond to measurements of various critical functions of the electrical system, which are determined according to practical requirements.
Referring to
The above-mentioned signal monitoring circuit is capable of monitoring a plurality of signals by employing the plurality of meter chips 60. Each of the meter chips 60 connects one of the sensors 50 with the MCU 70. That is, the MCU can only process a signal generated from a sensor via a respective meter chip. As a result, the more sensors there are, the more meter chips are needed for transmitting the signals generated from the sensors. Thereby the monitoring circuit is complex and costly.
What is desired, therefore, is to provide a multi-channel signal monitoring circuit which can monitor a plurality of signals by only employing a single meter chip.
An exemplary signal monitoring circuit includes a plurality of sensors, a meter chip, a micro control unit (MCU), and a multiplexer. The sensors are adapted for collecting electrical signals of an electrical system, and each of the sensors correspondingly generates an output signal. The multiplexer is adapted for receiving the output signal of each of the sensors. The MCU controls the multiplexer to selectively output one of the output signals. The meter chip receives the selected one of output signals from the multiplexer and generates corresponding meter signals to the MCU.
Other advantages and novel features will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which:
Referring to
The sensors 11-14 are adapted for collecting electrical signals of the electrical system via a plurality of detecting pins (not shown) on a circuit board of the electrical system. Then, the sensor 11 correspondingly outputs a pair of differential signals and transmits them to input terminals 1X, 1Y of the multiplexer 40. The sensor 12 correspondingly outputs a pair of differential signals and transmits them to input terminals 2X, 2Y of the multiplexer 40. The sensor 13 correspondingly outputs a pair of differential signals and transmits them to input terminals 3X, 3Y of the multiplexer 40. The sensor 14 correspondingly outputs a pair of differential signals and transmits them to input terminals 4X, 4Y of the multiplexer 40. Output terminals X, Y of the multiplexer 40 are electrically connected to input terminals +, − of the meter chip 20, respectively. Output terminals of the meter chip 20 are electrically connected to the MCU 30 via a data bus. The meter chip 20 receives the differential signals and generates corresponding meter signals to the MCU 30, and then the MCU 30 processes the meter signals using a preset program.
The multiplexer 40 includes two selecting ports S0, S1 for selecting one of the sensors 11-14 to communicate with the meter chip 20. Two general purpose input/output (GPIO) pins A, B of the MCU 30 are electrically connected to the selecting ports S0, S1 for controlling the multiplexer 40. An amount of the GPIO pins of the MCU 30 can be arranged according to the amount of the sensors. If the amount of the sensors is m, and the amount of the GPIO pins of the MCU 30 is n, the following relationship must be satisfied:
2n−1<m≦2n
Wherein, m is greater than 1. In this embodiment, the amount of the chips 20 is four, according to the above formula, two GPIO pins A, B are enough. A truth table of the GPIO pins A, B follows wherein 0 is a low signal and 1 is high and the sensors are selected according to the table:
A truth table of the input terminals 1X, 1Y; 2X, 2Y; 3X, 3Y; 4X, 4Y of the multiplexer 40 corresponding to the GPIO pins A, B follows:
When the signal monitoring circuit is working, if the MCU 30 needs to detect one of the sensors 11-14 via the meter chip 20, the MCU 30 generates a corresponding control signal to the multiplexer 40 via the GPIO pins A, B, then the multiplexer 40 will select the one of the sensors 11-14 to communicate with the meter chip 20.
Because the signal monitoring circuit uses a multiplexer, the signal monitoring circuit can detect a plurality of sensors via a single meter chip. Thus, the cost of the signal monitoring circuit of the electrical system is less.
It is to be understood, however, that even though numerous characteristics and advantages of the preferred embodiments have been set forth in the foregoing description, together with details of the structures and functions of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, equivalent material and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
2006 1 0156903 | Nov 2006 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
5014238 | McLeish et al. | May 1991 | A |
5774733 | Nolan et al. | Jun 1998 | A |
6035353 | Doi et al. | Mar 2000 | A |
6415205 | Myron et al. | Jul 2002 | B1 |
6744376 | Pascalidis | Jun 2004 | B1 |
6839660 | Eryurek et al. | Jan 2005 | B2 |
7142990 | Bouse et al. | Nov 2006 | B2 |
7453380 | Jung et al. | Nov 2008 | B2 |
20050187642 | Kuo | Aug 2005 | A1 |
20060224350 | Tanizawa | Oct 2006 | A1 |
20070179756 | Honda | Aug 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20080117078 A1 | May 2008 | US |