CN103035116A - Method and device for conversion between audio signal and infrared remote control signal - Google Patents

Method and device for conversion between audio signal and infrared remote control signal Download PDF

Info

Publication number
CN103035116A
CN103035116A CN2012105372891A CN201210537289A CN103035116A CN 103035116 A CN103035116 A CN 103035116A CN 2012105372891 A CN2012105372891 A CN 2012105372891A CN 201210537289 A CN201210537289 A CN 201210537289A CN 103035116 A CN103035116 A CN 103035116A
Authority
CN
China
Prior art keywords
infrared remote
infrared
signal
controlled signal
controlled
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
CN2012105372891A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN2012105372891A priority Critical patent/CN103035116A/en
Publication of CN103035116A publication Critical patent/CN103035116A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention provides a method and a device for conversion between an audio signal and an infrared remote control signal. The method comprises the following steps of: converting the audio signal to the infrared remote control signal; and converting the infrared remote control signal to the audio signal. By the method, a function of an infrared remote controller can be realized through an audio interface of an intelligent mobile terminal, and data can be mutually transmitted between the intelligent mobile terminal and infrared controlled equipment; and therefore, the conventional infrared remote controller can be learned. The device comprises a signal acquisition processing module, a processor module, an infrared emission module, an infrared receiving module and an energy module. The method and the device has the characteristics that a protocol is simple and understandable; hardware is low in implementation cost; software development and hardware development do not depend on each other; and the audio signal with encoded information can be convenient to share, download and store.

Description

The method that a kind of audio frequency and infrared remote-controlled signal are changed mutually and device
Technical field
The present invention relates to signal converter technique field, particularly method and the device mutually changed of a kind of audio frequency and infrared remote-controlled signal.
Background technology
Infrared remote control is at present most popular a kind of communication and remote control means.Because infrared remote-control device has the characteristics such as volume is little, low in energy consumption, function is strong, cost is low, thereby, after colour TV, DVD, sound equipment, on other compact electric apparatus devices such as air conditioner, projector, toy and photographic goods, also adopt one after another infrared remote control, thereby the telepilot number in the family is also more and more.
Along with popularizing of the portable terminals such as mobile phone and panel computer, the especially development of the operating system of movement-based terminal is such as Android and IOS, for the corresponding infrared remote control application program of User Exploitation provides possibility.And audio frequency of mobile terminal interface unified standard is for the multifunctional learning Infrared remote controller of developing based on intelligent mobile terminal provides interface convenient.
Find by consulting us, lack the communication protocol of a kind of effective intelligent terminal and external infrared transceiver device in the existing scheme of Multi-functional infrared remote controller based on the intelligent mobile terminal exploitation, i.e. conversion method between sound signal and the infrared remote-controlled signal.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: intelligent mobile terminal input and output audiorange is 20Hz-20KHz, and output power, amplitude size are limited.And Infrared Remote-Control Sending modal be the carrier frequency of 38KHz, infrared reception then is the waveform of different coding form, is that audio interface can't directly be inputted.Illustrate: suppose that above-mentioned intelligent mobile terminal sends take highest audio 20kHZ as carrier frequency, and with the sound signal of NEC coded format envelope, after infrared emittance is launched, controlled signal can't receive this signal.Same, when to the remote control signal learning of existing Infrared remote controller the time, the infrared signal that infrared remote receiver receives can't directly be stored by microphone; Can't directly change between the two, need an effective transparent conversion method, the translation-protocol between portable terminal and the external infrared transceiver is that the method for mutually conversing between sound signal and the infrared signal is problem demanding prompt solution.
Existing infrared remote control comprises dual mode: the PWM(pulse width is adjusted) and the PPM(pulse-position modulation), the representative of two kinds of form codings is respectively RC-5, RC-6 and the RC-7 in the future of NEC and PHILIPS; TV remote controller commonly used is used NECupd6121, in addition, is used for the state of air-conditioning far more than TV, sound equipment, and the neither one standard, so each producer all does one by the form of oneself, it is larger to make a difference; Therefore should consider the learning functionality to existing infrared remote-controlled signal in the scheme of exploitation based on the Multi-functional infrared remote controller of intelligent mobile terminal exploitation, described learning functionality namely needs a kind ofly simple and effective infrared remote-controlled signal to be converted to accordingly sound signal of microphone interface.
Can realize direct conversion between sound signal and the infrared remote-controlled signal by the inventive method, simple realization is sent with infrared transceiver after the sound signal of specific coding form by intelligent terminal and is converted corresponding infrared remote-controlled signal to, and also the infrared remote-controlled signal that has Infrared remote controller now can be converted into can be by the sound signal of microphone location storage.
Summary of the invention
Method and device that the embodiment of the invention provides a kind of audio frequency and infrared remote-controlled signal mutually to change, the employing signal is processed, shaping, the method of conversion, realize the transmission-receiving function of infrared remote-controlled signal by the audio interface of intelligent mobile terminal, solved in the prior art, the problem that can't effectively change between sound signal and the infrared signal, and simplification protocol complexities and cost of hardware design, be convenient to the conversion method of software and hardware compatibility, the user only need to open the function that no application program on the intelligent mobile terminal just can realize omnipotent Infrared remote controller, also provide simultaneously the transition process of infrared remote-controlled signal to sound signal, for the infrared remote-controlled signal of learning existing Infrared remote controller provides support.
For solving the problems of the technologies described above, on the one hand, the method that the embodiment of the invention provides a kind of sound signal and infrared remote-controlled signal mutually to change, described method comprises: sound signal is to the conversion method of infrared remote-controlled signal; Infrared remote-controlled signal is to the conversion method of sound signal; Described method not only can be used for realizing by the audio interface of intelligent mobile terminal the function of Infrared remote controller, also can be used for the data transmission between intelligent mobile terminal and the controlled plant;
Sound signal is to the conversion method of infrared remote-controlled signal, and its step is:
(1) at intelligent terminal, by the audio file of software approach production with the infrared coding form, described software approach is that intelligent terminal is according to the corresponding audio file of ultra-red order collection software production of existing electric equipment, described audio file frequency is that carrier wave is between 10K-20K, amplitude is that equipment is supported maximal value, the audio file take the infrared coding form as envelope;
(2) on infrared transceiver device, receive above-mentioned audio file by audio interface, behind audio signal sample processing module Shape correction, be transferred to processing unit;
(3) processing unit draws audio frequency according to the audio file analysis result that collects f v According to the infrared remote-controlled signal carrier frequency f Ir Process of frequency multiplication is carried out in requirement, and the frequency multiplication multiple is f Ir / f v Described infrared remote control carrier frequency f Ir Be generally 38KHz;
(4) signal after the processing can be transferred to infrared sending module, finishes sound signal to the conversion of infrared remote-controlled signal;
Infrared remote-controlled signal is to the conversion method of sound signal, and its step is:
(1) infrared receiver receives infrared remote-controlled signal, is transferred to processing unit after the demodulation, and described infrared remote-controlled signal is to send infrared signal after the existing telepilot of family pushes button;
(2) described signal is the infrared coding agreement, processor generates audio file according to this signal and is transferred to intelligent terminal by microphone, and described audio file is that carrier wave is the audio file of the infrared coding agreement that arrives for study of a frequency file envelope between the 10K-20K;
(3) intelligent mobile terminal is namely finished infrared remote-controlled signal to the transfer process of sound signal by the sound signal that software inventory analysis microphone receives.
On the other hand, the embodiment of the invention provides a kind of audio frequency and infrared remote-controlled signal conversion equipment, and described device comprises: the signal acquisition process module, be used for gathering the sound signal of sending from the intelligent mobile terminal audio interface, and carry out Shape correction; Processor module is used for sound signal and the infrared remote-controlled signal that receives are processed; Infrared transmission module is used for sending infrared remote-controlled signal, and described infrared remote-controlled signal is controlled by processor module; Infrared receiving module be used for to receive infrared remote-controlled signal, and described infrared remote-controlled signal is to having Infrared remote controller, and the non-self infrared remote-controlled signal that sends; Energy module is used for collecting energy, and for other modules of device, described energy module energy can be from audio interface or battery.
Technique scheme has following beneficial effect: because sound signal is to be finished by audio frequency and infrared remote-controlled signal conversion equipment to the direct conversion of infrared remote-controlled signal, and adopt the same infrared coding form that is, just carrier frequency and the watt level of conversion.The software developer only need to will go to produce corresponding audio file according to the infrared coding form, is transferred to the development that audio frequency and infrared remote-controlled signal conversion equipment can be finished infrared remote control software, has simplified signal translation-protocol complexity; In addition, owing to have the process that infrared remote-controlled signal is converted to sound signal, and this process is reversible, described reversible process and convert back infrared remote-controlled signal by changing audio file, can directly realize the learning functionality of existing telepilot has been increased availability and the dirigibility of system.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to needed accompanying drawing in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is that sound signal arrives infrared remote-controlled signal transfer process synoptic diagram.
Fig. 2 is that infrared remote-controlled signal arrives sound signal transfer process synoptic diagram.
Fig. 3 is audio frequency and infrared remote-controlled signal conversion device structure figure.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated, be to be understood that, specific embodiment described herein only is used for explaining the present invention, is not intended to limit the present invention.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
A kind of sound signal of the embodiment of the invention as shown in Figure 1 is to the signal intensity synoptic diagram of the conversion method of infrared remote-controlled signal, and described method comprises:
(1) 101, infrared coding form waveform synoptic diagram, described infrared coding form is to launch the dutycycle representative " 0 " and " 1 " of infrared carrier wave, in order to save energy, generally speaking, launch the time of infrared carrier wave and fix, change dutycycle by changing the time that does not send carrier wave, for example TV remote controller commonly used, use NECudp6121 wherein " 0 " be carrier transmit 0.56ms, do not launch 0.56ms; Its " 1 " is carrier transmit 0.56ms, does not launch 1.68ms; In order to decode conveniently, also have preamble code in addition, the preamble code of upd6121 is carrier transmit 9ms, does not launch 4.5ms.Udp6121 code length altogether is 108ms;
(2) 102, according to appeal infrared coding form, it is the infrared coding form that intelligent mobile terminal generates envelope, and carrier wave is the sound signal of 19K, and described sound signal also can be the infrared remote-controlled signal that network is downloaded or before study of system is arrived; Described voice carrier is not defined as 19K;
(3) 103, the audio signal sample processing module of audio frequency and infrared remote-controlled signal conversion equipment sound signal shaping that intelligent mobile terminal is sent;
(4) 104, the carrier frequency of the waveform after the processor module analyzing audio signal acquisition process module shaping of audio frequency and infrared remote-controlled signal conversion equipment, be translated into the 38KHz that meets the infrared remote-controlled signal requirement, the signal that is about to 19K carries out 2 process of frequency multiplication, is sent to infrared transmission module and launches.
A kind of infrared remote-controlled signal of the embodiment of the invention as shown in Figure 2 is to the signal intensity synoptic diagram of the conversion method of sound signal, and described method comprises:
(1) 201, has the infrared remote-controlled signal waveform that the household electrical appliance Infrared remote controller is sent;
(2) 203, the signal waveform behind the infrared receiving module reception ﹠ disposal of audio frequency and infrared remote-controlled signal conversion equipment, described waveform is and receives infrared coding;
(3) 203, the processor module of audio frequency and infrared remote-controlled signal conversion equipment is 19KHz according to above-mentioned waveform production carrier wave, and envelope is the sound signal of infrared coding;
(4) 204, intelligent mobile terminal, the sound signal waveform that receives by microphone interface.
Fig. 3 is embodiment of the invention audio frequency and infrared remote-controlled signal conversion device structure synoptic diagram, as described in Figure 3, comprising: the signal acquisition process module, be used for gathering the sound signal of sending from the intelligent mobile terminal audio interface, and carry out Shape correction; Processor module is used for sound signal and the infrared remote-controlled signal that receives are processed; Infrared transmission module is used for sending infrared remote-controlled signal, and described infrared remote-controlled signal is controlled by processor module; Infrared receiving module be used for to receive infrared remote-controlled signal, and described infrared remote-controlled signal is to having Infrared remote controller, and the non-self infrared remote-controlled signal that sends; Energy module is used for collecting energy, for other modules of device.
Wherein the signal acquisition process module is used NPN triode total radio amplifier work and on off state.
Wherein processor module enters park mode in off working state, just enters duty after receiving sound signal or infrared remote-controlled signal, and the processor that described processor module uses can be single-chip microcomputer, DSP, FPGA etc.
Wherein infrared transmission module is comprised of the PNP triode and the infrared transmitting tube that work on off state.
Wherein infrared receiving module uses the integrated infrared receiving terminal of HX1838.
Wherein the energy module energy source can be from audio interface power supply or powered battery.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (5)

1. method and the device mutually changed of an audio frequency and infrared remote-controlled signal is characterized in that:
Described method comprises: sound signal is to the conversion of infrared remote-controlled signal; Infrared remote-controlled signal is to the conversion of sound signal; Described method not only can be used for realizing by the audio interface of intelligent mobile terminal the function of Infrared remote controller, also can be used for the data transmission between intelligent mobile terminal and the infrared controlled plant, to the study of existing Infrared remote controller;
Described device comprises: the signal acquisition process module, be used for gathering the sound signal of sending from the intelligent mobile terminal audio interface, and carry out Shape correction; Processor module is used for sound signal and the infrared remote-controlled signal that receives are processed; Infrared transmission module is used for sending infrared remote-controlled signal, and described infrared remote-controlled signal is controlled by processor module; Infrared receiving module be used for to receive infrared remote-controlled signal, and described infrared remote-controlled signal is to having Infrared remote controller, and the non-self infrared remote-controlled signal that sends; Energy module is used for collecting energy, and for other modules of device, described energy module energy can be from audio interface or battery.
2. method as claimed in claim 1 is characterized in that described sound signal to the conversion of infrared remote-controlled signal, and process comprises: generate with infrared coding information according to infrared coding, carrier wave is the sound signal of 10 KHz-20KHz; Audio frequency and infrared remote-controlled signal conversion equipment are converted to this sound signal with infrared coding information, and carrier wave is the infrared remote-controlled signal of 38K.
3. method as claimed in claim 1, it is characterized in that described infrared remote-controlled signal is to the conversion of sound signal, process comprises: the infrared remote-controlled signal to existing Infrared remote controller receives, obtain infrared coding information, process by audio frequency and infrared remote-controlled signal conversion equipment processor unit, production is with infrared coding information, and carrier wave is the sound signal of 10 KHz-20KHz.
4. as claimed in claim 2, it is characterized in that described audio-frequency information with infrared coding, is to share, and transmits and downloads by network.
5. be the sound signal of 10 KHz-20KHz such as the described carrier wave of claim 2 ~ 3, wherein for the fixing sound signal of frequency, such as 19KHz.
CN2012105372891A 2012-12-13 2012-12-13 Method and device for conversion between audio signal and infrared remote control signal Pending CN103035116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105372891A CN103035116A (en) 2012-12-13 2012-12-13 Method and device for conversion between audio signal and infrared remote control signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105372891A CN103035116A (en) 2012-12-13 2012-12-13 Method and device for conversion between audio signal and infrared remote control signal

Publications (1)

Publication Number Publication Date
CN103035116A true CN103035116A (en) 2013-04-10

Family

ID=48021976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105372891A Pending CN103035116A (en) 2012-12-13 2012-12-13 Method and device for conversion between audio signal and infrared remote control signal

Country Status (1)

Country Link
CN (1) CN103035116A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104282137A (en) * 2014-10-08 2015-01-14 深圳市中兴移动通信有限公司 Infrared remote control method and mobile terminal
WO2015010481A1 (en) * 2013-07-26 2015-01-29 安徽畅感网络科技有限公司 Audio interface-based method of transmitting data between intelligent terminal and controller
CN104658239A (en) * 2015-03-17 2015-05-27 广东欧珀移动通信有限公司 Carrier frequency adaptation method and device
CN104702808A (en) * 2013-12-04 2015-06-10 鸿富锦精密工业(武汉)有限公司 Electronic device combination with infrared transmitting device and using method thereof
CN105719447A (en) * 2014-12-04 2016-06-29 江苏慧明智能科技有限公司 Wireless remote controller of household equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060047513A1 (en) * 2004-09-02 2006-03-02 Inventec Multimedia & Telecom Corporation Voice-activated remote control system and method
CN202443574U (en) * 2012-03-01 2012-09-19 王琦凡 System and external equipment for controlling household appliances by means of mobile terminal
CN202495151U (en) * 2012-03-22 2012-10-17 达鹏德远(北京)科技有限公司 Infrared remote control device suitable for intelligent portable equipment
CN202502615U (en) * 2012-02-13 2012-10-24 宏视远景网络技术(北京)股份有限公司 Infrared remote control device for smart host

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060047513A1 (en) * 2004-09-02 2006-03-02 Inventec Multimedia & Telecom Corporation Voice-activated remote control system and method
CN202502615U (en) * 2012-02-13 2012-10-24 宏视远景网络技术(北京)股份有限公司 Infrared remote control device for smart host
CN202443574U (en) * 2012-03-01 2012-09-19 王琦凡 System and external equipment for controlling household appliances by means of mobile terminal
CN202495151U (en) * 2012-03-22 2012-10-17 达鹏德远(北京)科技有限公司 Infrared remote control device suitable for intelligent portable equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015010481A1 (en) * 2013-07-26 2015-01-29 安徽畅感网络科技有限公司 Audio interface-based method of transmitting data between intelligent terminal and controller
CN104702808A (en) * 2013-12-04 2015-06-10 鸿富锦精密工业(武汉)有限公司 Electronic device combination with infrared transmitting device and using method thereof
CN104282137A (en) * 2014-10-08 2015-01-14 深圳市中兴移动通信有限公司 Infrared remote control method and mobile terminal
CN105719447A (en) * 2014-12-04 2016-06-29 江苏慧明智能科技有限公司 Wireless remote controller of household equipment
CN104658239A (en) * 2015-03-17 2015-05-27 广东欧珀移动通信有限公司 Carrier frequency adaptation method and device
CN104658239B (en) * 2015-03-17 2017-10-27 广东欧珀移动通信有限公司 Carrier frequency adaptation method and device

Similar Documents

Publication Publication Date Title
CN101697248B (en) Learning type infrared remote control device and method
CN103035116A (en) Method and device for conversion between audio signal and infrared remote control signal
JPH08314831A (en) Equipment and method for infrared communication
CN104185092A (en) Remote control adaptor and adaption method
CN104735274A (en) Learning type universal infrared remote control method based on cloud platform and smart phone
CN202422412U (en) Circuit interface system capable of realizing infrared remote control on basis of handheld device and remote control system of circuit interface system
CN103226889A (en) Domestic appliance intelligent control system based on Bluetooth infrared conversion
CN105469587A (en) Method and device of voice transmitting through laser
CN102833589B (en) System and method for audio and video on-demand broadcast based on visible light wireless communication
CN102542783A (en) Circuit interface system, remote control system and method for achieving infrared remote control of handheld device
CN202350248U (en) Air conditioner remote control system
CN202470306U (en) System with voice-controlled air conditioner operated by mobile communication terminal and air conditioner
CN104714413A (en) Intelligent home system based on ZigBee technique
CN102568188A (en) Infrared remote control device and method for intelligent host
CN201142126Y (en) Infrared remote control signal wireless repeater system
CN202502615U (en) Infrared remote control device for smart host
CN202838678U (en) Study type networking infrared remote control
CN111354179A (en) Intelligent household appliance control system based on power line carrier communication and infrared remote control
CN203386343U (en) Learning infrared remote controller based on WIFI (wireless fidelity)
CN205751226U (en) Learning type infrared remote control device based on intelligent mobile terminal
CN103244445A (en) Online intelligent fan and communication method thereof
CN203386359U (en) Learning infrared remote controller based on ZIGBEE
CN203102571U (en) Audio remote control system
CN104777792A (en) Intelligent home control box
CN204650224U (en) A kind of remote speech appliance control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130410