CPC G06F 1/3246 (2013.01) [G06F 1/3206 (2013.01); G06F 1/3287 (2013.01)] | 10 Claims |
1. A method of dynamic power consumption management and a wake-up method, as applied to a wireless weighing platform, comprising the steps of:
initializing, including the substeps of setting a light sleep period and a deep sleep period;
entering a normal operating state, by at least powering the wireless weighing platform, including a wireless module, starting a timer for the light sleep period, and determining whether a weighing operation is being detected by detecting changes in an output signal of a weighing sensor;
while the wireless weighing platform is in the normal operating state, determining that the weighing operation is being detected by detecting changes in the output signal of the weighing sensor and wirelessly transmitting weight reading data from the weighing sensor to a remote instrument by way of the wireless module, and resetting the timer for the light sleep period;
while the wireless weighing platform is in the normal operating state, determining that no weighing operation is being detected by detecting no changes in the output signal of the weighing sensor and that the light sleep period has not expired, and returning to and repeating the step of determining whether the weighing operation is being detected;
while the wireless weighing platform is in the normal operating state, determining that no weighing operation is being detected by detecting no changes in the output signal of the weighing sensor and that the light sleep period has expired, and causing the wireless weighing platform to enter a light sleep state, by at least turning off the wireless module of the wireless weighing platform, and starting a timer for the deep sleep period;
while the wireless weighing platform is in the light sleep state, determining that the weighing operation is being detected by detecting changes in the output signal of the weighing sensor, and activating the wireless module, resetting the timer for the light sleep period, and returning to the step of entering the normal operating state;
while the wireless weighing platform is in the light sleep state, determining that no weighing operation is being detected by detecting no changes in the output signal of the weighing sensor and that the deep sleep period has expired, and causing the wireless weighing platform to enter a deep sleep state, by at least turning off power supply except the power supply for an acceleration sensor; and
while the wireless weighing platform is in the deep sleep state, determining that the acceleration sensor detects an effective vibration while the wireless weighing platform is in the deep sleep state, and returning to the step of entering the normal operating state.
|