CN110351648A - The detection method of signal deteching circuit and SPDIF fiber-optic signal - Google Patents
The detection method of signal deteching circuit and SPDIF fiber-optic signal Download PDFInfo
- Publication number
- CN110351648A CN110351648A CN201910701351.8A CN201910701351A CN110351648A CN 110351648 A CN110351648 A CN 110351648A CN 201910701351 A CN201910701351 A CN 201910701351A CN 110351648 A CN110351648 A CN 110351648A
- Authority
- CN
- China
- Prior art keywords
- signal
- fiber
- optic
- spdif
- resistance
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The present invention relates to the detection methods of a kind of signal deteching circuit and SPDIF fiber-optic signal, the signal deteching circuit is by being equipped with fiber-optic signal receiving portion, dividing section and signal processing, frequency dividing circuit carries out scaling down processing to the SPDIF fiber-optic signal of input, the variation of multiple data pulses can be converted to the variation of a pulse, to which the variation of data pulse width is carried out cumulative amplification, microcontroller is allowed to be more easily detected this variation, not only increase the accuracy of detection, also reduce the requirement to the microcontroller performance of signal processing, it is simple and practical, it is low in energy consumption, meet the requirement of stereo set low-power consumption.The detection method of the SPDIF fiber-optic signal is by detecting SPDIF data pulse width variation, to realize to whether optical fiber has audio signal output to judge.
Description
Technical field
The present invention relates to a kind of domestic acoustics technical fields, more particularly to a kind of signal deteching circuit and SPDIF
The detection method of (Sony/Philips Digital Interface) fiber-optic signal.
Background technique
Many stereo sets are both provided with no music signal input automatic stand-by function in order to avoid unnecessary energy waste
Can, stereo set does not have music signal input for a long time, will be automatically into standby mode.In the standby state, Overall Power Consumption drops
It is extremely minimum, especially export the product of European Union, it is necessary to meet the requirement of ERP instruction, stand-by power consumption is not above 0.5W.In order to
Family is easy to use, while need to increase and have music signal automatic wake-up function, as long as there is music signal, equipment will be immediately entered normally
Working condition, this greatly facilitates the use of user.In order to realize above-mentioned function, we allow at any time can
The signal of enough each music input terminals of accurate detection, so that control circuit is supplied to, for making standby or work movement.
Detection for SPDIF optical fiber input signal, we do so often by decoded music signal is detected
It is necessary that the circuits such as SPDIF is received, decoding are at always the state of work, power consumption when standby in this way will be very big,
It is difficult to meet the limit value requirement that power consumption is not more than 0.5W.
Summary of the invention
Based on this, it is necessary to current traditional technology there are aiming at the problem that, a kind of signal deteching circuit is provided, it is simple real
With, it is low in energy consumption, meet the requirement of stereo set low-power consumption.
The present invention also provides a kind of detection methods of SPDIF fiber-optic signal.
In order to achieve the object of the present invention, the invention adopts the following technical scheme:
A kind of signal deteching circuit, for detecting SPDIF fiber-optic signal, the signal deteching circuit includes:
Fiber-optic signal receiving portion is used for reception optical fiber signal;
Dividing section, for carrying out scaling down processing to fiber-optic signal;And
Signal processing, for being judged fiber-optic signal and being handled.
Above-mentioned signal deteching circuit is divided by being equipped with fiber-optic signal receiving portion, dividing section and signal processing
Frequency circuit carries out scaling down processing to the SPDIF fiber-optic signal of input, can convert the variation of multiple data pulses to an arteries and veins
The variation of punching allows microcontroller to be more easily detected this variation so that the variation of data pulse width is carried out cumulative amplification,
The accuracy for not only increasing detection also reduces the requirement to the microcontroller performance of signal processing, simple and practical, function
It consumes low, meets the requirement of stereo set low-power consumption.
The fiber-optic signal receiving portion includes capacitor C1, resistance R1, resistance R2 and optical fiber in one of the embodiments,
Head OP1 is received, the power end of the fiber optic receiver OP1 is connect with the resistance R1, capacitor C1 respectively;The fiber optic receiver
The output end of OP1 is connect with the resistance R2;The resistance R1 is connected to power supply.
The dividing section includes resistance R3, capacitor C2, capacitor C3 and frequency dividing chip IC 2 in one of the embodiments,;
The power end of the frequency dividing chip IC 2 is connect with the capacitor C2;The input terminal and the resistance R2 of the frequency dividing chip IC 2 connect
It connects;The output end of the frequency dividing chip IC 2 is connect with the resistance R3.
The signal processing includes capacitor C4 and microcontroller chip IC3 in one of the embodiments,;It is described micro-
The input terminal of controller chip IC3 is connect with the resistance R3, capacitor C3 respectively;The power end of the microcontroller chip IC3
It is connect with the capacitor C4.
The present invention also provides a kind of detection methods of SPDIF fiber-optic signal, comprising:
S1: signal deteching circuit SPDIF fiber-optic signal detected is obtained;
S2: processing is zeroed out to counter;
S3: sample count is carried out to fiber-optic signal data;
S4: sample counter overflows judgement;
S5: current sample values are saved;
S6: current sample values are compared with a preceding sampled value, and are denoted as sampling difference;
When sampling difference greater than maximum tolerance threshold values, optical fiber has signal input, and marker is carried out set;
When sampling difference less than minimum tolerance threshold values, the input of optical fiber no signal, and marker is resetted.
In one of the embodiments, in the step S4, when sample counter is not overflowed, the step is returned to
S3。
In one of the embodiments, in the step S5, before saving current sample values, does not preserve others and adopt
When sample value, the step S2 is returned.
Detailed description of the invention
Fig. 1 is the schematic block circuit diagram of signal deteching circuit of the invention;
Fig. 2 is signal deteching circuit circuit diagram shown in FIG. 1;
Fig. 3 is the circuit diagram of fiber-optic signal receiving portion shown in Fig. 2;
Fig. 4 is the circuit diagram of dividing section shown in Fig. 2;
Fig. 5 is the circuit diagram of signal processing shown in Fig. 2;
Fig. 6 is the program flow diagram of the detection method of SPDIF fiber-optic signal of the invention.
Specific embodiment
To facilitate the understanding of the present invention, a more comprehensive description of the invention is given in the following sections with reference to the relevant attached drawings.In attached drawing
Give presently preferred embodiments of the present invention.But the invention can be realized in many different forms, however it is not limited to this paper institute
The embodiment of description.On the contrary, purpose of providing these embodiments is keeps the understanding to the disclosure more thorough
Comprehensively.
It should be noted that it can directly on the other element when element is referred to as " being fixed on " another element
Or there may also be elements placed in the middle.When an element is considered as " connection " another element, it, which can be, is directly connected to
To another element or it may be simultaneously present centering elements.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Fig. 1 to Fig. 5 is please referred to, is a kind of signal deteching circuit 100 of the invention, it, should for detecting SPDIF fiber-optic signal
Signal deteching circuit 100 includes fiber-optic signal receiving portion 10, dividing section 20 and signal processing 30.
See Fig. 3, fiber-optic signal receiving portion 10 is used for reception optical fiber signal, specifically, fiber-optic signal receiving portion 10
Including capacitor C1, resistance R1, resistance R2 and fiber optic receiver OP1, the power end of fiber optic receiver OP1 respectively with resistance R1, electricity
Hold C1 connection;The output end of fiber optic receiver OP1 is connect with resistance R2;Resistance R1 is connected to power supply.
See Fig. 4, dividing section 20 is used to carry out scaling down processing to fiber-optic signal;Specifically, dividing section 20 includes electricity
Hinder R3, capacitor C2, capacitor C3 and frequency dividing chip IC 2;The power end of frequency dividing chip IC 2 is connect with capacitor C2;Divide chip IC 2
Input terminal is connect with resistance R2;The output end of frequency dividing chip IC 2 is connect with resistance R3.
See Fig. 5, signal processing 30 is for being judged and being handled to fiber-optic signal, specifically, signal processing part
Dividing 30 includes capacitor C4 and microcontroller chip IC3;The input terminal of microcontroller chip IC3 connects with resistance R3, capacitor C3 respectively
It connects;The power end of microcontroller chip IC3 is connect with capacitor C4.
Above-mentioned signal deteching circuit 100 is by being equipped with fiber-optic signal receiving portion 10, dividing section 20 and signal processing
Part 30, frequency dividing circuit carry out scaling down processing to the SPDIF fiber-optic signal of input, the variation of multiple data pulses can be converted
Microcontroller is allowed to be more easily detected so that the variation of data pulse width is carried out cumulative amplification for the variation of a pulse
This variation not only increases the accuracy of detection, also reduces the requirement to the microcontroller performance of signal processing 30,
It is simple and practical, it is low in energy consumption, meet the requirement of stereo set low-power consumption.
Such as Fig. 6, the present invention also provides a kind of detection methods of SPDIF fiber-optic signal, include the following steps:
S1: the SPDIF fiber-optic signal detected of signal deteching circuit 100 is obtained;
S2: processing is zeroed out to counter;
S3: sample count is carried out to fiber-optic signal data;
S4: sample counter overflows judgement;When sample counter is not overflowed, the step S3 is returned;
S5: current sample values are saved;Before saving current sample values, when not preserving other sampled values, institute is returned to
State step S2;
S6: current sample values are compared with a preceding sampled value, and are denoted as sampling difference;
When sampling difference greater than maximum tolerance threshold values, optical fiber has signal input, and marker is carried out set;
When sampling difference less than minimum tolerance threshold values, the input of optical fiber no signal, and marker is resetted.
The detection method of above-mentioned SPDIF fiber-optic signal is by detecting SPDIF data pulse width variation, to realize pair
Whether optical fiber has audio signal output to judge, specifically, counting within the unit time to the SPDIF signal pulse of input
Number, and the numerical value that front and back double sampling counts is compared, change to judge whether the SPDIF data pulse width of input has
Become, and whether this change exceeds the range of tolerance, inputs to judge whether there is audio signal from optical fiber port, and to correlation
Flag bit carry out set or reset, export the result of detection.The signal detecting method only need to be by the defeated of fiber optic receiver
Signal directly carries out detection judgement out, so that it may and it has recognised that music signal input, has cooperated without other circuits,
Power supply power consumption needed for greatly reducing detection, to be easy to allow stereo set in the requirement for meeting 0.5W stand-by power consumption limit value
Under, realize the function that music signal automatically wakes up.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (7)
1. a kind of signal deteching circuit, for detecting SPDIF fiber-optic signal, which is characterized in that the signal deteching circuit includes:
Fiber-optic signal receiving portion is used for reception optical fiber signal;
Dividing section, for carrying out scaling down processing to fiber-optic signal;And
Signal processing, for being judged fiber-optic signal and being handled.
2. signal deteching circuit according to claim 1, which is characterized in that the fiber-optic signal receiving portion includes capacitor
C1, resistance R1, resistance R2 and fiber optic receiver OP1, the power end of the fiber optic receiver OP1 respectively with the resistance R1, electricity
Hold C1 connection;The output end of the fiber optic receiver OP1 is connect with the resistance R2;The resistance R1 is connected to power supply.
3. signal deteching circuit according to claim 2, which is characterized in that the dividing section includes resistance R3, capacitor
C2, capacitor C3 and frequency dividing chip IC 2;The power end of the frequency dividing chip IC 2 is connect with the capacitor C2;The frequency dividing chip
The input terminal of IC2 is connect with the resistance R2;The output end of the frequency dividing chip IC 2 is connect with the resistance R3.
4. signal deteching circuit according to claim 3, which is characterized in that the signal processing include capacitor C4 and
Microcontroller chip IC3;The input terminal of the microcontroller chip IC3 is connect with the resistance R3, capacitor C3 respectively;It is described micro-
The power end of controller chip IC3 is connect with the capacitor C4.
5. a kind of detection method of SPDIF fiber-optic signal characterized by comprising
S1: signal deteching circuit SPDIF fiber-optic signal detected is obtained;
S2: processing is zeroed out to counter;
S3: sample count is carried out to fiber-optic signal data;
S4: sample counter overflows judgement;
S5: current sample values are saved;
S6: current sample values are compared with a preceding sampled value, and are denoted as sampling difference;
When sampling difference greater than maximum tolerance threshold values, optical fiber has signal input, and marker is carried out set;
When sampling difference less than minimum tolerance threshold values, the input of optical fiber no signal, and marker is resetted.
6. the detection method of SPDIF fiber-optic signal according to claim 5, which is characterized in that in the step S4, when adopting
When sample counter does not overflow, the step S3 is returned.
7. the detection method of SPDIF fiber-optic signal according to claim 5, which is characterized in that in the step S5, work as guarantor
Before depositing current sample values, when not preserving other sampled values, the step S2 is returned to.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910701351.8A CN110351648A (en) | 2019-07-31 | 2019-07-31 | The detection method of signal deteching circuit and SPDIF fiber-optic signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910701351.8A CN110351648A (en) | 2019-07-31 | 2019-07-31 | The detection method of signal deteching circuit and SPDIF fiber-optic signal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110351648A true CN110351648A (en) | 2019-10-18 |
Family
ID=68183494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910701351.8A Pending CN110351648A (en) | 2019-07-31 | 2019-07-31 | The detection method of signal deteching circuit and SPDIF fiber-optic signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110351648A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0827310A2 (en) * | 1996-08-30 | 1998-03-04 | Sony Corporation | Infra-red transmission of digital audio signals |
CN103107776A (en) * | 2011-11-14 | 2013-05-15 | 嘉兴联星微电子有限公司 | Ultralow power consumption band-pass frequency detector and frequency discrimination method of the ultralow power consumption band-pass frequency detector |
CN205491157U (en) * | 2015-12-30 | 2016-08-17 | Tcl通力电子(惠州)有限公司 | Digital audio detection circuitry , awakening circuit and audio playback equipment |
CN205726192U (en) * | 2016-04-26 | 2016-11-23 | 广州路派电子科技有限公司 | Vehicle-mounted MOST optical fiber multi-media digital television and entertainment systems |
CN106301306A (en) * | 2016-09-30 | 2017-01-04 | 华中科技大学 | One and the matching used active triggering device of Triggered Vacuum Switch |
CN206270518U (en) * | 2016-12-26 | 2017-06-20 | 湖北省气象信息与技术保障中心 | A kind of Portable Automatic weather station fault locator |
CN108476176A (en) * | 2016-01-15 | 2018-08-31 | 高通股份有限公司 | Real-time transport protocol Research of Congestion Control Techniques in visual telephone |
-
2019
- 2019-07-31 CN CN201910701351.8A patent/CN110351648A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0827310A2 (en) * | 1996-08-30 | 1998-03-04 | Sony Corporation | Infra-red transmission of digital audio signals |
CN103107776A (en) * | 2011-11-14 | 2013-05-15 | 嘉兴联星微电子有限公司 | Ultralow power consumption band-pass frequency detector and frequency discrimination method of the ultralow power consumption band-pass frequency detector |
CN205491157U (en) * | 2015-12-30 | 2016-08-17 | Tcl通力电子(惠州)有限公司 | Digital audio detection circuitry , awakening circuit and audio playback equipment |
CN108476176A (en) * | 2016-01-15 | 2018-08-31 | 高通股份有限公司 | Real-time transport protocol Research of Congestion Control Techniques in visual telephone |
CN205726192U (en) * | 2016-04-26 | 2016-11-23 | 广州路派电子科技有限公司 | Vehicle-mounted MOST optical fiber multi-media digital television and entertainment systems |
CN106301306A (en) * | 2016-09-30 | 2017-01-04 | 华中科技大学 | One and the matching used active triggering device of Triggered Vacuum Switch |
CN206270518U (en) * | 2016-12-26 | 2017-06-20 | 湖北省气象信息与技术保障中心 | A kind of Portable Automatic weather station fault locator |
Non-Patent Citations (3)
Title |
---|
崔万安: "《电动自行车修理498问》", 31 August 2014, 金盾出版社 * |
负有名: "《电影放映技术词典》", 28 February 1987, 湖北辞书出版社 * |
阿细: "民用的数字接口SPDIF", 《电声技术》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205544400U (en) | Battery management system of low -power consumption standby | |
CN105376389A (en) | Voice wake-up method and device | |
CN103822667A (en) | Temperature-humidity acquisition system based on Bluetooth technology | |
CN107957547A (en) | A kind of D.C. contactor detecting system | |
CN105703021B (en) | The battery management system and battery management system awakening method of low-power consumption standby | |
TWI621947B (en) | Method for controlling audio device and system thereof | |
CN110351648A (en) | The detection method of signal deteching circuit and SPDIF fiber-optic signal | |
CN106340948B (en) | A kind of three power supply automatic switchover circuits | |
CN207352637U (en) | A kind of embedded fingerprint identification device of super-low standby power consumption | |
CN107396273A (en) | A kind of detection circuit and its detection method and device for broadcasting audio amplifier | |
CN109982419B (en) | Wireless wake-up circuit | |
CN203100774U (en) | Bluetooth hygrothermograph | |
CN111179924A (en) | Method and system for optimizing awakening performance based on mode switching | |
GB2389759A (en) | A signal processing system and method | |
CN115986895A (en) | Charging state control method and electronic device | |
CN112185426B (en) | Voice endpoint detection equipment and method | |
CN210111685U (en) | Fast response circuit for power switching | |
CN203799644U (en) | Power grid frequency database-based audio evidence-taking device | |
CN111339013A (en) | USB and UART line switching method and device | |
CN209462620U (en) | A kind of wireless awakening circuit | |
CN113808585A (en) | Earphone awakening method, device, equipment and storage medium | |
CN203870643U (en) | RFID reader-writer for self-test and self-adjustment of transmit power | |
CN105979094A (en) | Mobile terminal and temperature protection method thereof | |
CN206281897U (en) | A kind of voltage jump detects circuit | |
CN206546405U (en) | New small current system is grounded microcomputer line selection apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191018 |
|
RJ01 | Rejection of invention patent application after publication |