CN102487189A - Automatic shutdown protection device of portable electronic product under abnormal working state - Google Patents

Automatic shutdown protection device of portable electronic product under abnormal working state Download PDF

Info

Publication number
CN102487189A
CN102487189A CN201010568745XA CN201010568745A CN102487189A CN 102487189 A CN102487189 A CN 102487189A CN 201010568745X A CN201010568745X A CN 201010568745XA CN 201010568745 A CN201010568745 A CN 201010568745A CN 102487189 A CN102487189 A CN 102487189A
Authority
CN
China
Prior art keywords
control unit
micro
electronic product
unit
type electronic
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.)
Pending
Application number
CN201010568745XA
Other languages
Chinese (zh)
Inventor
任东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang Chenxun Simcom Technology Co Ltd
Original Assignee
Shenyang Chenxun Simcom Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenyang Chenxun Simcom Technology Co Ltd filed Critical Shenyang Chenxun Simcom Technology Co Ltd
Priority to CN201010568745XA priority Critical patent/CN102487189A/en
Publication of CN102487189A publication Critical patent/CN102487189A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

An automatic shutdown protection device of a portable electronic product under an abnormal working state comprises a power supply management unit. The device is characterized in that: the power supply management unit is connected with a micro-control unit; the micro-control unit is responsible for processing data and sending a control shutdown signal; an acceleration sensor unit, which is used to measure acceleration vectors of the portable electronic product in three directions so as to perceive changes of a moving state, is connected with the micro-control unit through an analog-to-digital conversion unit; the analog-to-digital conversion unit is used to convert an analog voltage value sampled by the acceleration sensor into a digital signal which can be processed by the micro-control unit; the micro-control unit is connected with a data buffer unit and an output control unit. By using the automatic shutdown protection device of the invention, module working can be stopped during a severe falling and vibration process. Effects of protecting the module and preventing a short circuit can be achieved. Making cost is low, an occupation space is small and the device is convenient for popularization.

Description

Automatic pass protector under the portable type electronic product abnormal work
Technical field
The present invention relates to electronic product security protection technology field, the automatic pass protector under particularly a kind of portable type electronic product abnormal work.
Background technology
Existing portable type electronic product; If fall born in working order accidentally like wireless communication module, mobile phone, media player etc.; Not only can influence the aesthetic in appearance of product; More serious is that the portable type electronic product internal circuit may cause the destructiveness of short circuit to damage, and causes and can't re-use.In the prior art, in this regard precautionary measures still seldom.
Summary of the invention
The purpose of this invention is to provide the automatic pass protector under a kind of portable type electronic product abnormal work that improves the electronic product safety in utilization; Its core is exactly a 3-axis acceleration sensor; Come testing product whether to be in through the change in location information of obtaining equipment and fall state, in time block power supply and prevent the product short circuit.
The objective of the invention is to realize like this: it comprises PMU, it is characterized in that: described PMU is connected with micro-control unit, and this micro-control unit is responsible for deal with data and is sent the control off signal; Be used to measure the acceleration of portable type electronic product on three directions and come the acceleration transducer unit of the variation of its motion state of perception to connect micro-control unit through D/A conversion unit, this D/A conversion unit be used to degree of will speed up sensor sample to analog voltage convert the accessible digital signal of micro-control unit to; Said micro-control unit also be connected be used for to real-time sampling to a large amount of acceleration digital signals data buffer storage unit of doing buffer-stored be used for that the information of micro-control unit Interrupt Process is exported to portable type electronic product and make it carry out the output control unit of shutdown action.
Said acceleration transducer unit comes the variation of its motion state of perception through the acceleration component of the measurement portable type electronic product on X, Y, three directions of Z.
Described portable type electronic product is wireless communication module, mobile phone, media player or notebook computer.
The present invention is the technological improvement to existing portable type electronic product; Improve the fail safe of all kinds of clients when using portable type electronic product through in portable type electronic product, installing an acceleration transducer supervising device additional; Promptly detect motion state through being installed at the built-in acceleration transducer of module; And can badly fall, stopping modular work when vibrating, play protection module, prevent the effect of short circuit.Cost of manufacture of the present invention is low, and it is little to take up room.The problem that possibly produce bigger heating and increase system loading for the present invention has been done abundant assessment.It is very little that this installs whole power consumption, about tens of uA, can not influence the standby and conversation consumption stream of module whole, and it is very little to generate heat.This device has increased data buffer storage unit can make the running speed of system improve greatly, can not influence the portable type electronic product speed of service originally.Therefore the present invention has good actual application value.Utilize that automatic pass provided by the invention protector can effectively prevent to drop unusually under the portable type electronic product working condition, judder, impact the short circuit problem that possibly cause; Prevent the various accidents that short circuit possibly cause; And make easy to usely, with low cost, be convenient to promote.
Description of drawings
Fig. 1 is a structural representation of the present invention;
Fig. 2 is a software control flow chart of the present invention.
Embodiment
To combine accompanying drawing below, to further explain of the present invention, but following instance only is the example among the present invention through instance, the rights protection scope of not representing the present invention and being limited, and rights protection scope of the present invention is as the criterion with claim.
As shown in Figure 1, be example with this device that is installed in wireless communication module, be not limited only to wireless communication module certainly, can use this device as media player, mobile phone, notebook computer etc.
It comprises PMU 150 this device, and being used for provides electric power to supply with to whole system.PMU is connected with micro-control unit 110, and this micro-control unit is responsible for the issue of deal with data and sending controling instruction control off signal; Be used to measure the acceleration of wireless communication module on X, Y, three directions of Z and come the acceleration transducer unit 120 of the variation of its motion state of perception to connect micro-control units 110 through D/A conversion unit 130, this D/A conversion unit 130 is used to the analog voltage that degree of will speed up transducer 120 samples and converts the accessible digital signal of micro-control unit to; Micro-control unit 110 also be connected be used for to real-time sampling to a large amount of acceleration digital signals data buffer storage unit 140 of doing buffer-stored be used for that the information of micro-control unit Interrupt Process is exported to wireless communication module and make it carry out the output control unit 160 of shutdown action.
In an embodiment of the present invention, said micro-control unit 110 is the MCU-MC9So8QG8 of high-performance, low-power consumption, and this chip is responsible for obtaining the Information Monitoring of acceleration transducer, after analyzing and calculating, realizes falling multinomial functions such as detection and output shutdown command.The PA pin of MC9S08QG8 chip is a multiplex channel, can be set to I/O, keyboard interrupt or A/D sampling channel as required.Micro-control unit 110 also comprises: judge the wireless communication module motion state algorithm and unlatching, close the flag bit of automatic pass protector, the opening of this function can be set according to self-demand in advance.The corresponding control register of configuration microcontroller is accomplished the control time clock feature of digital-to-analogue sampling.
Said micro-control unit comprises preset multiple safe movement range parameter, judges whether acceleration information satisfies the threshold values requirement.Microcontroller can judge whether wireless communication module is in the safe movement state according to the amplitude that moves, if judge that wireless communication module is in unsafe condition, then cuts off the power supply of wireless communication module rapidly.
The multiple safe movement range size of said micro-control unit can be set to: the safe movement scope is less than safe movement scope under the motor pattern, greater than safe movement scope under the soft pattern under the normally use pattern.Do comparison according to acceleration and corresponding safe movement scope, judge whether wireless communication module is safe movement.Choose the different security moving range under the different scene pattern, can in software, define the size of safe movement intensity voluntarily according to specific embodiments.
Said micro-control unit produces false judgment for preventing to the object motion state, and its algorithm is done further to improve.Promptly, acceleration ask speed, twice integration to ask the mode of displacement, the variation of comprehensive analysis wireless communication module motion state through being carried out an integration in time-domain.
Said micro-control unit judges that acceleration can activate the safety signs position when exceeding the safe movement scope.Through the safety signs position put in advance 0 with put 1 automatic shutoff protective functions under the wireless communication module abnormal work can be set opening and closing.
Said acceleration transducer unit 120 models are MMA726oQT, and this chip is output as analog signal, need carry out just carrying out data processing after the A/D conversion.Said acceleration transducer unit can be selected piezoelectric acceleration transducer for use, and this type of transducer is mainly used in and prevents mechanical disorder.Its principle is to utilize transducer under acceleration environment, can cause the characteristic of crystal modification, and this distortion can produce voltage, calculates the relation between the acceleration that produces voltage and applied, and just can change into voltage output by degree of will speed up.Voltage through the vector that changes changes inputs to D/A conversion unit with this signal and handles.The transducer of selecting suitable sensitivity, reliability, temperature, humidity range according to the concrete application scenario of electronic products such as wireless communication module is to satisfy the stability of acceleration transducer work.If select improper meeting to cause transducer to damage very soon.Below the concise and to the point points for attention of setting forth acceleration transducer type selecting among the present invention.
The sensitivity of acceleration transducer high measurement scope more is narrow more.On the contrary, the sensitivity low spot just can obtain the measuring range than broad.So when product is selected transducer, will use high-precision sensor often just to mean higher cost simply from needs.As far as given piezoelectric, sensitivity increases and increases with the increase of mass or piezoelectric element.In general, the accelerometer size is big more, and its natural frequency is low more.Should weigh sensitivity and physical dimension, the influence of additional mass and the pros and cons between the frequency response characteristic when therefore selecting accelerometer for use.
The fatigue resistance of acceleration transducer also is the key factor of piezoelectric acceleration sensor.In some is used, need use transducer for a long time, this just requires internal part can support long monitoring.Use the material devices of high strength, good stability well to address this problem.
Said D/A conversion unit 130 will utilize the A/D module of MC9S08QG8 chip internal to realize analog-to-digital conversion; Adopt PA0, PA1 and PA2 acquisition channel in concrete the realization as 3-axis acceleration; Link to each other with Xout (Pin15), Yout (Pin14) and the Zout (Pin13) of MMA7260QT, the control clock of A/D sampling is accomplished through the corresponding control register of software arrangements MC9S08QG8.
The HT24LC16 serial EEPROM that said data buffer storage unit 140 adopts Holtek company is as metadata cache.This chip adopts the I2C communication interface, and storage depth 2K byte, reading and writing data speed can satisfy the requirement that data in real time writes in the microsecond magnitude.Data write full after, micro-control unit is reset the address automatically, begins to cover from first address to write new data.It act as when acceleration transducer detects the vector variation in the motion process, the data of micro-control unit continuous collecting acceleration transducer, and handle, therefore to ward off buffer area in advance for data analysis.The active data buffer memory requires to have at least the storage depth of 320 points (closing 1920 bytes).
As shown in Figure 2 during concrete work:
System is provided with the setting operation of some initialization operations of main completion and the system information that needs the user to confirm.System initialization work is mainly accomplished by micro-control unit, comprises the setting of various configuration registers, the setting of memory buffer, and initial work will guarantee that each functional unit of system can the normal startup in the back that powers on.Micro-control unit initialization--MCU_Init ():.With reference to Fig. 2, falling unusually appears in module, the detection algorithm control flow when sharp pounding or other impact is following:
1) major cycle is waited for, the variation of monitoring acceleration if surpass threshold value, gets into next step;
2) wait for that acceleration returns in the normal range (NR), get into next step;
3) data analysis normally then gets into the initial examination and measurement state once more if judge the wireless communication module motion state;
4) then carry out the shutdown action unusually if judge the wireless communication module motion state. 
The software configuration of system mainly is made up of main program, time delay subroutine, timer interrupt service routine, data acquisition subprogram 4 parts.
In programming, use the C language development, use the compiling of AVR STUDIO CompilerTools, debugging routine.Used modularization and structural program design technology, not only independent separately but also connect each other between each module, improved efficient, saved internal memory, also help the debugging of program.The function of each program module is following.
Main program: after system powers on or resets, promptly get into main body module, its function is initialization, opens interruption, connects each sub-module and coordinate their work.
Time delay subroutine: adopt the method that timer interrupts and software delay combines to realize that these regularly.
The timer interrupt service routine: each element circuit of microcontroller timesharing ground control, through timer interrupt routine in the given time, go to accomplish whole system function, the whole sensor nodes coordinating is worked together.
Data acquisition and processing subprogram: read each sensing data value, and carry out certain processing and storage.
Flexible configuration in the micro-control unit software can select to open or close the automatic shutoff protective functions under the abnormal work; The configuration of several groups of varying strengths also can selecting to pre-set is set up one and is called code table, can carry out shutdown protection action by different rules in the code table.
In sum, realized the object of the invention.

Claims (3)

1. the automatic pass protector under the portable type electronic product abnormal work, it comprises PMU, it is characterized in that: described PMU is connected with micro-control unit, and this micro-control unit is responsible for deal with data and is sent the control off signal; Be used to measure the acceleration of portable type electronic product on three directions and come the acceleration transducer unit of the variation of its motion state of perception to connect micro-control unit through D/A conversion unit, this D/A conversion unit be used to degree of will speed up sensor sample to analog voltage convert the accessible digital signal of micro-control unit to; Said micro-control unit also be connected be used for to real-time sampling to a large amount of acceleration digital signals data buffer storage unit of doing buffer-stored be used for that the information of micro-control unit Interrupt Process is exported to portable type electronic product and make it carry out the output control unit of shutdown action.
2. the automatic pass protector under the portable type electronic product abnormal work according to claim 1 is characterized in that: said acceleration transducer unit comes the variation of its motion state of perception through the acceleration component of on X, Y, three directions of Z, measuring portable type electronic product.
3. the automatic pass protector under the portable type electronic product abnormal work according to claim 1 and 2 is characterized in that: described portable type electronic product is wireless communication module, mobile phone, media player or notebook computer.
CN201010568745XA 2010-12-02 2010-12-02 Automatic shutdown protection device of portable electronic product under abnormal working state Pending CN102487189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010568745XA CN102487189A (en) 2010-12-02 2010-12-02 Automatic shutdown protection device of portable electronic product under abnormal working state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010568745XA CN102487189A (en) 2010-12-02 2010-12-02 Automatic shutdown protection device of portable electronic product under abnormal working state

Publications (1)

Publication Number Publication Date
CN102487189A true CN102487189A (en) 2012-06-06

Family

ID=46152653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010568745XA Pending CN102487189A (en) 2010-12-02 2010-12-02 Automatic shutdown protection device of portable electronic product under abnormal working state

Country Status (1)

Country Link
CN (1) CN102487189A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679055A (en) * 2012-09-18 2014-03-26 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
CN104459717A (en) * 2015-01-06 2015-03-25 上海华测导航技术有限公司 System and method for achieving GNSS receiver anti-falling protection based on falling detection
CN105375211A (en) * 2015-12-01 2016-03-02 上海斐讯数据通信技术有限公司 Vibration protection circuit and socket

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679055A (en) * 2012-09-18 2014-03-26 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
CN104459717A (en) * 2015-01-06 2015-03-25 上海华测导航技术有限公司 System and method for achieving GNSS receiver anti-falling protection based on falling detection
CN105375211A (en) * 2015-12-01 2016-03-02 上海斐讯数据通信技术有限公司 Vibration protection circuit and socket
CN105375211B (en) * 2015-12-01 2018-01-30 上海斐讯数据通信技术有限公司 One kind vibrations protection circuit and socket

Similar Documents

Publication Publication Date Title
US10642404B2 (en) Touch sensitive device with multi-sensor stream synchronized data
CN103294161B (en) Electronic device
US10559273B2 (en) Display screen control method and apparatus and terminal
CN104198829A (en) ARM temperature and humidity self-correction based electromagnetic radiation measuring device and measuring method
CN110196795B (en) Method and related device for detecting running state of mobile terminal application
CN106596394A (en) Hair detection method, terminal and comb
CN102487189A (en) Automatic shutdown protection device of portable electronic product under abnormal working state
CN104730487A (en) Monitoring device of electric energy meter
CN104346276A (en) Method and device for software tests
CN203949716U (en) A kind of digital weighing sensor
CN110542474A (en) Method, system, medium, and apparatus for detecting vibration signal of device
CN114661527A (en) Data backup method and device, electronic equipment and storage medium
CN113741971A (en) Program running method and device on micro-control chip and storage medium
CN106610873B (en) Method for predicting energy consumption of application program on Android device
CN108664389B (en) Test method, test device and terminal
CN108491325B (en) File system testing method and device, storage medium and terminal
CN202159314U (en) Cell phone mouse and system for implementing same
CN108399118B (en) File system test data processing method and device, storage medium and terminal
US10963026B2 (en) Digital signal transition counters for digital integrated circuits
CN106383802B (en) LPC interface access device and method based on Feiteng platform and notebook computer
CN108055414A (en) Falling protection method and related product
CN115278431A (en) State determination method and device, electronic equipment and readable storage medium
CN110210217A (en) A kind of recognition methods of file, equipment and computer readable storage medium
CN114238113A (en) Application testing method and related device
Snowdon et al. Power measurement as the basis for power management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120606