CN104702810A - Audio to infrared remote control device, control method and mobile terminal - Google Patents

Audio to infrared remote control device, control method and mobile terminal Download PDF

Info

Publication number
CN104702810A
CN104702810A CN201510083450.6A CN201510083450A CN104702810A CN 104702810 A CN104702810 A CN 104702810A CN 201510083450 A CN201510083450 A CN 201510083450A CN 104702810 A CN104702810 A CN 104702810A
Authority
CN
China
Prior art keywords
infrared
terminal
control signal
governor circuit
voltage
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
Application number
CN201510083450.6A
Other languages
Chinese (zh)
Other versions
CN104702810B (en
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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Refrigeration Equipment 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 Midea Group Co Ltd, Guangdong Midea Refrigeration Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201510083450.6A priority Critical patent/CN104702810B/en
Publication of CN104702810A publication Critical patent/CN104702810A/en
Application granted granted Critical
Publication of CN104702810B publication Critical patent/CN104702810B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • Selective Calling Equipment (AREA)

Abstract

The invention applies to the technical field of mobile terminals, and provides an audio to infrared remote control device, a control method and a mobile terminal. The device comprises an audio plug, an interface power supply circuit, a power supply capacitor, a main control circuit and an infrared emission circuit. With the adoption of the device, additional batteries are saved; the electricity storing and discharging functions of the power supply capacitor are utilized; the control scheme of the main control circuit and the mobile terminal in the device is adopted; the corresponding infrared triggering control can be carried out after receiving an instruction; therefore, the purpose of remotely controlling by the general remote controller without additional batteries can be achieved.

Description

A kind of audio conversion infrared remote-control device, control method and mobile terminal
Technical field
The invention belongs to technical field of mobile terminals, particularly relate to a kind of audio conversion infrared remote-control device, control method and a kind of mobile terminal.
Background technology
Along with the fast development that electronic technology and cell phone software are applied, market there is the product of a lot of mobile phone infrared remote household electrical appliances, increasing user uses an external audio conversion infrared remote-control device, be inserted in the audio interface of mobile phone, an application software is installed again, achieves the function of mobile phone infrared remote household electrical appliances.
And the audio conversion infrared control device of current mobile telephone external, although can control various household electrical appliances by mobile phone application software, there is following different defect in this audio conversion infrared control device:
Such as patent document (patent No. is CN201110321096.80) discloses " a kind of apparatus and method realizing Universal infrared remote controller based on mobile phone ", concrete scheme is: comprise infrared remote control microprocessor chip and peripheral circuit, coordinate infrared-emitting diode and 3V button battery, realize the transmitting and receiving of infrared remote control, learning functionality.This scheme needs the button cell of an increase 3V, and as everyone knows, battery has the life-span, and when battery electric quantity is finished, this product just can not use maybe must change battery, for very inconvenient user, but also adds use cost.
Such as another one patent document (patent No. is 201220277356.6) discloses a kind of remote control of smart phone, according to mobile phone infrared transmitting circuit, this scheme directly uses the audio signal of mobile audio interface to carry out driving infrared transmitting tube D to launch infrared signal, the electric current that the audio port of well-known mobile phone exports is very little, usually 1-4mA is only had, and the electric current of driven infrared transmitting tube all requires to reach more than 20mA, because handset audio mouth output current is too little, the distance of infrared control will be caused very short, actual measurement only has 3-5 rice far away usually, therefore there is topical type on using.
Summary of the invention
In view of the above problems, the invention provides a kind of audio conversion infrared remote-control device, method and a kind of mobile terminal, being intended to solve existing audio conversion infrared remote-control device needs external battery, but or does not add the near technical problem of battery remote control distance.
The present invention adopts following technical scheme:
On the one hand, described audio conversion infrared remote-control device comprises:
Audio jack, for being linked into the audio interface of mobile terminal;
Interface power supply circuits, for from described audio jack power taking, and power, also for being capacitor charging of powering for governor circuit, infrared transmitting circuit;
Power supply electric capacity, for when described interface power supply circuits are to described infrared transmitting circuit electricity shortage, is described infrared transmitting circuit supplementary power;
Governor circuit, for detecting the voltage swing that described interface power supply circuits export, and determines whether to allow to send infrared control signal by infrared transmitting circuit according to voltage swing, and determines whether to send infrared drive singal to described infrared transmitting circuit;
Infrared transmitting circuit, for when receiving the infrared drive singal coming from the output of described governor circuit, sends infrared control signal.
Further, described audio jack comprises Mike's terminal, earth terminal, L channel terminal and R channel terminal; Described interface power supply circuits comprise voltage input end, voltage output end and earth terminal; Described governor circuit comprises order transmitting terminal, order receiving terminal, voltage receiving terminal, sampling end, earth terminal and drive output; Described infrared transmitting circuit comprises power end, earth terminal and driving receiving terminal;
Wherein, a terminal in described left and right acoustic channels terminal is as power supply terminal, and be connected to the voltage input end of described interface power supply circuits, another terminal is connected to the order receiving terminal of described governor circuit as lead-out terminal, the order transmitting terminal of described governor circuit is connected to Mike's terminal of described audio jack, the drive output of described governor circuit is connected to the driving receiving terminal of described infrared transmitting circuit, the voltage output end of described interface power supply circuits, the voltage receiving terminal of governor circuit, the sampling end of governor circuit, the power end of infrared transmitting circuit and the positive pole of described power supply electric capacity are all communicated with, the earth terminal of described audio jack, the earth terminal of interface power supply circuits, the earth terminal of governor circuit, the earth terminal of infrared transmitting circuit and the negative pole of power supply electric capacity are all connected to ground.
Further, described interface power supply circuits comprise transformer T, metal-oxide-semiconductor Q1-Q4, diode D, the elementary voltage input end as interface power supply circuits of described transformer T and earth terminal, the source electrode of described metal-oxide-semiconductor Q1 is connected to the drain electrode of metal-oxide-semiconductor Q3, the source electrode of described metal-oxide-semiconductor Q2 is connected to the drain electrode of metal-oxide-semiconductor Q4, described metal-oxide-semiconductor Q1, the grid of Q2 and metal-oxide-semiconductor Q3, after the source electrode connection of Q4, be connected to the negative pole end of described transformer T level, described metal-oxide-semiconductor Q3, the grid of Q4 and metal-oxide-semiconductor Q1, after the drain electrode connection of Q2, be connected to the positive terminal of described transformer T level, and the positive pole of described diode D is connected to the positive terminal of described transformer T level, the negative pole of diode D is as the voltage output end of interface power supply circuits.
Further, described infrared transmitting circuit comprises resistance R1, R2, also comprise infrared transmitting tube LED and triode Q5, the base stage of described triode Q5 is by the driving receiving terminal as infrared transmitting circuit after resistance R2, the emitter of described triode Q5 is as the earth terminal of infrared transmitting circuit, and the collector electrode of described triode Q5 is successively by the power end as infrared transmitting circuit after described infrared transmitting tube LED, resistance R1.
On the other hand, from audio conversion infrared remote-control device side, described control method comprises:
After governor circuit powers on, the magnitude of voltage X that Sampling Interface power supply circuits export;
When described magnitude of voltage X is greater than the first voltage threshold X1, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when described magnitude of voltage X is less than the second voltage threshold X2, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit, wherein X2<X1;
When magnitude of voltage X is increased to X2≤X≤X1 interval, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when magnitude of voltage X be reduced to X2≤X≤X1 interval time, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit;
When described governor circuit allows to send infrared control signal by infrared transmitting circuit and receives the infrared operational order of audio jack output, export infrared drive singal to described infrared transmitting circuit.
Further, when described governor circuit allows to send infrared control signal by infrared transmitting circuit, the Mike's terminal to described audio jack exports and allows instruction; When described governor circuit does not allow to send infrared control signal by infrared transmitting circuit, the Mike's terminal to described audio jack exports inhibit command.
The third aspect, from mobile terminal side, described control method comprises:
The instruction whether allowing to be sent by infrared transmitting circuit infrared control signal that mobile terminal is exported from governor circuit by Mike's terminal reception of audio jack;
When receiving the instruction forbidding sending infrared control signal, provide the information that cannot send infrared control signal;
When receiving the instruction allowing to send infrared control signal, if receive the infrared operational order of user operation generation, then export described infrared operational order to governor circuit by audio jack.
Further, when receiving the instruction forbidding sending infrared control signal, the infrared trigger action of user is not responded; Or, when receiving the instruction forbidding sending infrared control signal, if receive the infrared operational order of user operation generation, then described infrared operational order is sent to governor circuit; Described governor circuit does not respond described infrared operational order.
Fourth aspect, a kind of governor circuit, comprising:
Voltage sample module, for after governor circuit powers on, the magnitude of voltage X that Sampling Interface power supply circuits export;
Condition judgment module, for when described magnitude of voltage X is greater than the first voltage threshold X1, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when described magnitude of voltage X is less than the second voltage threshold X2, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit, wherein X2<X1; And during for being increased to X2≤X≤X1 interval as magnitude of voltage X, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when magnitude of voltage X be reduced to X2≤X≤X1 interval time, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit;
Driver output module, during for allowing when described governor circuit to send infrared control signal by infrared transmitting circuit and receiving the infrared operational order of audio jack output, exports infrared drive singal to described infrared transmitting circuit.
5th aspect, described mobile terminal, comprising:
Command reception module, for the instruction whether allowing to be sent by infrared transmitting circuit infrared control signal exported from governor circuit by Mike's terminal reception of audio jack;
Information reminding module, for when receiving the instruction forbidding sending infrared control signal, provides the information that cannot send infrared control signal;
Order output module, for when receiving the instruction allowing to send infrared control signal, if receive the infrared operational order of user operation generation, then exports described infrared operational order to governor circuit by audio jack.
In technical solution of the present invention, do not need additionally to increase battery, utilize the accumulate discharging function of power supply electric capacity, and in conjunction with the control program of the governor circuit in audio conversion infrared remote-control device and mobile terminal, governor circuit determines whether allow to send infrared control signal by infrared transmitting circuit according to sample voltage value, user is operated by mobile terminal, carry out corresponding infrared trigging control or go out to the information of system busy, in the present invention, power supply electric capacity is charged by audio jack, when electricity is not enough, by powering, electric capacity is that infrared transmitting circuit is powered, when infrared transmitting circuit power consumption makes power supply electric capacity electricity not enough, now infrared trigging control can not be carried out, power supply electric capacity continues to be charged by audio jack, whole scheme achieves Traditional remote controls remote control distance feature far away.
Accompanying drawing explanation
Fig. 1 is the circuit diagram of the audio conversion infrared remote-control device that the embodiment of the present invention provides;
Fig. 2 is a kind of physical circuit figure of the interface power supply circuits that the embodiment of the present invention provides;
Fig. 3 is a kind of physical circuit figure of the infrared transmitting circuit that the embodiment of the present invention provides;
Fig. 4 is the workflow diagram of the governor circuit that the embodiment of the present invention provides;
Fig. 5 is the graph of a relation of the magnitude of voltage X that provides of the embodiment of the present invention and infrared transmission state;
Fig. 6 is the workflow diagram of the mobile terminal that the embodiment of the present invention provides;
Fig. 7 is the voltage oscillogram of the voltage output end VCC of interface power supply circuits;
Fig. 8 is the block diagram of the governor circuit that the embodiment of the present invention provides;
Fig. 9 is the block diagram of the mobile terminal that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Current audio turns infrared remote-control device or needs external battery, or infrared control is apart from short, uses and is subject to limitation.The present invention is based on this, provide one and answer audio conversion infrared remote-control device, control method and a kind of mobile terminal.For convenience of explanation, specific embodiments of the present invention are described.
Fig. 1 is the circuit diagram of the audio conversion infrared remote-control device that the embodiment of the present invention provides.Audio conversion infrared remote-control device as shown in Figure 1, comprising:
Audio jack 1, for being linked into the audio interface of mobile terminal;
Interface power supply circuits 2, for from described audio jack power taking, and power, also for being capacitor charging of powering for governor circuit, infrared transmitting circuit;
Power supply electric capacity 3, for when described interface power supply circuits are to described infrared transmitting circuit electricity shortage, is described infrared transmitting circuit supplementary power;
Governor circuit 4, for detecting the voltage swing that described interface power supply circuits export, and determines whether to allow to send infrared control signal by infrared transmitting circuit according to voltage swing, and determines whether to send infrared drive singal to described infrared transmitting circuit;
Infrared transmitting circuit 5, for when receiving the infrared drive singal coming from the output of described governor circuit, sends infrared control signal.
In the embodiment of the present invention, do not need additionally to increase battery, after this audio conversion infrared remote-control device is inserted into the audio interface of mobile terminal, utilize the accumulate discharging function of described power supply electric capacity, and in conjunction with the control program of governor circuit and mobile terminal, governor circuit is according to the voltage swing detected, whether corresponding output allows the instruction being sent infrared control signal by infrared transmitting circuit, to make user carry out corresponding infrared trigging control at mobile terminal, achieving neither needs additionally to increase battery and can reach again Traditional remote controls remote control distance object far away.
During specific implementation, described audio jack 1 comprises Mike's terminal MIC, earth terminal GND, L channel terminal L and R channel terminal R; Described interface power supply circuits 2 comprise voltage input end VIN, voltage output end VCC and earth terminal GND; Described governor circuit 4 comprises order transmitting terminal TXD, order receiving terminal RXD, voltage receiving terminal VCC, sampling end AD, earth terminal GND and drive output REC; Described infrared transmitting circuit 5 comprises power end VCC, earth terminal GND and drives receiving terminal REC;
Wherein, a terminal in described left and right acoustic channels terminal is as power supply terminal, and another terminal is as lead-out terminal.In diagram, L channel terminal L is power supply terminal, and be connected to the voltage input end VIN of described interface power supply circuits, another terminal is connected to the order receiving terminal RXD of described governor circuit as lead-out terminal, can certainly using L channel terminal L as lead-out terminal, R channel terminal R, as power supply terminal, repeats no more here.
In diagram, the order transmitting terminal TXD of described governor circuit is connected to Mike's terminal MIC of described audio jack, the drive output REC of described governor circuit is connected to the driving receiving terminal REC of described infrared transmitting circuit, the voltage output end VCC of described interface power supply circuits, the voltage receiving terminal VCC of governor circuit, the sampling end AD of governor circuit, the power end VCC of infrared transmitting circuit and the positive pole of described power supply electric capacity are all communicated with, the earth terminal GND of described audio jack, the earth terminal GND of interface power supply circuits, the earth terminal GND of governor circuit, the earth terminal GND of infrared transmitting circuit and the negative pole of power supply electric capacity are all connected to ground.
In the present embodiment, described audio jack 1 is the handset earphone plug of standard, and described power supply electric capacity 3 employs general on the market at present Large Copacity, small size electric capacity, and as farad capacitor etc., particular capacity can mate different capabilities according to the actual requirements.Described interface power supply circuits 2 for from described audio jack power taking, and are powered, also for being capacitor charging of powering for governor circuit, infrared transmitting circuit.Described infrared transmitting circuit 5, for when receiving the driving instruction coming from the output of described governor circuit, sends infrared control signal.
As a kind of particular circuit configurations of described interface power supply circuits 2, as shown in Figure 2, described interface power supply circuits 2 comprise transformer T, metal-oxide-semiconductor Q1-Q4, diode D, the elementary voltage input end as interface power supply circuits of described transformer T and earth terminal, the source electrode of described metal-oxide-semiconductor Q1 is connected to the drain electrode of metal-oxide-semiconductor Q3, the source electrode of described metal-oxide-semiconductor Q2 is connected to the drain electrode of metal-oxide-semiconductor Q4, described metal-oxide-semiconductor Q1, the grid of Q2 and metal-oxide-semiconductor Q3, after the source electrode connection of Q4, be connected to the negative pole end of described transformer T level, described metal-oxide-semiconductor Q3, the grid of Q4 and metal-oxide-semiconductor Q1, after the drain electrode connection of Q2, be connected to the positive terminal of described transformer T level, and the positive pole of described diode D is connected to the positive terminal of described transformer T level, the negative pole of diode D is as the voltage output end of interface power supply circuits.During work, mobile terminal L terminal exports an audio signal, boost to certain voltage by transformer T, recycle 4 metal-oxide-semiconductor one-way conductions, feature at the bottom of pressure drop carries out rectification, export powered by direct current and use to other circuit supplies such as governor circuit, power supply electric capacity.
As a kind of particular circuit configurations of described infrared transmitting circuit, as shown in Figure 3, comprise resistance R1, R2, also comprise infrared transmitting tube LED and triode Q5, the base stage of described triode Q5 is by the driving receiving terminal as infrared transmitting circuit after resistance R2, the emitter of described triode Q5 is as the earth terminal of infrared transmitting circuit, and the collector electrode of described triode Q5 is successively by the power end as infrared transmitting circuit after described infrared transmitting tube LED, resistance R1.During work, after driving receiving terminal REC receives infrared control order, input certain level control voltage, described triode Q5 conducting, has electric current to input from power end VCC, and now infrared transmitting tube LED conducting, sends infrared control signal.
When specifically using, this device being inserted the audio interface of mobile terminal (as mobile phone), by arranging the control flow of mobile terminal and audio conversion infrared remote-control device governor circuit, realizing infrared remote-control of long distance and driving.In the present embodiment, described governor circuit 4 includes 6 ports, and wherein sampling end AD is an analog-to-digital conversion mouth, the analog voltage of the governor circuit voltage input end VCC that can sample, and is converted to digital value process.
For above-mentioned audio conversion infrared remote-control device, the embodiment of the present invention additionally provides a kind of control method, and from audio conversion infrared remote-control device side, as shown in Figure 4, this control method (i.e. the workflow of described governor circuit) comprises the steps:
After step S401, governor circuit power on, the magnitude of voltage X that Sampling Interface power supply circuits export;
Step S402, relation according to magnitude of voltage X and X2, X1, judge whether to allow to send infrared control signal by infrared transmitting circuit.When described magnitude of voltage X is greater than the first voltage threshold X1, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when described magnitude of voltage X is less than the second voltage threshold X2, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit, wherein X2<X1; When magnitude of voltage X is increased to X2≤X≤X1 interval, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when magnitude of voltage X be reduced to X2≤X≤X1 interval time, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit;
Step S403, when described governor circuit allows to send infrared control signal by infrared transmitting circuit and receives the infrared operational order that audio jack exports, export infrared drive singal to described infrared transmitting circuit.
In this flow process, first need to set 2 parameters: the first voltage threshold X1 and the second voltage threshold X2, and X2<X1, during specific works, first the magnitude of voltage X of Sampling Interface power supply circuits output, namely by sampling end AD sample voltage value X, then judge whether to allow to send infrared control signal by infrared transmitting circuit according to the relation of X and X1, X2.During concrete judgement, the graph of a relation of magnitude of voltage X as shown in Figure 5 and infrared transmission state, when described magnitude of voltage X is greater than the first voltage threshold X1, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when described magnitude of voltage X is less than the second voltage threshold X2, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit; When magnitude of voltage X from be less than X2 be increased to X2≤X≤X1 interval time, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when magnitude of voltage X from X1 be reduced to X2≤X≤X1 interval time, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit.
As a kind of implementation, when described governor circuit allows to send infrared control signal by infrared transmitting circuit, governor circuit exports permission instruction to Mike's terminal of described audio jack; When described governor circuit does not allow to send infrared control signal by infrared transmitting circuit, governor circuit exports inhibit command to Mike's terminal of described audio jack.In the manner, being sent to the MIC terminal of audio jack by the order transmitting terminal TXD of governor circuit master allows instruction or inhibit command to show whether user can carry out infrared trigger action during this period, mobile terminal is by checking MIC interface thus obtaining command adapted thereto, when mobile terminal receives inhibit command, show system busy, provide the information that cannot send infrared control order; When mobile terminal receives permission instruction, now system idles, monitoring user operation, when user carry out infrared tactile operation generate into infrared operational order time, mobile terminal exports infrared operational order by the lead-out terminal (i.e. R terminal) of audio jack, governor circuit can receive the infrared operational order from mobile terminal by order receiving terminal RXD, then exports infrared drive singal by drive output REC, and last infrared transmitting circuit sends infrared control signal according to control.
Can certainly adopt and separately plant implementation, such as no thoroughfare that infrared transmitting circuit sends infrared control signal for mobile terminal acquiescence, when judging through overvoltage to allow to send infrared control signal by infrared transmitting circuit, governor circuit returns one to mobile terminal and confirms instruction.
For above-mentioned mobile terminal, the embodiment of the present invention additionally provides a kind of control method, and from mobile terminal side, as shown in Figure 6, this control method (i.e. the workflow of described mobile terminal) comprises the steps:
The instruction whether allowing to be sent by infrared transmitting circuit infrared control signal that step S601, mobile terminal are exported from governor circuit by Mike's terminal reception of audio jack;
Step S602, when receive forbid sending the instruction of infrared control signal time, provide the information that cannot send infrared control signal;
Step S603, when receive allow to send the instruction of infrared control signal time, the infrared operational order that user operation generates if receive, then export described infrared operational order to governor circuit by audio jack.
In this flow process, the instruction that mobile terminal monitored Mike's terminal reception arrives, whether described commanded surfaces allows to send infrared control signal by infrared transmitting circuit, allows instruction or inhibit command than described above.When receiving inhibit command, illustrative system hurries, and now user cannot carry out infrared trigger action, and provides corresponding prompting message; When receiving permission instruction life, illustrate that user now can carry out infrared trigger action.Monitoring user operation, related key in user's triggering mobile terminals, generates various infrared operational order, then exports described infrared operational order to governor circuit, governor circuit exports corresponding infrared drive singal to described infrared transmitting circuit, and infrared transmitting circuit sends infrared control signal.
In the present embodiment, generally, do not allow if current to send infrared control signal by infrared transmitting circuit, mobile terminal does not respond the infrared trigger action of user, such as response button can be set as grey; Even if response generates infrared operational order, also do not send infrared operational order to governor circuit.Further, even if mobile terminal sends infrared operational order to governor circuit, because now governor circuit is judged as not allowing to send infrared control signal by infrared transmitting circuit, described infrared operational order also can not be responded.
As a kind of specific implementation judging whether to allow to be sent infrared control signal by infrared transmitting circuit, can arrange a flag bit Y for representing infrared transmission state, in this enforcement, the initialization value of flag bit Y is Y0.When needing the function of infrared remote control enabling mobile terminal, be first maximum power output by the power supply terminal (i.e. L terminal) of audio connector, MIC terminal is configured to receive state, receives from the instruction on MIC terminal.Lead-out terminal (i.e. R terminal) is arranged to output state, the related key in user's triggering mobile terminals, generates various infrared operational order.
When MIC terminal reception is to inhibit command, flag bit Y is set to Y0; When MIC terminal reception is to permission instruction, flag bit Y is set to Y1.When current mark bit Y is Y0, then provide the prompting message that system busy cannot send infrared operational order, such as can with Pop-up message box form prompting message; When current mark bit Y is Y1, now monitoring user operation, exports governor circuit by triggering the infrared operational order generated to by R terminal.
The present embodiment does not limit the occurrence of Y0 and Y1, as long as both are different, whether busyly can be used in compartment system.Such as Y0 is set to 0, Y1 and is set to 1; Or other settings.
The corresponding infrared remote control system be made up of above-mentioned audio conversion infrared remote-control device and mobile terminal, by measuring the voltage waveform of the voltage output end VCC of described interface power supply circuits, oscillogram as shown in Figure 7, the following describes a kind of real work scene, suppose that Y0 be 0, Y1 is 1.
1) in the 0-t1 time period, for audio conversion infrared remote-control device is just inserted in mobile terminal by user, now user opens the function of infrared remote control of mobile terminal, flag bit Y is 0 always, now mobile terminal display system is hurried, and cannot trigger and send infrared control button, the audio signal of the L terminal output of audio jack, give power supply capacitor charging by interface power supply circuits, VCC magnitude of voltage is rising always.
2) in the t1-t2 time period, now the AD end of governor circuit detects magnitude of voltage X>X1, send and allow instruction to mobile terminal, described mobile terminal will be masked as Y and be set to 1, user is allowed to trigger infrared control button, but due to user's also non-trigger key, therefore VCC magnitude of voltage is also in rising, until the maximum voltage that interface power supply circuits export.
3) in the t2-t3 time period, now due to flag bit Y=1, if user triggers infrared control button, then the R terminal of mobile terminal control audio jack exports infrared operational order to governor circuit; Governor circuit controls infrared transmitting circuit by REC end and externally sends infrared control signal, controls household electrical appliances.Now, because infrared transmitting circuit externally transmits process, due to needs far distance controlled, therefore the electric current that the electric current consumed will provide much larger than audio frequency of mobile terminal interface, terminal L is not enough to provide enough electric currents, and now being supplemented by power supply capacitor discharge provides, infrared transmitting circuit can send infrared control signal continually and steadily, when user's continuous trigger infrared control button, power supply electric capacity is due to continuous electric discharge, and VCC voltage there will be slow decline.
4) in the t3-t4 time period, now the sampling end AD of governor circuit is checked through magnitude of voltage X<X2, sends inhibit command to mobile terminal.After described mobile terminal receives inhibit command, flag bit Y is set to 0, mobile terminal display system is hurried, user is not allowed to trigger infrared control button, infrared transmitting circuit does not externally send infrared control signal, and now interface power supply circuits continue power supply capacitor charging, and VCC magnitude of voltage rises gradually.
5) said process iterative cycles, achieves the function of mobile terminal by other household electrical appliances of audio conversion infrared remote-control device remote control.
In addition, the embodiment of the present invention additionally provides the concrete structure of a kind of governor circuit and mobile terminal.As shown in Figure 8, described governor circuit 4 comprises:
Voltage sample module 41, for after governor circuit powers on, the magnitude of voltage X that Sampling Interface power supply circuits export;
Condition judgment module 42, for when described magnitude of voltage X is greater than the first voltage threshold X1, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when described magnitude of voltage X is less than the second voltage threshold X2, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit, wherein X2<X1; And during for being increased to X2≤X≤X1 interval as magnitude of voltage X, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when magnitude of voltage X be reduced to X2≤X≤X1 interval time, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit;
Driver output module 43, during for allowing when described governor circuit to send infrared control signal by infrared transmitting circuit and receiving the infrared operational order of audio jack output, exports infrared drive singal to described infrared transmitting circuit.
Each functional module 41-43 correspondence that the present embodiment provides achieves abovementioned steps S401-S403.Concrete steps performed by modules repeat no more here.
As shown in Figure 9, described mobile terminal comprises:
Command reception module 91, for the instruction whether allowing to be sent by infrared transmitting circuit infrared control signal exported from governor circuit by Mike's terminal reception of audio jack;
Information reminding module 92, for when receiving the instruction forbidding sending infrared control signal, provides the information that cannot send infrared control signal;
Order output module 93, for when receiving the instruction allowing to send infrared control signal, if receive the infrared operational order of user operation generation, then exports described infrared operational order to governor circuit by audio jack.
Each functional module 91-93 correspondence that the present embodiment provides achieves abovementioned steps S601-S603.Concrete steps performed by modules repeat no more here.
Finally, the embodiment of the present invention additionally provides a kind of infrared emission control system, comprises described audio conversion infrared remote-control device, also comprises described mobile terminal, and the audio jack of described audio conversion infrared remote-control device inserts the audio interface of described mobile terminal.Governor circuit in described audio conversion infrared remote-control device performs flow process according to above-mentioned steps S401-S403, and described mobile terminal performs flow process according to above-mentioned steps S601-S603.Final realization controls audio conversion infrared remote-control device by mobile terminal and sends infrared signal.
It should be noted that in above-described embodiment, included modules is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional module, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step realized in the various embodiments described above method is that the hardware that can carry out instruction relevant by program has come, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, although with reference to previous embodiment to invention has been comparatively detailed description, for a person skilled in the art, it still can be modified to the technical scheme described in foregoing embodiments or carry out equivalent replacement to wherein portion of techniques feature.All any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an audio conversion infrared remote-control device, is characterized in that, described audio conversion infrared remote-control device comprises:
Audio jack, for being linked into the audio interface of mobile terminal;
Interface power supply circuits, for from described audio jack power taking, and power, also for being capacitor charging of powering for governor circuit, infrared transmitting circuit;
Power supply electric capacity, for when described interface power supply circuits are to described infrared transmitting circuit electricity shortage, is described infrared transmitting circuit supplementary power;
Governor circuit, for detecting the voltage swing that described interface power supply circuits export, and determines whether to allow to send infrared control signal by infrared transmitting circuit according to voltage swing, and determines whether to send infrared drive singal to described infrared transmitting circuit;
Infrared transmitting circuit, for when receiving the infrared drive singal coming from the output of described governor circuit, sends infrared control signal.
2. audio conversion infrared remote-control device as claimed in claim 1, it is characterized in that, described audio jack comprises Mike's terminal, earth terminal, L channel terminal and R channel terminal; Described interface power supply circuits comprise voltage input end, voltage output end and earth terminal; Described governor circuit comprises order transmitting terminal, order receiving terminal, voltage receiving terminal, sampling end, earth terminal and drive output; Described infrared transmitting circuit comprises power end, earth terminal and driving receiving terminal;
Wherein, a terminal in described left and right acoustic channels terminal is as power supply terminal, and be connected to the voltage input end of described interface power supply circuits, another terminal is connected to the order receiving terminal of described governor circuit as lead-out terminal, the order transmitting terminal of described governor circuit is connected to Mike's terminal of described audio jack, the drive output of described governor circuit is connected to the driving receiving terminal of described infrared transmitting circuit, the voltage output end of described interface power supply circuits, the voltage receiving terminal of governor circuit, the sampling end of governor circuit, the power end of infrared transmitting circuit and the positive pole of described power supply electric capacity are all communicated with, the earth terminal of described audio jack, the earth terminal of interface power supply circuits, the earth terminal of governor circuit, the earth terminal of infrared transmitting circuit and the negative pole of power supply electric capacity are all connected to ground.
3. audio conversion infrared remote-control device as claimed in claim 2, it is characterized in that, described interface power supply circuits comprise transformer T, metal-oxide-semiconductor Q1-Q4, diode D, the elementary voltage input end as interface power supply circuits of described transformer T and earth terminal, the source electrode of described metal-oxide-semiconductor Q1 is connected to the drain electrode of metal-oxide-semiconductor Q3, the source electrode of described metal-oxide-semiconductor Q2 is connected to the drain electrode of metal-oxide-semiconductor Q4, described metal-oxide-semiconductor Q1, the grid of Q2 and metal-oxide-semiconductor Q3, after the source electrode connection of Q4, be connected to the negative pole end of described transformer T level, described metal-oxide-semiconductor Q3, the grid of Q4 and metal-oxide-semiconductor Q1, after the drain electrode connection of Q2, be connected to the positive terminal of described transformer T level, and the positive pole of described diode D is connected to the positive terminal of described transformer T level, the negative pole of diode D is as the voltage output end of interface power supply circuits.
4. audio conversion infrared remote-control device as claimed in claim 3, it is characterized in that, described infrared transmitting circuit comprises resistance R1, R2, also comprise infrared transmitting tube LED and triode Q5, the base stage of described triode Q5 is by the driving receiving terminal as infrared transmitting circuit after resistance R2, the emitter of described triode Q5 is as the earth terminal of infrared transmitting circuit, and the collector electrode of described triode Q5 is successively by the power end as infrared transmitting circuit after described infrared transmitting tube LED, resistance R1.
5. a control method for the audio conversion infrared remote-control device as described in any one of claim 1-4, is characterized in that, described method comprises:
After governor circuit powers on, the magnitude of voltage X that Sampling Interface power supply circuits export;
When described magnitude of voltage X is greater than the first voltage threshold X1, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when described magnitude of voltage X is less than the second voltage threshold X2, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit, wherein X2<X1;
When magnitude of voltage X is increased to X2≤X≤X1 interval, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when magnitude of voltage X be reduced to X2≤X≤X1 interval time, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit;
When described governor circuit allows to send infrared control signal by infrared transmitting circuit and receives the infrared operational order of audio jack output, export infrared drive singal to described infrared transmitting circuit.
6. the control method of audio conversion infrared remote-control device as claimed in claim 5, is characterized in that;
When described governor circuit allows to send infrared control signal by infrared transmitting circuit, the Mike's terminal to described audio jack exports and allows instruction;
When described governor circuit no thoroughfare infrared transmitting circuit sends infrared control signal time, the Mike's terminal to described audio jack exports inhibit command.
7. the control method of audio conversion infrared remote-control device as described in any one of claim 1-6, it is characterized in that, described method comprises:
The instruction whether allowing to be sent by infrared transmitting circuit infrared control signal that mobile terminal is exported from governor circuit by Mike's terminal reception of audio jack;
When receiving the instruction forbidding sending infrared control signal, provide the information that cannot send infrared control signal;
When receiving the instruction allowing to send infrared control signal, if receive the infrared operational order of user operation generation, then export described infrared operational order to governor circuit by audio jack.
8. the control method of audio conversion infrared remote-control device as claimed in claim 7, is characterized in that:
When receiving the instruction forbidding sending infrared control signal, do not respond the infrared trigger action of user;
Or,
When receiving the instruction forbidding sending infrared control signal, if receive the infrared operational order of user operation generation, then described infrared operational order is sent to governor circuit; Described governor circuit does not respond described infrared operational order.
9. a governor circuit, is characterized in that, described governor circuit comprises:
Voltage sample module, for after governor circuit powers on, the magnitude of voltage X that Sampling Interface power supply circuits export;
Condition judgment module, for when described magnitude of voltage X is greater than the first voltage threshold X1, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when described magnitude of voltage X is less than the second voltage threshold X2, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit, wherein X2<X1; And during for being increased to X2≤X≤X1 interval as magnitude of voltage X, described governor circuit allows to send infrared control signal by infrared transmitting circuit, when magnitude of voltage X be reduced to X2≤X≤X1 interval time, no thoroughfare that infrared transmitting circuit sends infrared control signal for described governor circuit;
Driver output module, during for allowing when described governor circuit to send infrared control signal by infrared transmitting circuit and receiving the infrared operational order of audio jack output, exports infrared drive singal to described infrared transmitting circuit.
10. a mobile terminal, is characterized in that, described mobile terminal comprises:
Command reception module, for the instruction whether allowing to be sent by infrared transmitting circuit infrared control signal exported from governor circuit by Mike's terminal reception of audio jack;
Information reminding module, for when receiving the instruction forbidding sending infrared control signal, provides the information that cannot send infrared control signal;
Order output module, for when receiving the instruction allowing to send infrared control signal, if receive the infrared operational order of user operation generation, then exports described infrared operational order to governor circuit by audio jack.
CN201510083450.6A 2015-02-13 2015-02-13 A kind of audio conversion infrared remote-control device, control method and mobile terminal Active CN104702810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510083450.6A CN104702810B (en) 2015-02-13 2015-02-13 A kind of audio conversion infrared remote-control device, control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510083450.6A CN104702810B (en) 2015-02-13 2015-02-13 A kind of audio conversion infrared remote-control device, control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN104702810A true CN104702810A (en) 2015-06-10
CN104702810B CN104702810B (en) 2018-01-16

Family

ID=53349557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510083450.6A Active CN104702810B (en) 2015-02-13 2015-02-13 A kind of audio conversion infrared remote-control device, control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN104702810B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933534A (en) * 2016-06-14 2016-09-07 宁波大学 Audio signal infrared emission device with self-charging function and remote control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120225645A1 (en) * 2011-03-03 2012-09-06 Michael Sivan Low Cost System converting any Smartphone to a Remote Controller
CN203455947U (en) * 2013-01-16 2014-02-26 赵昌健 Infrared remote control signal emitter
CN203520630U (en) * 2013-11-15 2014-04-02 深圳市青河星云科技有限公司 Infrared remote control
CN203562094U (en) * 2013-10-18 2014-04-23 恬家(上海)信息科技有限公司 Infrared remote control studying circuit
CN204481920U (en) * 2015-02-13 2015-07-15 广东美的制冷设备有限公司 A kind of audio conversion infrared remote-control device, governor circuit and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120225645A1 (en) * 2011-03-03 2012-09-06 Michael Sivan Low Cost System converting any Smartphone to a Remote Controller
CN203455947U (en) * 2013-01-16 2014-02-26 赵昌健 Infrared remote control signal emitter
CN203562094U (en) * 2013-10-18 2014-04-23 恬家(上海)信息科技有限公司 Infrared remote control studying circuit
CN203520630U (en) * 2013-11-15 2014-04-02 深圳市青河星云科技有限公司 Infrared remote control
CN204481920U (en) * 2015-02-13 2015-07-15 广东美的制冷设备有限公司 A kind of audio conversion infrared remote-control device, governor circuit and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933534A (en) * 2016-06-14 2016-09-07 宁波大学 Audio signal infrared emission device with self-charging function and remote control method thereof
CN105933534B (en) * 2016-06-14 2019-09-10 宁波大学 Audio signal infrared launcher and its remote control method with self-charging function

Also Published As

Publication number Publication date
CN104702810B (en) 2018-01-16

Similar Documents

Publication Publication Date Title
CN203933124U (en) A kind of single interface portable power source, bluetooth keyboard and protective sleeve
CN104685759B (en) Standby power for the electronic product using power supply adaptor cuts off equipment
CN103682491B (en) The charging method of electric room, charging circuit and electronic equipment
CN104917016A (en) Charging type concentrator
CN104716750A (en) Low-energy-consumption wireless power supply method and relevant device and system
CN103716073A (en) Bluetooth device
CN105491473A (en) Bluetooth earphone with continuous power supply
CN111756086B (en) Power bridging device and bridging method using mobile robot battery
CN104348230A (en) Charging device and charging control method
CN102361106B (en) Storage battery temperature adjusting system
US10164461B2 (en) Wireless charging device, system, and method based on back cover mobile power supply
CN204481920U (en) A kind of audio conversion infrared remote-control device, governor circuit and mobile terminal
CN108683236A (en) A kind of mobile terminal OTG charging methods and device
CN104539026A (en) Charging method and charging device.
CN205430550U (en) Last bluetooth headset of power supply
CN209860622U (en) Wireless earphone charging device and wireless earphone
CN204732936U (en) A kind of portable power source
CN112540222A (en) Multifunctional intelligent electric meter
CN104702810A (en) Audio to infrared remote control device, control method and mobile terminal
CN101471463A (en) Electronic device and charging method thereof
CN213754015U (en) Charging circuit, charging box and charging system of bluetooth headset
CN203645668U (en) Bluetooth device
CN207037754U (en) Multimedia intelligent biological identification attendance device
CN206947983U (en) A kind of portable power source
CN102769314B (en) Power selection circuit and charger

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant