The subject matter herein generally relates to indicator circuits and alarms.
There are many electronic components in a computer. If an operating voltage of any one of the electronic components is not in a normal range, the computer may not operate properly. Therefore, whether an operating voltage of each electronic component is in a normal range should be known.
Implementations of the present technology will now be described, by way of example only, with reference to the attached figures.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features. The description is not to be considered as limiting the scope of the embodiments described herein.
Several definitions that apply throughout this disclosure will now be presented.
The term “coupled” is defined as connected, whether directly or indirectly through intervening components, and is not necessarily limited to physical connections.
The connection can be such that the objects are permanently connected or releasably connected. The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series and the like.
In at least one embodiment, the detecting circuit 20 is configured to have a first predetermined voltage and a second predetermined voltage set therein to obtain the operating voltage of the electronic component 500. The operating voltage so obtained is compared with the first predetermined voltage and the second predetermined voltage, and a comparison signal is output to the processing circuit 30 according to the result of comparison.
In at least one embodiment, the processing circuit 30 outputs a control signal to the warning circuit 40 according to the comparison signal transmitted by the detecting circuit 20.
In at least one embodiment, the warning circuit 40 outputs a warning information according to the control signal transmitted by the processing circuit 30.
The relationship between the first predetermined voltage V1 of the first voltage pin MTH of the control chipset U1, a voltage V of the power supply VCC, and resistance of the three resistors R1-R3 is shown below:
V1=V×(R2+R3)/(R1+R2+R3).
The relationship between the second predetermined voltage V2 of the second voltage pin LTH of the control chipset U1, the voltage V of the power supply VCC, and resistance of the three resistors R1-R3 is shown below:
V2=V×(R3)/(R1+R2+R3).
If the resistances of the resistors R1-R3 change, the first voltage V1 of the first voltage pin MTH of the control chipset U1 and the second voltage V2 of the second voltage pin LTH of the control chipset U1 change accordingly.
The processing circuit 30 can comprise a Schmidt trigger U2, a NAND gate U3, an inverting trigger U4, two capacitors C3 and C4, and three resistors R5-R7. An input terminal of the Schmidt trigger U2 is electrically coupled to the signal output pin OUT of the control chipset U1, to receive the comparison signal from the control chipset U1. A power supply terminal of the Schmidt trigger U2 is electrically coupled to the power supply VCC, and is electrically coupled to ground through the capacitor C3. A ground terminal of the Schmidt trigger U2 is electrically coupled to ground. An output terminal of the Schmidt trigger U2 is electrically coupled to a first input terminal of the NAND gate U3. A second input terminal of the NAND gate U3 is floating. A power supply terminal of the NAND gate U3 is electrically coupled to the power supply VCC, and is electrically coupled to ground through the capacitor C4. A ground terminal of the NAND gate U3 is electrically coupled to ground. An output terminal of the NAND gate U3 is electrically coupled to a data input pin D of the inverting trigger U4. A latch enable input pin LE of the inverting trigger U4 is electrically coupled to the power supply VCC through the resistor R5. A ground pin GND of the inverting trigger U4 is electrically coupled to ground. A power supply pin PWR of the inverting trigger U4 is electrically coupled to the power supply VCC through the resistor R6. An enable input pin OE of the inverting trigger U4 is electrically coupled to ground. A latch output pin Q of the inverting trigger U4 is electrically coupled to the power supply VCC through the resistor R7, and is electrically coupled to the warning circuit 40, to output the control signal to the warning circuit 40.
The warning circuit 40 can comprise a light emitting diode (LED) D1 and a resistor R8. A cathode of the LED D1 is electrically coupled to the latch output pin Q of the inverting trigger U4, to obtain the control signal from the inverting trigger U4. An anode of the LED D1 is electrically coupled to the power supply VCC through the resistor R8.
When the second input terminal of the NAND gate U3 is floating, based on the basic logic circuit principle, the logic level state of the second input terminal of the NAND gate U3 is at a high level, such as logic 1.
When the operating voltage of the electronic component 500 detected by the detecting pin IN of the control chipset U1 is between the first predetermined voltage V1 and the second predetermined voltage V2, the signal output pin OUT of the control chipset U1 outputs a comparison signal at a low level, to the input terminal of the Schmidt trigger U2. The Schmidt trigger U2 outputs a trigger signal at a high level to the first input terminal of the NAND gate U3. Thus, the output terminal of the NAND gate U3 outputs a signal at a low level to the data input pin D of the inverting trigger U4.
The latch output pin Q of the inverting trigger U4 outputs the control signal at a high level to turn off the LED D1. The LED D1 is not lit, indicating that the operating voltage of the electronic component 500 is within a normal range.
When the operating voltage of the electronic component 500 detected by the detecting pin IN of the control chipset U1 is not between the first predetermined voltage V1 and the second predetermined voltage V2, the signal output pin OUT of the control chipset U1 outputs the comparison signal at the high level to the input terminal of the Schmidt trigger U2. The Schmidt trigger U2 outputs a trigger signal at low level to the first input terminal of the NAND gate U3. Thus, the output terminal of the NAND gate U3 outputs a signal at the high-voltage level to the data input pin D of the inverting trigger U4. The latch output pin Q of the inverting trigger U4 outputs the control signal at the low level to turn on the LED D1. The LED D1 is lit, indicating that the operating voltage of the electronic component 500 is outside the normal range.
When the switch SW1 is turned on, the second input terminal of the NAND gate U3 is electrically coupled to ground through the switch SW1 and the logic level of the second input terminal of the NAND gate U3 is at a low level, such as logic 0. At this time, the Schmidt trigger U2 outputs the trigger signal at either a high level or at a low level to the first input terminal of the NAND gate U3 and the output terminal of the NAND gate U3 outputs the signal at the low level to the data input pin D of the inverting trigger U4. The latch output pin Q of the inverting trigger U4 outputs the control signal at the high level to turn off the LED D1. As detailed above, if switch SW1 is turned on, the warning circuit 40 is turned off. Thus, regardless of whether the operating voltage of the electronic component 500 is within the normal range or not, the LED D1 is not lit, and the alarm function of the control unit 10 is turned off.
When the switch SW1 is turned off, the second input terminal of the NAND gate U3 is floating, and the operation principle of the control unit 10 in the second embodiment is then the same as in the first embodiment, and is not repeated here.
The embodiments shown and described above are only examples. Many details are often found in the art such as the other features of an electronic device. Therefore, many such details are neither shown nor described. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, especially in matters of shape, size, and arrangement of the parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims. It will therefore be appreciated that the embodiments described above may be modified within the scope of the claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 201510231477.5 | May 2015 | CN | national |