CN101934736A - Power supply power-down processing method of vehicle speaker singlechip and peripheral equipment - Google Patents
Power supply power-down processing method of vehicle speaker singlechip and peripheral equipment Download PDFInfo
- Publication number
- CN101934736A CN101934736A CN 201010145684 CN201010145684A CN101934736A CN 101934736 A CN101934736 A CN 101934736A CN 201010145684 CN201010145684 CN 201010145684 CN 201010145684 A CN201010145684 A CN 201010145684A CN 101934736 A CN101934736 A CN 101934736A
- Authority
- CN
- China
- Prior art keywords
- module
- internal
- consumption
- stop
- processing method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Amplifiers (AREA)
Abstract
The invention relates to the technical field of vehicle speakers, in particular to a power supply power-down processing method of a vehicle speaker singlechip and peripheral equipment. The method comprises the following steps of: (11) removing a processing thread and a timer; (12) sequentially stopping various internal modules in a singlechip; (13) respectively detecting whether the stopping of the internal modules is finished; and (14) entering a low-frequency mode and exiting if the stopping of all the internal modules is finished, wherein in the step (12), all the internal modules are sequentially stopped according to the electricity consumption of the internal modules, and an internal module with great electricity consumption is preferably powered down.
Description
Technical field
The present invention relates to the auto audio equipment technical field, the power supply power-fail processing method of particularly a kind of automobile audio amplifier micro controller system and external equipment.
Background technology
The designer of auto audio equipment has often spent a large amount of time and efforts how by power pulse experimentally, thereby how fast and effeciently saving cost by the power pulse experiment is a challenge to the auto audio equipment designer, and existing power supply design plan can not be tested by power pulse effectively.
Summary of the invention
The invention provides the power supply power-fail processing method of a kind of automobile audio amplifier micro controller system and external equipment, to solve the technical matters that prior art can not effectively realize by power pulse.
The technical solution used in the present invention is as follows:
The power supply power-fail processing method of a kind of automobile audio amplifier micro controller system and external equipment comprises:
(11) remove processing threads and timer;
(12) stop each internal module of micro controller system successively;
(13) check respectively whether each internal module has stopped finishing;
(14), and withdraw from if all internal modules have stopped finishing then entered low frequency mode;
In the described step (12), stop each internal module successively, preferentially close the big internal module of consumption of current according to the consumption of current of internal module.
As a kind of preferred version, the concrete steps of described step (12) are as follows:
(21) according to the consumption of current size, stop the internal module with the external equipment communication successively, preferentially close the big internal module of consumption of current;
(22) according to the consumption of current size, stop the internal module of internal communication successively, preferentially close the big internal module of consumption of current.
As further preferred version:
Described and the internal module external equipment communication is CD module, USB module and/or SD module;
The internal module of described internal communication is Tuner module and/or EEProm data memory module.
As further preferred version again, the concrete steps of described step (11) are: stop CD module, USB module, SD module, Tuner module and/or EEProm data memory module successively.
As preferred version further, the concrete steps of described step (13) are as follows:
(51) according to the consumption of current size, check successively whether internal module stops to finish, if stop to finish, execution in step (52) then, otherwise re-execute step (51) after the time-delay;
(52) whether all internal modules have all stopped finishing, if, execution in step (14) then, otherwise execution in step (52).
The present invention by to the micro controller system internal module stop the order reset, preferentially stop the big internal module of consumption of current, can stop micro controller system more rapidly, enter low frequency mode as early as possible, thereby more effectively test by power pulse.
Description of drawings
Fig. 1 is a power down curve model of the present invention;
Fig. 2 is original software flow pattern;
Fig. 3 is a software flow pattern of the present invention.
The specific embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is described in more detail.
Be illustrated in figure 1 as the power down curve model, wherein abscissa is represented the time, and ordinate is represented voltage.0~t1 represents the high frequency power down stage, and t1~t2 represents the low frequency power down stage, and t2 represents to reset the power down stage later on.Voltage when V1 is the sound equipment shutdown, VR are the minimum voltages of micro controller system energy normal operation when low frequency.V0 is a constant, the voltage when being system's normal operation.
In the power down curve, auto audio equipment is carried out three phases divide on the power down time: the high frequency power down stage (0~t1), the low frequency power down stage, (t1~t2), the power down stage (after the t2) resetted.
1. (0~t1): also be in the high-frequency work state at this stage micro controller system, the peripheral equipment consumption of current is bigger, so that electric weight falls is very fast the high frequency power down stage.
2. (t1~t2): shut down at this stage sound equipment, micro controller system is in the low frequency operation state, and peripheral equipment quits work, and consumption of current is less, so that electric weight falls is very slow the low frequency power down stage.
3. the power down stage (after the t2) resets: be in abnormal operating state at this stage micro controller system.
The high frequency power down stage shortly more can be paid the utmost attention to and close the bigger peripheral equipment of consumption of current earlier for favourable more by power pulse experiment theoretically, closes miscellaneous equipment again.Technical scheme of the present invention is exactly that treatment scheme to power down is optimized, to reduce the time in high frequency power down stage.
The power down process flow process of prior art is wherein handled the size that does not have according to consumption of current to the power failure of each internal module and is optimized as shown in Figure 2.
As shown in Figure 3, the technical scheme of present embodiment employing is as follows:
(S1) existing thread and timer etc. are removed processing;
(S2) create the CD module and stop thread;
(S3) create the USB/SD module and stop thread;
(S4) the Tuner module stops to handle;
(S5) the EEProm data storage stops to handle.
(S6) detect the CD module and whether stop to finish,, otherwise re-execute step (S6) after time-delay a period of time if stop to finish then execution in step (S7);
(S7) detect the USB/SD module and whether stop to finish,, otherwise re-execute step (S7) after time-delay a period of time if stop to finish then execution in step (S8);
(S8) carry out otherwise power down process;
(S9) finish shutdown and handle, enter low frequency mode.
Claims (5)
1. the power supply power-fail processing method of automobile audio amplifier micro controller system and external equipment comprises:
(11) remove processing threads and timer;
(12) stop each internal module of micro controller system successively;
(13) check respectively whether each internal module has stopped finishing;
(14), and withdraw from if all internal modules have stopped finishing then entered low frequency mode;
It is characterized in that, in the described step (12), stop each internal module successively, preferentially close the big internal module of consumption of current according to the consumption of current of internal module.
2. follow according to the described power supply power-fail processing method of claim 1, it is characterized in that, the concrete steps of described step (12) are as follows:
(21) according to the consumption of current size, stop the internal module with the external equipment communication successively, preferentially close the big internal module of consumption of current;
(22) according to the consumption of current size, stop the internal module of internal communication successively, preferentially close the big internal module of consumption of current.
3. power supply power-fail processing method according to claim 2 is characterized in that:
Described and the internal module external equipment communication is CD module, USB module and/or SD module;
The internal module of described internal communication is Tuner module and/or EEProm data memory module.
4. power supply power-fail processing method according to claim 3 is characterized in that, the concrete steps of described step (11) are: stop CD module, USB module, SD module, Tuner module and/or EEProm data memory module successively.
5. power supply power-fail processing method according to claim 1 is characterized in that, the concrete steps of described step (13) are as follows:
(51) according to the consumption of current size, check successively whether internal module stops to finish, if stop to finish, execution in step (52) then, otherwise re-execute step (51) after the time-delay;
(52) whether all internal modules have all stopped finishing, if, execution in step (14) then, otherwise execution in step (52).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101456846A CN101934736B (en) | 2010-04-09 | 2010-04-09 | Power supply power-down processing method of vehicle speaker singlechip and peripheral equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101456846A CN101934736B (en) | 2010-04-09 | 2010-04-09 | Power supply power-down processing method of vehicle speaker singlechip and peripheral equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101934736A true CN101934736A (en) | 2011-01-05 |
CN101934736B CN101934736B (en) | 2012-06-06 |
Family
ID=43388391
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101456846A Active CN101934736B (en) | 2010-04-09 | 2010-04-09 | Power supply power-down processing method of vehicle speaker singlechip and peripheral equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101934736B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231780A (en) * | 2011-07-19 | 2011-11-02 | 宇龙计算机通信科技(深圳)有限公司 | Terminal mobile and control method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1042398A (en) * | 1996-07-25 | 1998-02-13 | Sanyo Electric Co Ltd | Surround reproducing method and device |
JP2002269902A (en) * | 2001-03-15 | 2002-09-20 | Aiwa Co Ltd | Dubbing processing method acoustic device using the same |
CN1384448A (en) * | 2002-06-07 | 2002-12-11 | 扬州市兆星科技有限公司 | Intelligent motor vehicle monitoring and managing system |
CN101645014A (en) * | 2008-08-09 | 2010-02-10 | 海信(北京)电器有限公司 | Method for simulating data storage of EEPROM by using built-in FLASH program storing device of single-chip |
-
2010
- 2010-04-09 CN CN2010101456846A patent/CN101934736B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1042398A (en) * | 1996-07-25 | 1998-02-13 | Sanyo Electric Co Ltd | Surround reproducing method and device |
JP2002269902A (en) * | 2001-03-15 | 2002-09-20 | Aiwa Co Ltd | Dubbing processing method acoustic device using the same |
CN1384448A (en) * | 2002-06-07 | 2002-12-11 | 扬州市兆星科技有限公司 | Intelligent motor vehicle monitoring and managing system |
CN101645014A (en) * | 2008-08-09 | 2010-02-10 | 海信(北京)电器有限公司 | Method for simulating data storage of EEPROM by using built-in FLASH program storing device of single-chip |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231780A (en) * | 2011-07-19 | 2011-11-02 | 宇龙计算机通信科技(深圳)有限公司 | Terminal mobile and control method |
CN102231780B (en) * | 2011-07-19 | 2013-11-13 | 宇龙计算机通信科技(深圳)有限公司 | Terminal mobile and control method |
Also Published As
Publication number | Publication date |
---|---|
CN101934736B (en) | 2012-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108123509B (en) | Charging control method and related device thereof | |
CN105242608B (en) | Entire car controller and its control method | |
CN103682506A (en) | Battery system and method for identifying unauthorized module replacement in battery system | |
CN102694542A (en) | Method, device and chip for isolating signal | |
CN104228819B (en) | The DCDC control system of a kind of automobile 48V system and method | |
CN113085595A (en) | Electric vehicle charging, power-on and power-off control method and device and electric vehicle | |
CN107533351A (en) | The method and apparatus reduced for memory power | |
WO2020087270A1 (en) | Power failure protection circuit, apparatus and system used for vehicle-mounted device | |
CN103029593A (en) | Power supply control method and device and power supply device of electric automobile power system | |
CN101934736B (en) | Power supply power-down processing method of vehicle speaker singlechip and peripheral equipment | |
CN114142550A (en) | Control method and device of energy storage device and energy storage device | |
EP4287443A1 (en) | Charging control apparatus and method, and electric vehicle | |
CN101893925A (en) | Start circuit | |
CN106654429B (en) | Battery control method and system | |
CN103377151A (en) | Hard disk power-down protecting method and electronic equipment using same | |
CN103135739B (en) | power consumption control method of electronic system and related electronic system | |
JP5601912B2 (en) | Control device for power converter, and grid-connected inverter system using this control device | |
US10108243B1 (en) | Smart USB plug detection | |
CN102981588B (en) | System and method capable of starting up through universal sequence bus device | |
CN103683383B (en) | A kind of low voltage standby power circuit and method | |
CN104849669A (en) | Discharging method and system of non-removable battery of mobile terminal | |
CN105320246A (en) | Information processing method and electronic device | |
CN111140529B (en) | Blower control method, blower control device and storage medium | |
CN101807102A (en) | Power signal detection system, method and portable electronic device | |
CN103123463A (en) | Method and device for controlling states of system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C56 | Change in the name or address of the patentee | ||
CP01 | Change in the name or title of a patent holder |
Address after: 516006 Guangdong province Huizhou Zhongkai hi tech Industrial Development Zone Pearl River Road No. 1 Patentee after: HUIZHOU DESAY SV AUTOMOTIVE CO., LTD. Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Industrial Development Zone Pearl River Road No. 1 Patentee before: Huizhou Desay SV Auto. Electronics Co., Ltd. |