WO2014146509A1 - 音频设备外接终端的开机唤醒方法 - Google Patents

音频设备外接终端的开机唤醒方法 Download PDF

Info

Publication number
WO2014146509A1
WO2014146509A1 PCT/CN2014/071005 CN2014071005W WO2014146509A1 WO 2014146509 A1 WO2014146509 A1 WO 2014146509A1 CN 2014071005 W CN2014071005 W CN 2014071005W WO 2014146509 A1 WO2014146509 A1 WO 2014146509A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
audio device
power
transistor
audio
Prior art date
Application number
PCT/CN2014/071005
Other languages
English (en)
French (fr)
Inventor
华山
陈新
周文霞
江健琦
Original Assignee
福建联迪商用设备有限公司
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 福建联迪商用设备有限公司 filed Critical 福建联迪商用设备有限公司
Publication of WO2014146509A1 publication Critical patent/WO2014146509A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3272Short range or proximity payments by means of M-devices using an audio code

Definitions

  • the present invention relates to a method for booting a mobile payment terminal, and more particularly to a method for starting a wake-up of an external terminal of an audio device.
  • a slave device application which requires the payment terminal to perform accurate switching of the working mode and effective power consumption under the control of the audio device, so as to achieve reliable and efficient application of the terminal, and should have strong compatibility. Sex.
  • the object of the present invention is to provide several effective methods for the external terminal of the audio device to wake up after the audio interface cooperates; to achieve correct switching of the working mode of the terminal and effective allocation of power consumption, thereby improving the application performance of the terminal. .
  • the first solution adopted by the present invention is: providing a power-on wake-up method for an external terminal of an audio device, wherein: when an audio device is inserted into a terminal, the internal electrical characteristics of the audio interface of the audio device are converted into A continuous and reliable level signal to wake up the terminal for normal operation.
  • the internal electrical characteristics of the audio interface of the audio device are the DC bias level of the MIC channel or the internal resistance and voltage of the left and right channels.
  • the specific method for converting the internal electrical characteristics of the audio interface of the audio device into a continuous and reliable level signal is: providing a conversion circuit disposed on the terminal,
  • the conversion circuit includes a transistor Q1 and a transistor Q2; the base of the transistor Q1 is connected in series with a resistor R1 to connect the left or right channel of the audio port of the terminal; the emitter of the transistor Q1 is connected to the power source and passes through a resistor.
  • R2 is connected to the base of the transistor Q1; the collector of the transistor Q1 is connected to the anode of a diode D1, the cathode of the diode D1 is connected to the cathode of a diode D2 and one end of a voltage dividing resistor R3; An anode is connected to the MIC channel of the terminal; the other end of the voltage dividing resistor R3 is connected to one end of a voltage dividing resistor R4 and a base of the transistor Q2; the other end of the voltage dividing resistor R4 is grounded; the transistor Q2 The emitter of the transistor Q2 is connected in series with a resistor R6 connected to the power source and outputted through a resistor R5 and a capacitor C1. The level signal.
  • the method for waking up the terminal to operate normally is: interrupting waking up a CPU of the terminal in an ultra-low power operation mode, and enabling a power circuit to supply power to the terminal or
  • the trigger switch circuit turns the terminal on.
  • the second solution adopted by the present invention is: providing a power-on wake-up method for an external terminal of an audio device, wherein: when an audio device is inserted into a terminal, the left channel or the right channel of the audio device is output.
  • An alternating waveform is converted to a stable and reliable pulse width level signal to wake up the terminal for normal operation.
  • the alternating waveform is converted to a stable and reliable pulse width level signal after being amplified, detected, and filtered.
  • the alternating waveform is amplified by an amplifying circuit composed of a step-up transformer or a triode, and is detected by a diode detecting circuit, and filtered and debounced by an RC filter circuit.
  • the method for waking up the terminal to operate normally is: interrupting waking up a CPU of the terminal in an ultra-low power operation mode, and enabling a power circuit to supply power to the terminal or
  • the trigger switch circuit turns the terminal on.
  • the power-on wake-up method is specifically: using an alternating waveform output by the left channel and the right channel of the audio device, firstly amplifying an alternating waveform outputted by one of the channels and
  • the detection processing is used to enable the terminal to be connected to the power source and powered on, and the CPU of the terminal performs pulse shaping and hopping counting on the alternating waveform outputted by the other channel, and the number of pulses of the hopping meets a pre-
  • the condition is set, it is recognized as legal booting and a power take-off signal is output to maintain the power supply.
  • the terminal starts normal operation to completely filter out the false trigger pulse generated when the audio interface is plugged and unplugged.
  • the alternating waveform is a sine wave, a triangular wave, a square wave or a sawtooth wave.
  • the invention can realize that the external terminal of the audio device is effectively turned on and awake under the cooperation of the audio interface, realizes switching of its working mode; and has strong application compatibility.
  • Figure 1 is a schematic diagram of a conversion circuit for converting electrical characteristics of an audio interface to a reliable level in the present invention.
  • 2 is a schematic diagram of amplifying an alternating waveform using a step-up transformer in the present invention.
  • Fig. 3 is a schematic diagram showing the use of a triode amplifying circuit to amplify an alternating waveform in the present invention.
  • Fig. 4 is a schematic diagram of a diode detecting circuit of the present invention.
  • Fig. 5 is a flow chart showing the software identification startup control in the present invention.
  • the invention provides a method for starting and waking up an external terminal of an audio device, which is characterized in that: when an audio device is inserted into a terminal, the internal electrical characteristics of the audio interface of the audio device are converted into a continuous and reliable level signal. , to wake up the terminal to make it run normally.
  • the electrical characteristics of the left/right channel of the audio interface and the MIC are controlled by the circuit to be converted into a continuous and reliable level.
  • This level is used as a trigger mechanism for a circuit or system that is powered on (wake-up), or connected to the CPU's port line to wake up the CPU in an ultra-low-power mode of operation under direct power supply, or to trigger a switch circuit.
  • the internal electrical characteristics of the audio interface of the audio device are the DC bias level of the MIC channel or the internal resistance and voltage of the left and right channels.
  • the specific method for converting the internal electrical characteristics of the audio interface of the audio device into a continuous and reliable level signal is: providing a conversion circuit disposed on the terminal, as shown in FIG. A transistor Q1 and a transistor Q2 are included; a base of the transistor Q1 is connected in series with a resistor R1 Connecting the audio port of the terminal to the left channel or the right channel; the emitter of the transistor Q1 is connected to the power source and connected to the base of the transistor Q1 through a resistor R2; the collector of the transistor Q1 is connected to a diode D1 An anode, a cathode of the diode D1 is connected to a cathode of a diode D2 and an end of a voltage dividing resistor R3; an anode of the diode D2 is connected to a MIC channel of the terminal; and the other end of the voltage dividing resistor R3 is connected to a partial pressure One end of the resistor R4 and the base of the transistor Q2; the other end
  • the relatively low-impedance characteristic of the left or right channel pulls the base of the transistor Q1 low so that Q1 turns on and outputs a high level at the collector, and passes through diode D1 and resistor R3.
  • the transistor Q2 is also turned on, and the collector of Q2 and the output of the stable level after being filtered by the RC filter circuit can be used as a trigger mechanism for the system to be turned on; it is worth mentioning that, due to the dispersion of the audio device, The channels may not all be low-impedance, so Q1 may not be able to conduct.
  • the level of the MIC channel connected to the audio device can also pass through diode D2 and resistor R3, so that Q2 is turned on, at the collector of Q2, via RC. Filter processing, output stable level trigger system startup; Also, when the audio device's channel or MIC output is alternating waveform or there is jitter interference between each other, Q2's collector front end may have jitter, but RC After the (R5 and C1) filtering process, a stable level can still be output to trigger the system to power on.
  • the input and output logic of the circuit is as follows.
  • the audio device's one channel (left channel or right channel) input terminal be A
  • the audio device's MIC input terminal be B
  • the circuit output terminal be Y
  • the circuit Output logic -— f —::m Y is equal to A and B phases or then subtracted
  • the circuit covers almost all audio devices, with strong Application compatibility.
  • the invention also provides another method for starting and waking up an external terminal of an audio device, which is characterized in that when an audio device is inserted into a terminal, an alternating waveform outputted by the left channel or the right channel of the audio device is converted. It is a stable and reliable pulse width level signal to wake up the terminal for normal operation.
  • an alternating waveform (manually operating application software control output) is outputted from the left or right channel of the audio device, amplified and processed (detected) into a stable and reliable level, and then the level is used.
  • a triggering mechanism for a circuit or system that is powered on (wake-up), or connected to the CPU's port line to wake up the CPU in an ultra-low-power mode of operation with direct power supply, or to trigger a switch circuit to power the system , or enable the power circuit (such as the enable pin of the power chip) to output the power required by the system, so that the terminal starts normal operation, and output the power take-off signal to maintain the system power; thus, the audio device is connected to the external terminal.
  • the terminal does not immediately power on but needs a human or software to participate in the system booting, software management power supply boot control method.
  • the alternating waveform amplification is an amplification circuit composed of a step-up transformer or a triode to amplify an alternating waveform outputted by the audio device.
  • the step-up transformer amplifying circuit is as shown in FIG. 2, the first end (Vin) of the primary coil of the transformer is connected to the left channel or the right channel of the audio interface, and the alternating waveform emitted by the channel is coupled through the transformer, due to the use of
  • the turns ratio of the transformer is the boost configuration, so the boosted waveform is outputted at the first end of the secondary winding of the transformer, and then stabilized by diode detection or RC filtering.
  • the amplifying circuit composed of the triode is shown in FIG.
  • the input end of the circuit Vin connects to the left or right channel of the audio interface, and presets a bias voltage at the base end of the first transistor Q3.
  • This voltage is not enough to turn on the transistor Q3, but after superimposing the alternating waveform,
  • the transistor Q3 is turned on; if the bias voltage is too low, a strong amplitude alternating waveform is required to turn on the transistor Q3, and the bias voltage is too high, so the general jitter can make the transistor Q3 turn on, so the bias
  • the setting of the voltage directly affects the working sensitivity of the amplifying circuit; under the action of the input alternating waveform, the transistors Q3 and Q4 are in a continuous switching state, and the collector output of Q4 is a larger jitter (relative to the input waveform).
  • the waveform is changed to achieve amplification of the alternating waveform, and the stable level is obtained by diode detection or RC filtering.
  • the waveform detection process uses a diode detection circuit to process (detect) the amplified alternating waveform into a stable and reliable level; the circuit is as shown in FIG. 4, using diode unidirectional conduction characteristics and capacitance filtering, The dithered waveform is processed to a stable level.
  • RC filtering (one or more stages) can be added at the back end of the diode detection circuit to stabilize the output level and to filter out the audio interface at a certain degree.
  • the generated false trigger pulse prevents the terminal from being turned on.
  • the alternating waveform is a sine wave, a triangle wave, a square wave or a sawtooth wave.
  • the alternating waveform output by the left channel and the right channel of the audio device is respectively used, and the terminal first amplifies and detects the alternating waveform outputted by one of the channels, so as to make the
  • the CPU of the terminal performs pulse shaping and hopping counting on the alternating waveform outputted by the other channel, and is recognized as legal when the number of hopping pulses meets a preset condition.
  • the CPU of the terminal performs pulse shaping and hopping counting on the alternating waveform outputted by the other channel, and the steps include: initially setting the threshold of the comparator, setting the corresponding 10 ports for capturing. Input terminal, set the pulse counter to 0 and set a timer; then judge whether the number of captured pulses reaches the threshold of the comparator, if it has been reached, enable the power supply, if not, determine whether there are other legal External power supply (such as USB); if yes, enable the power supply, if not, judge whether the timer time has arrived; if the time is not up, continue to judge whether the number of captured pulses reaches the threshold of the comparator, if the time is up Then determine whether there are other legitimate external power sources (such as USB); if yes, enable the power supply, if not, continue to judge.
  • the steps include: initially setting the threshold of the comparator, setting the corresponding 10 ports for capturing. Input terminal, set the pulse counter to 0 and set a timer; then judge whether the number of captured
  • the false trigger pulse generated by the audio interface during plugging and unplugging can be completely filtered out, the possibility of false booting can be completely eliminated, and other legal starting sources are also detected during the process of detecting the pulse, so as to ensure that the system does not enter an infinite loop.
  • the above implementation method realizes fast and reliable wake-up of the external terminal of the audio device, enables the terminal to perform accurate switching of the working mode, effectively allocates power consumption, and has strong compatibility, thereby improving the application performance of the terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Amplifiers (AREA)

Abstract

本发明涉及移动式的支付终端的开机方法,尤其是音频设备外接终端的开机唤醒方法,其特征在于:当一音频设备插入一终端时,利用所述音频设备的音频接口的内部电气特性,转换为一稳定且可靠的电平信号,用以唤醒所述终端使其正常运行。本发明采用软硬件结合的方法,使其既适用于音频设备与终端连接后,终端立即上电的应用,也适用于音频设备与终端连接后,终端可控上电的应用,能够实现音频设备的外接终端在音频接口配合下,有效地开机唤醒,实现自身工作模式的切换;且具有很强的应用兼容性。

Description

音频设备外接终端的开机唤醒;^ 技术领域
本发明涉及移动式的支付终端的开机方法, 尤其是音频设备外接终端的开 机唤醒方法。
背景技术
随着电子和计算机技术的迅猛发展, 其应用已深入到生活中的各个领域。智 能手机、 PAD、 电子支付产品等也不例外, 而手机、 PAD等带有音频接口的音频 设备结合个人便携式电子支付产品的应用将是电子支付未来的一个发展方向; 而作为手机等音频设备的一种从设备的应用, 这就要求支付终端能够在音频设 备的控制下、 进行工作模式的准确切换、 功耗的有效分配, 以实现终端的可靠、 高效的应用, 且应具有较强的兼容性。
发明内容
有鉴于此,本发明的目的在于提供音频设备的外接终端在音频接口配合下进 行开机唤醒的几种有效方法; 以实现终端工作模式的正确切换、 功耗的有效分 配, 从而提高终端的应用性能。
本发明采用的第一种方案为: 提供一种音频设备外接终端的开机唤醒方法, 其特征在于: 当一音频设备插入一终端时, 利用所述音频设备的音频接口的内 部电气特性, 转换为一持续且可靠的电平信号, 用以唤醒所述终端使其正常运 行。 在本发明一实施例中,所述音频设备的音频接口的内部电气特性是 MIC通道 的直流偏置电平或左右声道的内部电阻和电压。
在本发明一实施例中, 所述利用所述音频设备的音频接口的内部电气特性, 转换为一持续且可靠的电平信号的具体方法为: 提供一转换电路设置于所述终 端, 所述转换电路包括一三极管 Q1和一三极管 Q2; 所述三极管 Q1的基极串联 一电阻 R1连接所述终端的音频口左声道或右声道; 所述三极管 Q1的发射极连 接电源并通过一电阻 R2连接所述三极管 Q1的基极; 所述三极管 Q1的集电极连 接一二极管 D1的阳极, 所述二极管 D1的阴极连接一二极管 D2的阴极和一分压 电阻 R3的一端; 所述二极管 D2的阳极连接所述终端的 MIC通道; 所述分压电 阻 R3的另一端连接一分压电阻 R4的一端和所述三极管 Q2的基极; 所述分压电 阻 R4的另一端接地; 所述三极管 Q2的发射极接地; 所述三极管 Q2的集电极串 联一电阻 R6连接电源并通过一电阻 R5和一电容 C1输出所述持续且可靠的电平 信号。
在本发明一实施例中, 所述唤醒所述终端使其正常运行的方法为: 中断唤醒 处于超低功耗运行模式下的所述终端的 CPU、使能电源电路用以为所述终端供电 或触发开关电路使所述终端接通电源。
本发明采用的第二种方案为: 提供一种音频设备外接终端的开机唤醒方法, 其特征在于: 当一音频设备插入一终端时, 利用所述音频设备的左声道或右声 道输出的一交变波形, 转换为一稳定且可靠的脉宽电平信号, 用以唤醒所述终 端使其正常运行。 在本发明一实施例中, 所述交变波形是经过放大、检波和滤波后转换为一稳 定且可靠的脉宽电平信号。
在本发明一实施例中,所述交变波形是利用升压变压器或三极管组成的放大 电路进行放大, 利用二极管检波电路进行检波处理, 利用 RC滤波电路进行滤波 去抖。
在本发明一实施例中, 所述唤醒所述终端使其正常运行的方法为: 中断唤醒 处于超低功耗运行模式下的所述终端的 CPU、使能电源电路用以为所述终端供电 或触发开关电路使所述终端接通电源。
在本发明一实施例中, 所述开机唤醒方法具体为: 利用所述音频设备的左声 道和右声道分别输出的交变波形, 先对其中一个声道输出的交变波形进行放大 和检波处理, 用以使所述终端接入电源并上电, 所述终端的 CPU再对另一个声 道输出的交变波形进行脉冲整形和跳变计数, 当跳变的脉冲个数满足一预设条 件时, 识别为合法开机并输出一电源接管信号用以维持电源供电, 此时终端开 始正常运行, 用以完全滤除音频接口在拔插时产生的误触发脉冲。
在本发明一实施例中, 所述交变波形是正弦波、 三角波、 方波或锯齿波。 本发明能够实现音频设备的外接终端在音频接口配合下, 有效地开机唤醒, 实现自身工作模式的切换; 且具有很强的应用兼容性。
附图说明
图 1是本发明中将音频接口的电气特性转换为可靠电平的转换电路的原理图。 图 2是本发明中利用升压变压器放大交变波形的原理图。 图 3是本发明中利用三极管放大电路放大交变波形的原理图。
图 4是本发明中二极管检波电路的原理图。
图 5是本发明中软件识别开机控制流程图。
具体实 式
为使本发明的目的、技术方案及优点更加清楚明白, 以下将通过具体实施例 和相关附图, 对本发明作进一步详细说明。
本发明提供一种音频设备外接终端的开机唤醒方法, 其特征在于: 当一音频 设备插入一终端时, 利用所述音频设备的音频接口的内部电气特性, 转换为一 持续且可靠的电平信号, 用以唤醒所述终端使其正常运行。
本实施例利用音频设备与终端连接后, 音频接口的左 /右声道和 MIC (可以 单独应用, 也可以相或应用) 的电气特性, 经电路控制, 转换为一持续且可靠 的电平, 再以该电平作为开机 (唤醒) 的一种电路或系统的触发机制, 或连接 到 CPU的口线以唤醒在电源直接供电下处于超低功耗运行模式下的 CPU,或触发 开关电路以使系统接通电源, 或使能电源电路 (如电源芯片的使能引脚) 以输 出系统所需的电源, 从而实现音频设备与终端连接后, 终端立即上电运行且无 需软件参与唤醒和系统供电的一种开机控制方法。 所述音频设备的音频接口的 内部电气特性是 MIC通道的直流偏置电平或左右声道的内部电阻和电压。
所述利用所述音频设备的音频接口的内部电气特性,转换为一持续且可靠的 电平信号的具体方法为: 提供一转换电路设置于所述终端, 如图 1所示, 所述 转换电路包括一三极管 Q1和一三极管 Q2; 所述三极管 Q1的基极串联一电阻 R1 连接所述终端的音频口左声道或右声道; 所述三极管 Q1的发射极连接电源并通 过一电阻 R2连接所述三极管 Q1的基极; 所述三极管 Q1的集电极连接一二极管 D1的阳极,所述二极管 D1的阴极连接一二极管 D2的阴极和一分压电阻 R3的一 端; 所述二极管 D2的阳极连接所述终端的 MIC通道; 所述分压电阻 R3的另一 端连接一分压电阻 R4的一端和所述三极管 Q2的基极; 所述分压电阻 R4的另一 端接地; 所述三极管 Q2的发射极接地; 所述三极管 Q2的集电极串联一电阻 R6 连接电源并通过一电阻 R5和一电容 C1输出所述持续且可靠的电平信号。 所述 电阻 R5和所述电容 C1组成 RC滤波电路。
音频设备插入终端时, 左声道或右声道的相对低阻的特性会拉低三极管 Q1 基极的电平使得 Q1导通从而在集电极输出高电平,并通过二极管 D1和电阻 R3, 使得三极管 Q2也导通, Q2的集电极、 经 RC滤波电路滤波处理后、 即为稳定电 平的输出端, 可作为系统开机的触发机制; 值得一提的是, 由于音频设备的分 散性,其声道未必全部呈低阻,使得 Q1未必能导通,此时连接着音频设备的 MIC 通道的电平也可以通过二极管 D2和电阻 R3, 使得 Q2导通, 在 Q2的集电极、 经 RC滤波处理、 输出稳定电平触发系统开机; 还有, 当音频设备的声道或 MIC输 出为交变波形或相互之间存在抖动干扰时, Q2的集电极前端各点可能存在抖动, 但经 RC (R5和 C1)滤波处理后, 仍可输出稳定电平以触发系统开机。 综上所述, 电路的输入输出逻辑如下, 设音频设备的一个声道 (左声道或右声道) 输入端 为 A , 音频设备的 MIC输入端为 B , 电路输出端为 Y , 则电路输出的逻辑 -— f—::m (Y等于 A非和 B相或后再取非) , 从而获取到一个可靠的触发电 平 (机制) ; 且该电路几乎覆盖了所有的音频设备, 具有很强的应用兼容性。
本发明还提供另外一种音频设备外接终端的开机唤醒方法, 其特征在于:当 一音频设备插入一终端时, 利用所述音频设备的左声道或右声道输出的一交变 波形, 转换为一稳定且可靠的脉宽电平信号, 用以唤醒所述终端使其正常运行。
本实施例利用音频设备的左声道或右声道输出一交变波形(可人为操作应用 软件控制输出) , 经放大和处理 (检波) 成一段稳定且可靠的电平, 再以该电 平作为开机 (唤醒) 的一种电路或系统的触发机制, 或连接到 CPU的口线以唤 醒在电源直接供电下处于超低功耗运行模式下的 CPU,或触发开关电路以使系统 接通电源, 或使能电源电路 (如电源芯片的使能引脚) 以输出系统所需的电源, 使终端开始正常运行, 并输出电源接管信号用以维持系统供电; 从而实现音频 设备与外接终端连接后, 终端非立即上电而是需要人为或软件参与系统开机, 软件管理供电的开机控制方法。
所述的交变波形放大是利用升压变压器或三极管组成的放大电路对音频设 备输出的交变波形进行放大。 所述升压变压器放大电路如图 2所示, 变压器的 初级线圈第一端 (Vin)连接音频接口的左声道或右声道, 将声道发出的交变波形 通过变压器耦合, 由于使用的变压器的匝数比为升压配置, 所以在变压器的次 级线圈第一端输出升压后的交变波形, 后续再通过二极管检波或 RC滤波的方法 得到稳定电平。 另外, 所述三极管组成的放大电路如图 3所示, 电路的输入端 Vin连接音频接口的左声道或右声道, 在第一级三极管 Q3的基极前端预置一个 偏置电压, 该电压不足以使三极管 Q3导通, 但在叠加了交变波形后就可以使三 极管 Q3导通; 偏置电压太低, 则需要幅度很强的交变波形才能使三极管 Q3导 通, 偏置电压太高, 则一般的抖动就可以使三极管 Q3导通, 所以该偏置电压的 设置直接影响了放大电路的工作灵敏度;在输入的交变波形的作用下,三极管 Q3 和 Q4处于连续的开关状态, Q4的集电极输出为抖动幅度更大(相对于输入波形) 的交变波形, 从而实现交变波形的放大, 后续再通过二极管检波或 RC滤波的方 法得到稳定电平。
所述的波形检波处理是利用二极管检波电路将放大后的交变波形处理 (检 波) 成一个稳定、 可靠的电平; 电路如图 4所示, 利用二极管的单向导通特性 和电容滤波, 将抖动的波形处理成稳定的电平。
在本发明一较佳实施例中, 可以在二极管检波电路的后端增加 RC滤波 (一 级或多级) , 既能稳定输出电平, 又能在一定程度上过滤掉音频接口在拔插时 产生的误触发脉冲, 防止终端误开机。 所述交变波形是正弦波、 三角波、 方波 或锯齿波。
在本发明一较佳实施例中,利用音频设备的左声道和右声道分别输出的交变 波形, 终端先对其中一个声道输出的交变波形进行放大和检波处理, 用以使所 述终端接入电源并上电, 所述终端的 CPU再对另一个声道输出的交变波形进行 脉冲整形和跳变计数, 当跳变的脉冲个数满足一预设条件时, 识别为合法开机 并输出一电源接管信号用以维持电源供电, 此时终端开始正常运行, 用以完全 滤除音频接口在拔插时产生的误触发脉冲。
如图 5所示,所述终端的 CPU再对另一个声道输出的交变波形进行脉冲整形 和跳变计数, 其步骤包括: 初始设定比较器的阈值、 设定对应的 10口为捕获输 入终端、 设定脉冲计数器为 0并设定一定时器; 然后判断捕获的脉冲个数是否 达到所述比较器的阈值, 若已达到则使能电源, 若没有达到则判断是否有其他 合法的外接电源 (如 USB等) ; 若有则使能电源, 若没有则判断定时器的时间 是否到达; 若时间未到则继续判断捕获的脉冲个数是否达到所述比较器的阈值, 若时间到则判断是否有其他合法的外界电源 (如 USB等) ; 若有则使能电源, 若没有则继续判断。
这样, 既可完全滤除音频接口在拔插时产生的误触发脉冲, 完全排除误开机 的可能, 同时在检测脉冲的过程中也会检测其它合法的开机源, 保证系统不会 进入死循环。
如上述实施方法, 实现了音频设备外接终端的快速、 可靠地唤醒, 使终端进 行工作模式的准确切换、 功耗的有效分配, 且具有很强的兼容性, 从而提高了 终端的应用性能
上列较佳实施例,对本发明的目的、技术方案和优点进行了进一步详细说明, 所应理解的是, 以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包 含在本发明的保护范围之内。

Claims

权利要求书
1. 一种音频设备外接终端的开机唤醒方法, 其特征在于: 当一音频设备插入一 终端时, 利用所述音频设备的音频接口的内部电气特性, 转换为一持续且可靠 的电平信号, 用以唤醒所述终端使其正常运行。
2. 根据权利要求 1所述的音频设备外接终端的开机唤醒方法, 其特征在于: 所 述音频设备的音频接口的内部电气特性是 MIC通道的直流偏置电平或左右声道 的内部电阻和电压。
3. 根据权利要求 2所述的音频设备外接终端的开机唤醒方法, 其特征在于: 所 述利用所述音频设备的音频接口的内部电气特性, 转换为一持续且可靠的电平 信号的具体方法为: 提供一转换电路设置于所述终端, 所述转换电路包括一三 极管 Q1和一三极管 Q2;所述三极管 Q1的基极串联一电阻 R1连接所述终端的音 频口左声道或右声道; 所述三极管 Q1的发射极连接电源并通过一电阻 R2连接 所述三极管 Q1的基极; 所述三极管 Q1的集电极连接一二极管 D1的阳极, 所述 二极管 D1的阴极连接一二极管 D2的阴极和一分压电阻 R3的一端; 所述二极管 D2的阳极连接所述终端的 MIC通道;所述分压电阻 R3的另一端连接一分压电阻 R4的一端和所述三极管 Q2的基极; 所述分压电阻 R4的另一端接地; 所述三极 管 Q2的发射极接地; 所述三极管 Q2的集电极串联一电阻 R6连接电源并通过一 电阻 R5和一电容 C1输出所述持续且可靠的电平信号。
4. 根据权利要求 1所述的音频设备外接终端的开机唤醒方法, 其特征在于: 所 述唤醒所述终端使其正常运行的方法为: 中断唤醒处于超低功耗运行模式下的 所述终端的 CPU、使能电源电路用以为所述终端供电或触发开关电路使所述终端 接通电源。
5. 一种音频设备外接终端的开机唤醒方法, 其特征在于: 当一音频设备插入一 终端时, 利用所述音频设备的左声道或右声道输出的一交变波形, 转换为一稳 定且可靠的脉宽电平信号, 用以唤醒所述终端使其正常运行。
6. 根据权利要求 5所述的音频设备外接终端的开机唤醒方法, 其特征在于: 所 述交变波形是经过放大、 检波和滤波后转换为一稳定且可靠的脉宽电平信号。
7. 根据权利要求 6所述的音频设备外接终端的开机唤醒方法, 其特征在于: 所 述交变波形是利用升压变压器或三极管组成的放大电路进行放大, 利用二极管 检波电路进行检波处理, 利用 RC滤波电路进行滤波去抖。
8. 根据权利要求 5所述的音频设备外接终端的开机唤醒方法, 其特征在于: 所 述唤醒所述终端使其正常运行的方法为: 中断唤醒处于超低功耗运行模式下的 所述终端的 CPU、使能电源电路用以为所述终端供电或触发开关电路使所述终端 接通电源。
9. 根据权利要求 5所述的音频设备外接终端的开机唤醒方法, 其特征在于: 所 述开机唤醒方法具体为: 利用所述音频设备的左声道和右声道分别输出的交变 波形, 先对其中一个声道输出的交变波形进行放大和检波处理, 用以使所述终 端接入电源并上电, 所述终端的 CPU再对另一个声道输出的交变波形进行脉冲 整形和跳变计数, 当跳变的脉冲个数满足一预设条件时, 识别为合法开机并输 出一电源接管信号用以维持电源供电, 此时终端开始正常运行, 用以完全滤除 音频接口在拔插时产生的误触发脉冲。
10. 根据权利要求 5所述的音频设备外接终端的开机唤醒方法, 其特征在于: 所述交变波形是正弦波、 三角波、 方波或锯齿波。
PCT/CN2014/071005 2013-03-19 2014-01-21 音频设备外接终端的开机唤醒方法 WO2014146509A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310087527.8 2013-03-19
CN201310087527.8A CN103208987B (zh) 2013-03-19 2013-03-19 音频设备外接终端的开机唤醒方法

Publications (1)

Publication Number Publication Date
WO2014146509A1 true WO2014146509A1 (zh) 2014-09-25

Family

ID=48756092

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071005 WO2014146509A1 (zh) 2013-03-19 2014-01-21 音频设备外接终端的开机唤醒方法

Country Status (2)

Country Link
CN (1) CN103208987B (zh)
WO (1) WO2014146509A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282653A (zh) * 2014-07-11 2016-01-27 国民技术股份有限公司 音频插入自动唤醒装置以及音频插入自动唤醒方法
CN115022452A (zh) * 2022-06-13 2022-09-06 浙江地芯引力科技有限公司 音频设备的通信方法、装置、设备及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103208987B (zh) * 2013-03-19 2016-03-16 福建联迪商用设备有限公司 音频设备外接终端的开机唤醒方法
CN104601797B (zh) * 2014-12-01 2017-03-15 南京信息职业技术学院 一种智能移动终端音频口扩展应用方法及系统
CN104967945B (zh) * 2015-06-03 2019-06-18 Oppo广东移动通信有限公司 一种耳机功率放大器及耳机功率放大器的控制方法
CN105929996A (zh) * 2016-04-15 2016-09-07 京东方科技集团股份有限公司 控制显示面板休眠的方法、休眠控制电路和显示装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650641A (zh) * 2009-07-27 2010-02-17 浪潮电子信息产业股份有限公司 SPDIF和Headphone二合一接口的自动识别装置
CN102325228A (zh) * 2011-08-22 2012-01-18 惠州Tcl移动通信有限公司 手机及降低手机中耳机能耗的方法
CN103208987A (zh) * 2013-03-19 2013-07-17 福建联迪商用设备有限公司 音频设备外接终端的开机唤醒方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004505359A (ja) * 2000-07-20 2004-02-19 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ モード切替え電源制御
CN102158578A (zh) * 2010-02-11 2011-08-17 希姆通信息技术(上海)有限公司 一种音频通路测试方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650641A (zh) * 2009-07-27 2010-02-17 浪潮电子信息产业股份有限公司 SPDIF和Headphone二合一接口的自动识别装置
CN102325228A (zh) * 2011-08-22 2012-01-18 惠州Tcl移动通信有限公司 手机及降低手机中耳机能耗的方法
CN103208987A (zh) * 2013-03-19 2013-07-17 福建联迪商用设备有限公司 音频设备外接终端的开机唤醒方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282653A (zh) * 2014-07-11 2016-01-27 国民技术股份有限公司 音频插入自动唤醒装置以及音频插入自动唤醒方法
CN105282653B (zh) * 2014-07-11 2019-04-05 国民技术股份有限公司 音频插入自动唤醒装置以及音频插入自动唤醒方法
CN115022452A (zh) * 2022-06-13 2022-09-06 浙江地芯引力科技有限公司 音频设备的通信方法、装置、设备及存储介质
CN115022452B (zh) * 2022-06-13 2024-04-02 浙江地芯引力科技有限公司 音频设备的通信方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN103208987B (zh) 2016-03-16
CN103208987A (zh) 2013-07-17

Similar Documents

Publication Publication Date Title
WO2014146509A1 (zh) 音频设备外接终端的开机唤醒方法
TW201344418A (zh) 待機喚醒電路及電子裝置
TWI513168B (zh) 電源轉換裝置
TWI446158B (zh) 電源控制電路
CN212484119U (zh) 电源开关控制电路及装置
TWI526944B (zh) 指紋感測裝置及其手指觸碰偵測方法
WO2013033948A1 (zh) 移动终端开机控制方法及移动终端
TW201405300A (zh) 開關機控制電路
TW201416845A (zh) 主機板
CN105897240A (zh) 一种具备硬件强制关机功能的单键软开关机电路
CN110570644A (zh) 遥控装置
WO2014187268A1 (zh) 一种移动热点ufi设备及开机方法
TW201525673A (zh) 充斷電控制系統
TW201131345A (en) Power control system, power control method, and computer system having the same
WO2021190063A1 (zh) 远程开机方法、相关电路、相关模块及设备
TWI525423B (zh) 電力管理裝置與電力管理方法
CN204790414U (zh) 单片机启动电路
CN113641233A (zh) 防止复位状态下掉电的供电电路及柔性键盘
CN220381556U (zh) 一种设备唤醒电路和设备
CN201118792Y (zh) 一种静音控制电路
CN217443770U (zh) 开关控制电路及电子设备
CN106134083B (zh) 一种车载安防设备的开机电路
CN107980125B (zh) 温度监测方法、装置及用户设备
CN104682934A (zh) 单键开关控制电路
WO2017148045A1 (zh) 一种用于降低电源待机功耗的控制装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14767641

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14767641

Country of ref document: EP

Kind code of ref document: A1