Device for entering dormant or factory mode
Technical Field
The present invention relates to the field of electronic product devices, and in particular, to a device for entering a sleep mode or a factory mode.
Background
Most intelligent devices are provided with backup batteries, and the devices need to enter a factory leaving mode or a sleep mode after leaving a factory, so that the problems of excessive consumption of electric quantity, abnormal starting and the like in the transportation and storage processes are solved. The device enters into the sleep mode or the factory mode through keys or communication, and the methods have defects and deficiencies.
1. The key is used for realizing that the operated equipment needs to have a corresponding key, and in addition, the simple equipment without an operation interface is difficult to operate and is easy to operate by mistake;
2. the equipment leaving the factory is accessed through the communication instruction, a special communication interface is also needed, or a wireless communication module is installed, so that the cost and the complexity of the system are increased.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a device for entering a sleep or delivery mode, which does not need to reserve an interface, a switch or a key separately, has a simple sleep mode, is easy to control, does not increase the equipment cost, and effectively solves the defects in the prior art.
The invention is realized by the following technical scheme: the utility model provides a get into dormancy or leave factory mode's device, includes the powered device and is used for charging equipment or external power supply for the powered device power supply usefulness, be provided with waveform generation circuit, power control circuit and power module in the charging equipment, the waveform control charging equipment's that waveform generation circuit produced power break-make output, be provided with the waveform identification circuit that is used for discerning the waveform that waveform generation circuit produced in the powered device and uses, still include power supply circuit and function realization circuit.
As a preferred technical solution, the waveform identification circuit detects a power waveform provided by the charging device, and determines whether to enter the sleep mode or the factory leaving mode according to the frequency, duty ratio and number characteristic information of the pulse family of the waveform.
As a preferred technical solution, the conversion from the factory mode to the wake-up mode is realized by continuous power supply.
As a preferred technical scheme, the waveform generating circuit comprises a single chip or an oscillating circuit, and the waveform generated by the circuit controls the power supply on-off output of the charging equipment.
The specific method comprises the following steps:
firstly, the charging equipment outputs power to the powered equipment end in a certain waveform, and the charging equipment is used for providing a read waveform for the powered equipment;
secondly, the inside of the power receiving equipment identifies the transmitted waveform through a waveform identification circuit and identifies the waveform;
if the identified waveform is a factory waveform, entering a sleep mode or entering a factory mode;
and fourthly, if the identified waveform is not the factory waveform, entering an awakening mode, then continuously supplying power, and modifying the dormancy or factory mode into a normal working mode.
The invention has the beneficial effects that: 1. delivery or dormancy is realized by switching on and off an external power supply or a charger;
2. the power receiving equipment judges whether to enter a sleep mode through detection of power on and power off of the charging equipment and waveform identification;
3. interfaces, switches or keys and the like do not need to be reserved independently;
4. the mode of entering the dormancy is simple and easy to control, and the equipment cost is not increased;
5. the power supply is continuously carried out for a period of time to realize the release or awakening from the factory mode, and the normal equipment function is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a waveform diagram generated by the single-chip microcomputer of the present invention;
fig. 3 is a flow chart of the operation of the present invention.
Detailed Description
All of the features disclosed in this specification, or all of the steps in any method or process so disclosed, may be combined in any combination, except combinations of features and/or steps that are mutually exclusive.
Any feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.
As shown in fig. 1, the power receiving device includes a power receiving device and a charging device or an external power supply for supplying power to the power receiving device, wherein a waveform generating circuit, a power supply control circuit and a power supply module are arranged in the charging device, a waveform generated by the waveform generating circuit controls the power supply on-off output of the charging device, and a waveform identifying circuit for identifying the waveform generated by the waveform generating circuit is arranged in the power receiving device.
The waveform identification circuit detects a power waveform provided by the charging equipment, and judges whether to enter a sleep mode or a factory mode according to the frequency, duty ratio and number characteristic information of a pulse family of the waveform. The waveform entering the factory or sleep mode is shown in fig. 2, and is stored after being programmed, so that once the waveform is received, that is, the waveform means that the charging device needs to enter the sleep or factory mode, and therefore, when the charging device detects the corresponding waveform, different operation modes are performed.
When the powered device enters a sleep mode or a factory leaving mode, and needs to be awakened to enter a normal working mode, the powered device can be switched from the factory leaving mode to the awakening mode only by uninterrupted power supply for a duration.
In this embodiment, the waveform generating circuit includes a single chip, and the waveform generated by the circuit controls the power supply on-off output of the charging device.
The specific method comprises the following steps:
firstly, the charging equipment outputs power to the powered equipment end in a certain waveform, and the charging equipment is used for providing a read waveform for the powered equipment;
secondly, the inside of the power receiving equipment identifies the transmitted waveform through a waveform identification circuit and identifies the waveform;
if the identified waveform is a factory waveform, entering a sleep mode or entering a factory mode;
and fourthly, if the identified waveform is not the factory waveform, entering an awakening mode, then continuously supplying power, and modifying the dormancy or factory mode into a normal working mode.
The invention has the beneficial effects that: 1. delivery or dormancy is realized by switching on and off an external power supply or a charger;
2. the power receiving equipment judges whether to enter a sleep mode through detection of power on and power off of the charging equipment and waveform identification;
3. interfaces, switches or keys and the like do not need to be reserved independently;
4. the mode of entering the dormancy is simple and easy to control, and the equipment cost is not increased;
5. the power supply is continuously carried out for a period of time to realize the release or awakening from the factory mode, and the normal equipment function is realized.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that are not thought of through the inventive work should be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope defined by the claims.