Portable device with an automatic power off protection and method for same
First Claim
1. A portable device with an automatic power off protection circuit, comprising a switch unit, a main body, and a battery;
- the battery powers the main body via the switch unit;
wherein;
the main body comprises;
an acceleration transducer for sampling an analog acceleration signal;
an analog-to-digital converter (ADC) for converting the analog acceleration signal into a digital acceleration value;
a memory for storing a critical acceleration value and an interrupt flag, a value of the interrupt flag being either of an enable value or a disable value, and an initial value of the state of the interrupt flag being set to the disable value when the portable device is powered on; and
a micro-control unit (MCU) for comparing the digital acceleration value with the critical acceleration value and the comparing result that may or may not change the value of the interrupt flag;
wherein if the digital acceleration value is greater than the critical acceleration value, and the value of the interrupt flag is the disabled value, the MCU changes the value of the interrupt flag to the enable value, and if the digital acceleration value is greater than the critical acceleration value, and the value of the interrupt flag is the enabled value, the MCU generates a break signal and sends the break signal to the switch unit to power off the portable device.
2 Assignments
0 Petitions
Accused Products
Abstract
A portable device with an automatic power off protection and a method of achieving such a protection are related. The portable device circuit comprises a switch unit, a main body, and a battery. The main body includes an acceleration transducer that samples an analog acceleration signal; an analog-to-digital converter (ADC) that converts the sampled analog acceleration signal into a digital acceleration value; a memory that stores a critical acceleration value and an interrupt flag; and a micro-control unit (MCU) that compares the digital acceleration values with the critical acceleration value and the comparing result which may or may not change the value of the interrupt flag. When the acceleration of the portable device is greater than the critical acceleration and the interrupt flag is enable, the MCU sends a break signal to the switch unit to power off the portable device.
-
Citations
8 Claims
-
1. A portable device with an automatic power off protection circuit, comprising a switch unit, a main body, and a battery;
- the battery powers the main body via the switch unit;
wherein;the main body comprises; an acceleration transducer for sampling an analog acceleration signal; an analog-to-digital converter (ADC) for converting the analog acceleration signal into a digital acceleration value; a memory for storing a critical acceleration value and an interrupt flag, a value of the interrupt flag being either of an enable value or a disable value, and an initial value of the state of the interrupt flag being set to the disable value when the portable device is powered on; and a micro-control unit (MCU) for comparing the digital acceleration value with the critical acceleration value and the comparing result that may or may not change the value of the interrupt flag; wherein if the digital acceleration value is greater than the critical acceleration value, and the value of the interrupt flag is the disabled value, the MCU changes the value of the interrupt flag to the enable value, and if the digital acceleration value is greater than the critical acceleration value, and the value of the interrupt flag is the enabled value, the MCU generates a break signal and sends the break signal to the switch unit to power off the portable device. - View Dependent Claims (2, 3, 4)
- the battery powers the main body via the switch unit;
-
5. An automatically power off method for a portable device, wherein the portable device has a memory for storing a critical acceleration value and an interrupt flag for recording an acceleration state of the portable device, a value of the interrupt flag being either of an enable value or a disable value, and an initial value of the state of the interrupt flag being set to the disable value when the portable device is powered on, the method comprising the steps of:
-
sampling an analog acceleration signal of the portable device; converting the analog acceleration signal into a digital acceleration value; comparing the digital acceleration value with the critical acceleration value; changing the value of the interrupt flag to the enabled value if the digital acceleration value is greater than the critical acceleration vale and the value of the interrupt flag is the disabled value; and sending a break signal to power off the portable device if the digital acceleration value is greater than the critical acceleration value and the value of the interrupt flag is the enabled value. - View Dependent Claims (6, 7, 8)
-
Specification