CN104298146A - Sensor control method and device - Google Patents

Sensor control method and device Download PDF

Info

Publication number
CN104298146A
CN104298146A CN201310300225.4A CN201310300225A CN104298146A CN 104298146 A CN104298146 A CN 104298146A CN 201310300225 A CN201310300225 A CN 201310300225A CN 104298146 A CN104298146 A CN 104298146A
Authority
CN
China
Prior art keywords
sensor
application processor
numerical information
power consumption
interface circuit
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
CN201310300225.4A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310300225.4A priority Critical patent/CN104298146A/en
Priority to PCT/CN2013/085936 priority patent/WO2015007028A1/en
Publication of CN104298146A publication Critical patent/CN104298146A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a sensor control method and device. The method includes the following steps that: a sensor converts acquired analog information into digital information; a low-power consumption micro controller acquires the digital information through an interface circuit and processes the digital information, and sends the processed digital information to an application processor through the interface circuit; and the application processor completes corresponding control actions according to the processed digital information. By means of the sensor control method and device provided by the technical scheme of the invention, wake-up times of the application processor can be effectively reduced, and the power consumption of the application processor can be reduced, and the continuation time of portable equipment can be increased.

Description

Sensor control method and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of sensor control method and device.
Background technology
Current portable set is applied more and more universal in daily life, and for smart mobile phone, it plays more and more important role in daily life." clever " all the more that smart mobile phone also becomes while popularizing, such as, smart mobile phone can adjust the LCD brightness of mobile phone according to external environment light intensity, to obtain better Consumer's Experience; Also can according to the modes of emplacement of mobile phone, adjustment LCD displaying contents, is adjusted to horizontal screen display and shows or erect screen display and show; The position can placed according to mobile phone, judges the direction that mobile phone is placed, to make mobile phone have the functions such as compass.The realization of these functions all will depend on a kind of Important Components---the sensor in mobile phone.Above for smart mobile phone, list sensor all effects wherein, in fact mostly there is sensor application in portable set, such as various electronic reader, panel computer etc., wherein there is large quantity sensor to complete the information interaction of portable set and external environment condition, make portable set become more and more intelligence.
Sensor is while portable set brings all intelligent functions, also the continuation of the journey problem of portable set is brought, various portable set is general all battery-powered, battery electric quantity is limited, and various sensor needs to work frequently, such as, ambient light sensor needs continuous monitoring of environmental luminance brightness so that adjustment LCD brightness in time, expends the electricity of portable set.
Fig. 1 is the schematic diagram of portable set control circuit in prior art, in Fig. 1, various sensor 3 is directly connected by interface circuit 2 with application processor 1, the various signal transacting of sensor all need application processor, in portable set, application processor most of time is all in dormant state, to reduce electric quantity consumption as far as possible, and application processor is frequently waken up from dormant state, can consume too much electricity.
In a portable device, various sensor is communicated with application processor by various interface bus, applying more has inter-integrated circuit (Inter-Integrated Circuit, referred to as IIC) interface, Serial Peripheral Interface (Serial Peripheral Interface, referred to as SPI) etc.Sensor workflow in a portable device mainly comprises: sensor is by various environmental data, such as light, positions etc. gather, the analog quantity collected is converted to digital signal by sensor self through ADC, digital signal through ADC process communicates information to application processor by interface bus, the data that application processor provides according to various sensor, the corresponding control action made, completes the sampling period of primary transducer.Technical essential is wherein that sensor directly communicates with application processor.The receives information of sensor and corresponding feedback all need application processor to process in time.
In actual applications, more and more sensor in portable set, the problem causing the cruising time of portable set too short has become the problem that everybody pays close attention to jointly, and urgently optimizes solution.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the sensor control method solved the problem at least in part and device.
The invention provides a kind of sensor control method, comprising:
The analog information collected is converted to numerical information by sensor;
Low-power consumption microcontroller gathers numerical information by interface circuit, processes numerical information, and the numerical information after process is sent to application processor by interface circuit;
Application processor completes corresponding control action according to the numerical information after process.
Preferably, low-power consumption microcontroller comprises: 8 8-digit microcontrollers, 16 8-digit microcontrollers or 32 8-digit microcontrollers.
Preferably, interface circuit comprises: inter-integrated circuit iic bus or Serial Peripheral Interface spi bus.
Present invention also offers a kind of sensor control, comprising:
Sensor, for being converted to numerical information by the analog information collected;
Low-power consumption microcontroller, for gathering numerical information by interface circuit, processes numerical information, and the numerical information after process is sent to application processor by interface circuit;
Application processor, for completing corresponding control action according to the numerical information after process.
Preferably, low-power consumption microcontroller comprises: 8 8-digit microcontrollers, 16 8-digit microcontrollers or 32 8-digit microcontrollers.
Preferably, interface circuit comprises: inter-integrated circuit iic bus or Serial Peripheral Interface spi bus.
Beneficial effect of the present invention is as follows:
By means of the technical scheme of the embodiment of the present invention, by using low-power consumption microcontroller as the bridge of sensor and application processor, first sensor directly communicates with low-power consumption microcontroller, application processor is uploaded to again by after information processing by low-power consumption microcontroller, sensor does not directly communicate with application processor, application processor can not be waken up frequently, effectively can reduce the wake-up times of application process, reduce application processor power consumption, and then increase the cruising time of portable set.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the schematic diagram of portable set control circuit in prior art;
Fig. 2 is the process flow diagram of the sensor control method of the embodiment of the present invention;
Fig. 3 is the schematic diagram of the sensor control method of the embodiment of the present invention;
Fig. 4 is the schematic diagram of the sensor control of the embodiment of the present invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
In order to solve the aforementioned problems in the prior, the invention provides a kind of sensor control method and device, a kind of low-power consumption microcontroller is increased between sensor and application processor, sensor is used to complete the control of peripheral sensor, microcontroller communicates with application processor simultaneously, microcontroller can be 8 16 single-chip microcomputers, or has the various microcontrollers of ARM core.Microcontroller generally has low power consumption characteristic, and simultaneously peripheral have abundant interface circuit, can complete the bridge joint work between sensor and application processor.After increasing microcontroller, the workflow of sensor comprises: sensor collects simulation confidence and summons to court as numerical information by ADC, low-power consumption microcontroller is arrived by the digital information acquisition of interface circuit by sensor, this numerical information passes through process at microcontroller, again by interface circuit, information is passed to application processor, application processor completes corresponding control action, and a sampling period of sensor completes.
Below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, do not limit the present invention.
Embodiment of the method
According to embodiments of the invention, provide a kind of sensor control method, Fig. 2 is the process flow diagram of the sensor control method of the embodiment of the present invention, and as shown in Figure 2, the sensor control method according to this embodiment of the present invention comprises:
Step 201, the analog information collected is converted to numerical information by sensor;
Step 202, low-power consumption microcontroller gathers numerical information by interface circuit, processes numerical information, and the numerical information after process is sent to application processor by interface circuit;
Preferably, low-power consumption microcontroller comprises: 8 8-digit microcontrollers, 16 8-digit microcontrollers or 32 8-digit microcontrollers.Interface circuit comprises: inter-integrated circuit iic bus or Serial Peripheral Interface spi bus.
Step 203, application processor completes corresponding control action according to the numerical information after process.
Fig. 3 is the schematic diagram of the sensor control method of the embodiment of the present invention, as shown in Figure 3, comprising: as the interface circuit 5 of various sensors 4, application processor and the low-power consumption microcontroller in the interface circuit 3 of the application processor 1 of portable set main control unit, low-power consumption microcontroller 2, low-power consumption microcontroller and the various sensor as application processor and various sensor bridge, portable set.Wherein, low-power consumption microcontroller and various sensor interface circuit 3 and and the interface circuit 5 of application processor and low-power consumption microcontroller include but not limited to iic bus, spi bus etc.Low-power consumption microcontroller 2 includes but not limited to 8,16,32 low-power consumption microcontrollers.In embodiments of the present invention, low-power consumption microcontroller, simultaneously owing to connecting various sensor, acts on similar HUB function, this element also can be claimed to be Sensor HUB.Low-power consumption microcontroller 2 includes, but are not limited to the various peripheral sensor of portable set, such as: ambient light sensor, and proximity transducer, geomagnetic sensor, gyroscope, SAR sensor, pressure transducer, humidity sensor.
In Fig. 3, application processor 1 is as the main control unit of portable set, various peripheral circuit can be connected, as the control hinge of portable set, need to participate in various Signal reception and work for the treatment of, the electricity consumed accounts for the suitable vast scale of whole system, and the flying power of application processor power consumption to portable set has a direct impact.In embodiments of the present invention, by low-power consumption microcontroller 2, various sensor 4 and application processor 1 are isolated, first the data that sensor 4 sends are processed by low-power consumption microcontroller 2, by sensing data reasonable integration, wake application processor 1 again up when being necessary, to reduce the wake-up times of application processor 1.By the function served as bridge of low-power consumption microcontroller 2, decrease the number of times that application processor 1 is waken up because of sensor 4 reason to the full extent, and then reduce the electric quantity consumption of portable set, extend the cruising time of portable set.
Device embodiment
According to embodiments of the invention, provide a kind of sensor control, Fig. 4 is the schematic diagram of the sensor control of the embodiment of the present invention, as shown in Figure 4, sensor control according to the embodiment of the present invention comprises: sensor 40, low-power consumption microcontroller 42 and application processor 44, below in conjunction with accompanying drawing, the modules in the embodiment of the present invention is described in detail.
Sensor 40, for being converted to numerical information by the analog information collected;
Low-power consumption microcontroller 42, for gathering numerical information by interface circuit, processes numerical information, and the numerical information after process is sent to application processor 44 by interface circuit;
Preferably, low-power consumption microcontroller 42 comprises: 8 8-digit microcontrollers, 16 8-digit microcontrollers or 32 8-digit microcontrollers.Interface circuit comprises: inter-integrated circuit iic bus or Serial Peripheral Interface spi bus.
Application processor 44, for completing corresponding control action according to the numerical information after process.
In the embodiment of the present invention, the concrete treatment step of modules can be understood according to the description in said method embodiment, does not repeat them here.
In sum, by means of the technical scheme of the embodiment of the present invention, by using low-power consumption microcontroller as the bridge of sensor and application processor, first sensor directly communicates with low-power consumption microcontroller, application processor is uploaded to again by after information processing by low-power consumption microcontroller, sensor does not directly communicate with application processor, application processor can not be waken up frequently, effectively can reduce the wake-up times of application process, reduce application processor power consumption, and then increase the cruising time of portable set.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (6)

1. a sensor control method, is characterized in that, comprising:
The analog information collected is converted to numerical information by sensor;
Low-power consumption microcontroller gathers described numerical information by interface circuit, processes described numerical information, and the described numerical information after process is sent to application processor by described interface circuit;
Described application processor completes corresponding control action according to the described numerical information after process.
2. the method for claim 1, is characterized in that, described low-power consumption microcontroller comprises: 8 8-digit microcontrollers, 16 8-digit microcontrollers or 32 8-digit microcontrollers.
3. the method for claim 1, is characterized in that, described interface circuit comprises: inter-integrated circuit iic bus or Serial Peripheral Interface spi bus.
4. a sensor control, is characterized in that, comprising:
Sensor, for being converted to numerical information by the analog information collected;
Low-power consumption microcontroller, for gathering described numerical information by interface circuit, processes described numerical information, and the described numerical information after process is sent to application processor by described interface circuit;
Described application processor, for completing corresponding control action according to the described numerical information after process.
5. device as claimed in claim 4, it is characterized in that, described low-power consumption microcontroller comprises: 8 8-digit microcontrollers, 16 8-digit microcontrollers or 32 8-digit microcontrollers.
6. device as claimed in claim 4, it is characterized in that, described interface circuit comprises: inter-integrated circuit iic bus or Serial Peripheral Interface spi bus.
CN201310300225.4A 2013-07-17 2013-07-17 Sensor control method and device Pending CN104298146A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310300225.4A CN104298146A (en) 2013-07-17 2013-07-17 Sensor control method and device
PCT/CN2013/085936 WO2015007028A1 (en) 2013-07-17 2013-10-25 Control method and control device for sensors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310300225.4A CN104298146A (en) 2013-07-17 2013-07-17 Sensor control method and device

Publications (1)

Publication Number Publication Date
CN104298146A true CN104298146A (en) 2015-01-21

Family

ID=52317925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310300225.4A Pending CN104298146A (en) 2013-07-17 2013-07-17 Sensor control method and device

Country Status (2)

Country Link
CN (1) CN104298146A (en)
WO (1) WO2015007028A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850968A (en) * 2016-12-30 2017-06-13 广东欧珀移动通信有限公司 A kind of communication means and equipment
CN110661542A (en) * 2019-09-29 2020-01-07 上海创功通讯技术有限公司 Terminal control method and terminal
CN115079623A (en) * 2022-08-23 2022-09-20 深圳市航顺芯片技术研发有限公司 Control method and device of microcontroller chip and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101343104A (en) * 2008-08-28 2009-01-14 中国农业大学 Intelligent transmission apparatus for pH value of water
CN101911048A (en) * 2008-01-18 2010-12-08 因文森斯公司 Interfacing application programs and motion sensors of a device
CN201781582U (en) * 2010-09-02 2011-03-30 南京南自信息技术有限公司 Network camera
CN102981626A (en) * 2012-12-12 2013-03-20 紫光股份有限公司 Wearing-on-head type computer

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668350B (en) * 2008-09-01 2012-07-25 联想(北京)有限公司 Mobile-terminal state-switching method and mobile terminal
US9086875B2 (en) * 2009-06-05 2015-07-21 Qualcomm Incorporated Controlling power consumption of a mobile device based on gesture recognition
KR101624903B1 (en) * 2009-09-16 2016-05-30 삼성전자주식회사 Apparatus and method for reducing power consumption in portable terminal
JP5741095B2 (en) * 2011-03-16 2015-07-01 富士通株式会社 Wireless communication apparatus and power saving control method
CN102724772A (en) * 2012-04-16 2012-10-10 中兴通讯股份有限公司 Ad Hoc network-based mobile terminal system and usage method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101911048A (en) * 2008-01-18 2010-12-08 因文森斯公司 Interfacing application programs and motion sensors of a device
CN101343104A (en) * 2008-08-28 2009-01-14 中国农业大学 Intelligent transmission apparatus for pH value of water
CN201781582U (en) * 2010-09-02 2011-03-30 南京南自信息技术有限公司 Network camera
CN102981626A (en) * 2012-12-12 2013-03-20 紫光股份有限公司 Wearing-on-head type computer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
殷春燕: "《室内导航带来智能手机新商机,MEMS传感器加速系统融合》", 《集成电路应用》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850968A (en) * 2016-12-30 2017-06-13 广东欧珀移动通信有限公司 A kind of communication means and equipment
CN106850968B (en) * 2016-12-30 2020-08-14 Oppo广东移动通信有限公司 Communication method and device
CN110661542A (en) * 2019-09-29 2020-01-07 上海创功通讯技术有限公司 Terminal control method and terminal
CN115079623A (en) * 2022-08-23 2022-09-20 深圳市航顺芯片技术研发有限公司 Control method and device of microcontroller chip and storage medium

Also Published As

Publication number Publication date
WO2015007028A1 (en) 2015-01-22

Similar Documents

Publication Publication Date Title
CN109888867B (en) Charging method and mobile terminal
CN102006356A (en) Method for detecting state of cell phone pocket by using Android operating system
CN103002154B (en) Method for avoiding touch screen invalidation
CN110278325B (en) Electronic device providing notification through display and control method thereof
CN204364794U (en) Spring-grip and grip data monitoring system thereof
CN103345142B (en) A kind of Intellectual Electronic-Clock of Multifunction
CN104298146A (en) Sensor control method and device
CN103519810A (en) Physiological index detection device and method based on intelligent mobile terminal device platform
CN214151429U (en) Control system of magnetostrictive liquid level meter
CN105526967A (en) Measuring equipment and system based on intelligent terminal
CN203554745U (en) Intelligent illumination controlling device
CN105759941A (en) System and method for controlling dormancy of mobile terminal and mobile terminal
CN203894664U (en) Portable mushroom house production environment parameter acquisition device
CN204557375U (en) A kind of Novel low power consumption Intelligent worn device
CN203837804U (en) Traceable electronic weighing system
CN207457716U (en) A kind of intelligent clock
CN204143375U (en) A kind of multifunctional intellectual wrist strap
CN103235271A (en) Method of detecting power of touch pen
CN203840416U (en) Arousal system for wireless network
CN102564552B (en) Power supply management method and power supply management device for electronic scale
CN202650220U (en) Intelligent access equipment for Internet of Things
CN207946656U (en) A kind of sensor circuit structure for smartwatch
CN104166363A (en) Industrial control acquisition system based on internet of things
CN204269515U (en) A kind of hand-held haze monitor
CN212570012U (en) Ultra-low power consumption beef cattle physiological information acquisition equipment based on bluetooth

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150121

WD01 Invention patent application deemed withdrawn after publication