Summary of the invention
The technical matters that the present invention mainly solves provides a kind of electronic scales method for managing power supply and device, can implement management to the power supply of electronic scales, realizes the purpose of environmental protection and energy saving.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of electronic scales method for managing power supply is provided, comprises:
When electronic scales is in mode of operation, current first trigger pip that quality of reception sensor sends;
Whether time interval of last one first trigger pip institute transmitting time of judging said current first trigger pip and current first trigger pip is greater than first threshold;
If then make electronic scales get into battery saving mode.
Wherein, after the step of electronic scales entering battery saving mode, when receiving next first trigger pip of mass sensor transmission once more, then make electronic scales get into mode of operation.
Wherein, said first microprocessor is connected with second microprocessor, and electronic scales is got in the step of battery saving mode, and the first microprocessor of little power consumption is in power supply state, and second microprocessor is in off-position.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of electronic scales method for managing power supply is provided, comprises:
When electronic scales is in mode of operation, receive current second trigger pip that comes from the outside;
Judge said current and time interval of the last one second trigger pip institute transmitting time of trigger pip and current second trigger pip whether greater than first threshold;
If then make electronic scales get into battery saving mode.
Wherein, after the step of electronic scales entering battery saving mode, when receiving next second trigger pip of keyboard transmission once more, then make electronic scales get into mode of operation.
Wherein, said first microprocessor is connected with second microprocessor, and electronic scales is got in the step of battery saving mode, and the first microprocessor of little power consumption is in power supply state, and second microprocessor is in off-position.
For solving the problems of the technologies described above, the present invention adopts other technical scheme to be: a kind of electronic scales electric power controller is provided, comprises:
Receiver module: when electronic scales is in mode of operation, current first trigger pip that quality of reception sensor sends;
Judge module: whether the time interval of last one first trigger pip institute transmitting time that is used to judge said current first trigger pip and current first trigger pip is greater than first threshold;
Control module: be used for then making electronic scales get into battery saving mode if the time interval of last one first trigger pip place time and current first trigger pip place time is greater than first threshold.
Wherein, said control module: be used at battery saving mode, after receiver module receives next first trigger pip once more, then make electronic scales get into mode of operation.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of electronic scales electric power controller is provided, comprises:
Receiver module: be used for when electronic scales is in mode of operation, receive current second trigger pip that comes from the outside,
Judge module: whether the time interval of last one second trigger pip institute transmitting time that is used to judge said current second trigger pip and current second trigger pip is greater than first threshold;
Control module: be used for then making electronic scales get into battery saving mode if the time interval of last one second trigger pip place time and current second trigger pip place time is greater than first threshold.
Wherein, said control module: be used at battery saving mode, after receiver module receives next second trigger pip once more, then make electronic scales get into mode of operation.The invention has the beneficial effects as follows: the situation that is different from prior art; Whether the present invention, need get into energy saver mode to electronic scales and judge, if fail to receive the triggering from mass sensor or keyboard after surpassing schedule time threshold value from the triggering of mass sensor or from the triggering of keyboard through sensing; Think that so electronic scales can get into energy saver mode; When not using electronic scales so in the given time, close the power consumption module of electronic scales, realize the purpose of environmental protection and energy saving.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is elaborated.
See also Fig. 1, the direct applied a kind of electronic scales of the method for managing power supply of electronic scales of the present invention comprises:
Mass sensor 101: be used for the quality conversion of testee is become analog voltage signal;
Analog to digital converter 102: be used for converting the analog voltage signal of mass sensor collection into digital signal;
First microprocessor 103: be used for the digital signal of analog to digital converter conversion is carried out computing, and result is sent into first display module and second microprocessor;
First display module 104: be used for the result that receives the first microprocessor transmission is shown;
Second microprocessor 105: be used to receive the result that first microprocessor sends, send into the memory module storage; And expand with print module, scanner module, radio-frequency card module and communication module through expansion interface and to be connected;
Memory module 106: store the result that said second microprocessor is sent into;
Expansion interface 107: be used for expansion and connect second display module 108, print module 109, scanner module 110, radio-frequency card module 111 and/or communication module 112.
See also Fig. 2, in conjunction with above-mentioned electronic scales, first embodiment of the method for managing power supply of electronic scales of the present invention may further comprise the steps:
Step S01: when electronic scales is in mode of operation, current first trigger pip that first microprocessor quality of reception sensor sends;
Step S02: first microprocessor is according to current first trigger pip that receives, and whether the time interval of judging last one first trigger pip place time and current first trigger pip place time is greater than first threshold;
Step S03: if first microprocessor then sends trigger pip makes electronic scales get into battery saving mode to second microprocessor.
After getting into battery saving mode; Only there are mass sensor 101, analog to digital converter 102 and first microprocessor 103 to be in power supply state; And second microprocessor 105, memory module 106, expansion interface 107 and second display module 108, print module 109, scanner module 110, radio-frequency card module 111 and communication module 112 all are in off-position, to save power supply.
First threshold is the time threshold whether electronic scales need get into battery saving mode, can be set by the user according to actual needs, also can be by producer's unified setting when dispatching from the factory, and it is the outage judgement that is used for controlling the non-working condition of power consumption module.Because a plurality of modules of above-mentioned electronic scales all are to be in non-working condition, electric energy can be significantly saved in outage so.
Get into the step of battery saving mode at electronic scales after, when first microprocessor received first trigger pip of mass sensor transmission once more, first microprocessor then sends trigger pip made electronic scales get into mode of operation to second microprocessor.
After getting into mode of operation; Mass sensor 101, analog to digital converter 102, first microprocessor 103, second microprocessor 105, memory module 106, expansion interface 107 and second display module 108, print module 109, scanner module 110, radio-frequency card module 111 and communication module 112 all are in power supply state, with operate as normal.Certainly, when mode of operation, second microprocessor also can carry out power down process to connected long-time idle functional module as required, to save power supply.
In the above embodiments; First microprocessor is the microprocessor of little power consumption, and guaranteeing works long hours but can consume too many electric energy, and second microprocessor is the major function processor; Under the situation of the trigger pip of not weighing, get into battery saving mode, save power supply.
See also Fig. 3, in conjunction with above-mentioned electronic scales, second embodiment of the method for managing power supply of electronic scales of the present invention may further comprise the steps:
Step T01: when electronic scales was in mode of operation, first microprocessor received current second trigger pip that comes from the outside;
Step T02: according to current second trigger pip that receives, first microprocessor judged that whether the time interval of last one second trigger pip place time and current second trigger pip place time was greater than first threshold;
Step T03: if first microprocessor then sends trigger pip makes electronic scales get into battery saving mode to second microprocessor.
After getting into battery saving mode; Only there are mass sensor 101, analog to digital converter 102 and first microprocessor 103 to be in power supply state; And second microprocessor 105, memory module 106, expansion interface 107 and second display module 108, print module 109, scanner module 110, radio-frequency card module 111 and communication module 112 all are in off-position, to save power supply.
Current second trigger pip that comes from the outside possibly come from trigger equipments such as keyboard, mouse or touch screen; Second trigger pip that these trigger equipments produce can the active electron scale be accomplished the operation and the management of the additional function of electronic scales, writes or the like operation like reading of printing, demonstration, scanner scanning, communication and radio-frequency card.
Get into the step of battery saving mode at electronic scales after, when first microprocessor received extraneous current second trigger pip of sending once more, first microprocessor then sends trigger pip made electronic scales get into mode of operation to second microprocessor.
After getting into mode of operation; Mass sensor 101, analog to digital converter 102, first microprocessor 103, second microprocessor 105, memory module 106, expansion interface 107 and second display module 108, print module 109, scanner module 110, radio-frequency card module 111 and communication module 112 all are in power supply state, with operate as normal.Certainly, when mode of operation, second microprocessor also can carry out power down process to connected long-time idle functional module as required, to save power supply.
In the above embodiments; First microprocessor is the microprocessor of little power consumption, and guaranteeing works long hours but can consume too many electric energy, and second microprocessor is the major function processor; Under the situation of the trigger pip of not weighing, get into battery saving mode, save power supply.
See also Fig. 4, electronic scales electric power controller first embodiment of the present invention comprises:
Receiver module 201: be used for first trigger pip that quality of reception sensor sends;
Judge module 202: be used for according to first trigger pip that receives, whether the time interval of judging last one first trigger pip place time and current time is greater than first threshold;
Control module 203: be used for then making electronic scales get into battery saving mode if the time interval of last one first trigger pip place time and current time is greater than first threshold; In battery saving mode, after receiver module receives first trigger pip, then make electronic scales get into mode of operation.
In the present embodiment; Receiver module 201, judge module 201 and control module 203 are arranged in first microprocessor 103; Receiver module 201 is connected with mass sensor, and first trigger pip of quality of reception sensor transmission, and judge module 202 is connected with receiver module 201; Be used for according to first trigger pip that receives, whether the time interval of judging last one first trigger pip place time and current time is greater than first threshold; Control module 203 is connected with judge module 202, is used for then sending trigger pip and making electronic scales get into battery saving mode to second microprocessor 105 if the time interval of last one first trigger pip place time and current time is greater than first threshold; In battery saving mode, after receiver module 201 receives first trigger pip, then send trigger pip and make electronic scales get into mode of operation to second microprocessor 105.
See also Fig. 5, electronic scales electric power controller second embodiment of the present invention comprises:
Receiver module 301: be used to receive second trigger pip from keyboard,
Judge module 302: be used for according to second trigger pip that receives, whether the time interval of judging last one second trigger pip place time and current time is greater than first threshold;
Control module 303: be used for then making electronic scales get into battery saving mode if the time interval of last one second trigger pip place time and current time is greater than first threshold; In battery saving mode, after receiver module receives second trigger pip, then make electronic scales get into mode of operation.
In the present embodiment; Receiver module 301, judge module 301 and control module 303 are arranged in first microprocessor 103; Receiver module 301 is connected with mass sensor, and first trigger pip of quality of reception sensor 101 transmissions, and judge module 302 is connected with receiver module 301; Be used for according to first trigger pip that receives, whether the time interval of judging last one first trigger pip place time and current time is greater than first threshold; Control module 303 is connected with judge module 302, is used for then sending trigger pip and making electronic scales get into battery saving mode to second microprocessor 105 if the time interval of last one first trigger pip place time and current time is greater than first threshold; In battery saving mode, after receiver module 301 receives first trigger pip, then send trigger pip and make electronic scales get into mode of operation to second microprocessor 105.
The above is merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.