US20060139834A1
2006-06-29
11/314,049
2005-12-20
US 7,528,734 B2
2009-05-05
-
-
Daniel Wu | Jack Wang
2027-06-05
A system for automatically detecting power supply voltage includes a voltage divider connected to a power supply, an A/D converter connected to the voltage divider, a detection module connected to the A/D converter for comparing a digital signal converted by the A/D converter with a reference signal stored in the detection module, a relay driving circuit connected to the detection module, a relay connected to the relay driving circuit and the power supply respectively, and an outlet coupled to the relay for outputting voltage. If the digital signal matches the reference signal, the detection module controls the relay driving circuit to turn on the relay to output voltage at the outlet. Relevant method for detecting power supply voltage is also provided.
Get notified when new applications in this technology area are published.
H01H35/00 IPC
Switches operated by change of a physical condition
H02H11/006 » CPC main
Emergency protective circuit arrangements for preventing the switching-on in case an undesired electric working condition might result in case of too high or too low voltage
H01H73/00 IPC
Protective overload circuit-breaking switches in which excess current opens the contacts by automatic release of mechanical energy stored by previous operation of a hand reset mechanism
G08B21/00 IPC
Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
G01R31/08 IPC
Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere Locating faults in cables, transmission lines, or networks
G01R31/14 IPC
Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere; Testing dielectric strength or breakdown voltage ; Testing or monitoring effectiveness or level of insulation, e.g. of a cable or of an apparatus, for example using partial discharge measurements; Electrostatic testing Circuits therefor, e.g. for generating test voltages, sensing circuits
G01R27/08 IPC
Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom; Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant Measuring resistance by measuring both voltage and current
G01R19/18 IPC
Arrangements for measuring currents or voltages or for indicating presence or sign thereof using conversion of DC into AC, e.g. with choppers
H02M1/10 IPC
Details of apparatus for conversion Arrangements incorporating converting means for enabling loads to be operated at will from different kinds of power supplies, e.g. from ac or dc
B23K11/24 IPC
Resistance welding; Severing by resistance heating Electric supply or control circuits therefor
H02J7/00 IPC
Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
1. Field of the Invention
The present invention relates to an automatic voltage detection system and method, and more particularly to a system and a method for automatically detecting power supply voltage.
2. General Background
Electronic devices have generally required external power from an AC power source. Universal power source provides 110V (as used in Japan or the US) or 220V (as used in Europe, Australia and other countries) AC power. If 220V power is provided to an electronic device rated for 110V damage will result to the electronic device. If 110V power is provided to an electronic device rated for 220V, the electronic device will not function normally.
What is needed is a system and a method for automatically detecting power supply voltage to avoid mistaking 110V with 220V.
SUMMARYA system for automatically detecting power supply voltage includes a voltage divider connected to a power supply, an analog to digital (A/D) converter connected to the voltage divider, a detection module connected to the A/D converter for comparing a digital signal converted by the A/D converter with a reference signal stored in the detection module, a relay driving circuit connected to the detection module, a relay connected to the relay driving circuit and the power supply respectively, and an outlet coupled to the relay for outputting voltage. If the digital signal matches the reference signal, the detection module controls the relay driving circuit to turn on the relay to output voltage at the outlet.
A method for automatically detecting power supply voltage is also provided. The method includes the steps of obtaining an AC voltage from a power supply; converting the AC voltage into a digital signal; comparing the digital signal with a reference signal, if a match, turning on a relay to output the AC voltage.
It is an advantage that the voltage level of an AC power supply is automatically detected before it is input into an electronic device. Therefore, a failure or malfunction of the electronic device due to using the wrong power source is avoided.
Other advantages and novel features will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which:
BRIEF DESCRIPTION OF THE DRAWINGSFIG. 1 is a schematic diagram of a system for automatically detecting power supply voltage in accordance with a preferred embodiment of the present invention; and
FIG. 2 is a flow chart of a method for automatically detecting power supply voltage in accordance with a preferred embodiment of the present invention.
DETAILED DESCRIPTION OF THE EMBODIMENTReferring to FIG. 1, a system for automatically detecting power supply voltage includes an AC power source 101, a voltage divider 102, an A/D converter 103, a display 104, a processor 105, a button 106, an alarm device 107, two relays 1081 and 1082, and two outlets 1091 and 1092 corresponding to the relays 1081 and 1082 respectively.
The AC power source 101 is coupled to the voltage divider 102 and the relays 1081 and 1082 respectively. AC power is supplied to the voltage divider 102. When the relays 1081 and 1082 are turned on, the AC power is transferred to the outlets 1091 and 1092 via corresponding relays 1081 and 1082. The voltage divider 102 reduces the voltage sent from the AC power source 101. The voltage divider 102 is coupled to the A/D converter 103, and the A/D converter 103 converts AC voltage from the voltage divider 102 into a digital signal for the processor 105.
The processor 105 includes a detection module 1051, a display driving module 1052, an alarm circuit 1053, and a relay driving circuit 1054. The detection module 1051 is connected to the display driving module 1052, the alarm circuit 1053, and the relay driving circuit 1054 separately. The alarm circuit 1053 is connected to the relay driving circuit 1054.
The display driving module 1052 is connected to the display 104. The display 104 displays the value of the voltage output from the AC power source 101. The alarm circuit 1053 is connected to an input end of the alarm device 107 and an input terminal of the button 106, an output end of the alarm device 107 and an output terminal of the button 106 are grounded. The alarm device 107 is to warn the user when the AC power supply does not match a reference signal stored in the detection module 1051. The button 106 is for a user to confirm that the AC power supply 101 is the correct one. The relay driving circuit 1054 is connected to the relays 1081 and 1082 respectively.
The detection module 1051 of the processor 105 receives the digital signal transmitted from the A/D converter 103, and compares the value of the voltage output from the AC power source 101 to the reference signal. The display driving module 1052 is driven by the detection module 1051 to drive the display 104 to display the value of the voltage output from the AC power source 101.
The detection module 1051 compares the digital signal transmitted from the detection module 1051 with the reference signal stored in the detection circuit 1051. If it is the first time the system is used, the reference signal is a predetermined signal; if it is not the first time the system is used, the reference signal is a signal that the A/D converter 103 converted the previous time. If the digital signal from the A/D converter 103 matches the reference signal, the detection circuit 1051 drives the relay driving circuit 1054 to turn on the relays 1081 and 1082 thereby supplying power via the outlets 1091, 1092. If the digital signal from the A/D converter 103 is different from the reference signal stored in the detection circuit 1051, the detection circuit 1051 activates the alarm circuit 1053, the alarm circuit 1053 drives the alarm device 107 to give an alarm. The alarm device 107 remains on until the button 106 is pushed down, then the alarm circuit 1053 turns on the relay driving circuit 1054, meanwhile the digital signal converted by the A/D converter 103 is stored in the detection module 1051 as the reference signal.
The relay driving circuit 1054 is used for controlling the relays 1081 and 1082. The AC power supply is output to the outlets 1091 and 1092 via the relays 1081 and 1082.
The present invention detects 220V and 110V power supplies. The methods are the same in detecting 220V and 110V power suppliers. For instance, the method for detecting 220V power supply is illustrated as an example.
An AC voltage of 220V output from the AC power source 101 is divided by the voltage divider 102 within a range from β0.5V to +0.5V. The divided voltage is sent to the A/D converter 103 to be converted into a digital signal, then the digital signal is sent to the processor 105.
The detection module 1051 receives the converted digital signal and identifies the voltage then controls the display driving module 1052 to drive the display 104 to display the value of the voltage of 220V. The detection module 1051 compares the digital signal with the reference signal stored in the detection module 1051, if the digital signal is the same with the reference signal, the detection circuit 1051 drives the relay driving circuit 1054 to turn on the relays 1081 and 1082. The 220V voltage is output to the outlets 1091 and 1092 via the relays 1081 and 1082 respectively. If the digital signal is different from the reference signal, the detection circuit 1051 activates the alarm circuit 1053, the alarm circuit 1053 drives the alarm device 107. If the user affirms that the voltage of the AC power source is in the allowable range and pushes down the button 106, the alarm circuit 1053 receives a command sent by the button 106 and sends the command to the detection circuit 1051, the detection circuit 1051 drives the relay driving circuit 1054 to turn on the relays 1081 and 1082. The 220V voltage is output at the outlets 1091 and 1092 via the relays 1081 and 1082 respectively.
Referring to FIG. 2, a flow chart of a method for automatically detecting power supply voltage in accordance with a preferred embodiment of the present invention is shown.
In S201, an AC voltage is supplied to the voltage divider 102 from the AC power source 101.
In S202, a divided voltage output from the voltage divider 102 is converted into a digital signal in the A/D converter 103, and the digital signal is sent to the detection module 1051 of the processor 105.
In S203, the detection module 1051 controls the display driving module 1052 to drive the display 104 to display the value of the AC voltage.
In S204, the detection module 1051 compares the converted signal with the reference signal stored in the detection module 1051, if a match, go to a step S207; if not, go to a step 205.
In S205, the detection circuit 1051 sends a command to the alarm circuit 1053, the alarm circuit 1053 drives the alarm device 107 to give an alarm.
In S206, the alarm circuit 1053 detects whether the button is closed, if so, the alarm circuit 1053 drives the relay driving circuit 1054 to execute step 207; if not, return to the step S205.
In S207, the relay driving circuit 1054 turns on the relays 1081 and 1082. The AC voltage from the AC power source 101 is output at the outlets 1091 and 1092 via the relays 1081 and 1082 respectively.
It is believed that the present embodiment and its advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the invention or sacrificing all of its material advantages, the example hereinbefore described merely being a preferred or exemplary embodiment of the invention.
1. A system adapted for automatically detecting power supply voltage, the system comprising:
a voltage divider connected to a power supply source;
an A/D converter connected to the voltage divider;
a detection module connected to the A/D converter for comparing a digital signal converted by the A/D converter with a reference signal stored in the detection module;
a relay driving circuit connected to the detection module;
at least one relay connected to the relay driving module and the power supply respectively, said relay controlled by the relay driving module; and
at least one outlet coupled to said corresponding relay for outputting voltage;
wherein if the digital signal is the same with the reference signal, the detection module controls the relay driving module to turn on said relay to output voltage from corresponding outlet.
2. The system as claimed in claim 1, further comprising:
an alarm device;
an alarm circuit connected to the detection module and the relay driving circuit, the alarm circuit adapted for driving the alarm device; and
a button connected between the alarm device and the alarm circuit, if the digital signal is different from the reference signal, the detection module controls the alarm circuit to drive the alarm device to give an alarm until the button is pushed, the alarm circuit controlling the detection circuit to drive said relay driving circuit to turn on said relay, and the digital signal stored in the detection module as the reference signal.
3. The system as claimed in claim 1, further comprising:
a display; and
a display driving module connected between the display and the detection module, adapted for driving the display to display a value of the voltage output from the power supply.
4. A method adapted for automatically detecting power supply voltage comprising the steps of:
obtaining an AC voltage from a power supply source;
converting the AC voltage into a digital signal; and
comparing the digital signal with a reference signal, if a match, turning on a relay to output the AC voltage at an outlet.
5. The method as claimed in claim 4, wherein if the digital signal is different from the reference signal, an alarm device is activated.
6. The method as claimed in claim 5, further comprising detecting whether a button connected between the alarm device and the alarm circuit is open or closed, if closed, turning on a relay to output the AC voltage at the outlet.
7. The method as claimed in claim 4, further comprising displaying the value of the voltage of the power supply at a display.
8. A method for monitoring power supply voltage, comprising the steps of:
providing a voltage from a power supply source;
converting said voltage into a digital signal;
displaying a value of said voltage according to said signal; and
outputting said voltage when said voltage is identified as acceptable based on said signal.
9. The method as claimed in claim 8, wherein said signal is in comparison with a reference signal in order to identify whether said voltage is acceptable.
10. The method as claimed in claim 8, further comprising the step of activating an alarm device when said voltage is identified as unacceptable based on said signal.