[go: up one dir, main page]

CN103685107B - Method and device for eliminating direct current component - Google Patents

Method and device for eliminating direct current component Download PDF

Info

Publication number
CN103685107B
CN103685107B CN201310690422.1A CN201310690422A CN103685107B CN 103685107 B CN103685107 B CN 103685107B CN 201310690422 A CN201310690422 A CN 201310690422A CN 103685107 B CN103685107 B CN 103685107B
Authority
CN
China
Prior art keywords
synchronous code
component
orthogonal vectors
waveform
code
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.)
Active
Application number
CN201310690422.1A
Other languages
Chinese (zh)
Other versions
CN103685107A (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.)
Datang Microelectronics Technology Co Ltd
Original Assignee
Datang Microelectronics Technology 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 Datang Microelectronics Technology Co Ltd filed Critical Datang Microelectronics Technology Co Ltd
Priority to CN201310690422.1A priority Critical patent/CN103685107B/en
Publication of CN103685107A publication Critical patent/CN103685107A/en
Application granted granted Critical
Publication of CN103685107B publication Critical patent/CN103685107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

The invention provides a method and device for eliminating a direct current component and relates to the field of communication. The problem that an existing direct current component calculation mode is low in efficiency is solved. The method comprises the steps that a synchronous code is detected; according to an orthogonal vector of the synchronous code which is obtained through detection, the direct current component of a current receiving waveform is calculated; the direct current component obtained through calculation is eliminated from the following waveform of the synchronous code. According to the technical scheme, the method and device for eliminating the direct current component are suitable for digital intercoms and the direct current component can be eliminated accurately in real time.

Description

DC component elimination method and device
Technical field
The present invention relates to the communications field, the DC component elimination method under more particularly, to a kind of dpmr scheme and device.
Background technology
Follow-up investigation to Digital Radio intercommunication technology and market shows, is within 2008 to 2013 that simulation switchs to numeral Conversion period.Will turn to the digital intercom of low cost in this major part market in stage, and dpmr is it is nowadays accepted that business right Say best solution.It will replace analog-interphone terminal to be applied to various fields, realizes short-haul call, data transfer Etc. function.Because digital handset uses 4fsk modulation-demodulation technique, before receiving judgement, need to dynamically remove straight in waveform Flow component,
In existing technical scheme, calculated dynamically using the lead code before synchronous code fs1 in agreement frame structure head frame DC component, and it is applied to this call with this value replacement calibration value.Currently existing scheme utilizes lead code (9 5f in head frame Sine wave) calculating dynamic DC component, because an air time is longer, affected by noise in data transmission procedure, ripple Shape can fluctuate, and DC component also changes therewith, and above-mentioned dynamic DC component is applied to whole communication process will certainly be made Become the raising of the bit error rate;Furthermore, in voice superframes and tail frame, do not have sine wave as lead code it is impossible to use according to lead code meter The method calculating DC component.
To sum up, existing DC component calculation is less efficient, leads to not accurately and effectively in whole data transfer During reject DC component.
Content of the invention
The invention provides a kind of DC component elimination method and device, solve existing DC component calculation effect The relatively low problem of rate.
A kind of DC component elimination method, comprising:
Detection synchronous code;
The orthogonal vectors of the described synchronous code being obtained according to detection calculate the current DC component receiving waveform;
Calculated described DC component is rejected from the subsequent waveform of described synchronous code.
Preferably, described synchronous code is dpmr digital handset synchronous code.
Preferably, the orthogonal vectors of the described described synchronous code being obtained according to detection calculate the current direct current receiving waveform and divide Amount includes:
Calculate the orthogonal vectors of described synchronous code;
According to the described current DC component receiving waveform of following formula calculating:
Dc=c/ σ v,
Wherein, dc be DC component, v is the orthogonal vectors of described synchronous code, c be currently receive synchronous code waveform with described The scalar product of the orthogonal vectors of synchronous code.
Preferably, the orthogonal vectors calculating described synchronous code include:
Using the orthogonal vectors asking singular value function svd to calculate described synchronous code.
Present invention also offers a kind of DC component device for eliminating, comprising:
Synchronous code detection module, for detecting synchronous code;
DC component computing module, the orthogonal vectors of the described synchronous code for being obtained according to detection calculate current received wave The DC component of shape;
DC component reject module, for by calculated described DC component from the subsequent waveform of described synchronous code Reject.
Preferably, described DC component computing module includes:
Orthogonal vectors computing unit, for calculating the orthogonal vectors of described synchronous code;
DC component computing unit, for according to the described current DC component receiving waveform of following formula calculating:
Dc=c/ σ v,
Wherein, dc be DC component, v is the orthogonal vectors of described synchronous code, c be currently receive synchronous code waveform with described The scalar product of the orthogonal vectors of synchronous code.
Preferably, described orthogonal vectors computing unit, asks singular value function svd to calculate described synchronous code specifically for using Orthogonal vectors.
The invention provides a kind of DC component elimination method and device, detect synchronous code first, then according to detecting The orthogonal vectors of the described synchronous code arriving calculate the current DC component receiving waveform, then by calculated described DC component Reject from the subsequent waveform of described synchronous code.Achieve accurately DC component rejecting in real time, solve existing direct current and divide The less efficient problem of amount calculation.
Brief description
Fig. 1 is the frame structure schematic diagram of fs1;
Fig. 2 is the frame structure schematic diagram of fs2;
Fig. 3 is the frame structure schematic diagram of fs3;
Fig. 4 is the frame structure schematic diagram of fs4;
A kind of flow chart of DC component elimination method that Fig. 5 provides for embodiments of the invention one;
A kind of structural representation of DC component device for eliminating that Fig. 6 provides for embodiments of the invention two;
Fig. 7 is the structural representation of DC component computing module 602 in Fig. 6.
Specific embodiment
In existing technical scheme, calculated dynamically using the lead code before synchronous code fs1 in agreement frame structure head frame DC component, and it is applied to this call with this value replacement calibration value.Currently existing scheme utilizes lead code (9 5f in head frame Sine wave) calculating dynamic DC component, because an air time is longer, affected by noise in data transmission procedure, ripple Shape can fluctuate, and DC component also changes therewith, and above-mentioned dynamic DC component is applied to whole communication process will certainly be made Become the raising of the bit error rate;Furthermore, in voice superframes and tail frame, do not have sine wave as lead code it is impossible to use according to lead code meter The method calculating DC component.
In order to solve the above problems, The embodiment provides a kind of DC component elimination method and device.Hereafter In embodiments of the present invention will be described in detail with reference to the accompanying drawings.It should be noted that in the case of not conflicting, the application In embodiment and the feature in embodiment can mutually be combined.
Combine accompanying drawing first, embodiments of the invention one are illustrated.
Embodiments provide a kind of DC component elimination method, the application scenarios of the embodiment of the present invention are as follows:
Dpmr digital handset adopt fdma(frequency division multiple access) access way, modulation system adopt 4fsk(level Four frequency displacement Keying).
Before receiving judgement, need to dynamically remove the DC component in waveform.The orthogonal of synchronous code is utilized in the embodiment of the present invention Vector, to calculate dynamic DC component, can guarantee that the instantaneity of direct current component value, can effectively reduce the bit error rate.
Introduce the synchronous code of dpmr first.
Dpmr digital handset synchronous code has 4 kinds, and respectively fs1, fs2, fs3 and fs4, wherein fs1 are used for head frame (frame knot Structure is shown in Fig. 1), fs2 is used for voice superframes (Fig. 2 is shown in by frame structure), and fs3 is used for tail frame (Fig. 3 is shown in by frame structure), and fs4 is used for packet Head frame (Fig. 4 is shown in by frame structure).
Affected by noise in data transmission procedure, waveform can fluctuate, and needs the dynamic DC component of instant computing.This Bright embodiment calculates DC component using the orthogonal vectors of synchronous code, and idiographic flow is as shown in Figure 5, comprising:
Step 501, detection synchronous code;
In this step, involved synchronous code can be any one in fs1, fs2, fs3 and fs4.
Step 502, the orthogonal vectors of the described synchronous code being obtained according to detection calculate the current DC component receiving waveform;
In this step, calculate the orthogonal vectors of this synchronous code first, specifically, singular value letter can be sought by using matlab Number svd calculates and gets.
Then it is assumed that the synchronous code waveform receiving is fs+dc, dc is DC component, and v is the orthogonal vectors of fs, according to Following algorithm obtains expression formula one:
∵ σ fs × v=0
∴ dc=c/ σ v expression formula one
Step 503, calculated described DC component is rejected from the subsequent waveform of described synchronous code.
Below in conjunction with the accompanying drawings, embodiments of the invention two are illustrated.
Embodiments provide a kind of DC component device for eliminating, the structure of this device is as shown in Figure 6, comprising:
Synchronous code detection module 601, for detecting synchronous code;
DC component computing module 602, the orthogonal vectors of the described synchronous code for being obtained according to detection calculate and currently connect Receive the DC component of waveform;
DC component reject module 603, for by calculated described DC component from the subsequent ripple of described synchronous code Reject in shape.
Wherein, described DC component computing module 602 structure as shown in fig. 7, comprises:
Orthogonal vectors computing unit 6021, for calculating the orthogonal vectors of described synchronous code;
DC component computing unit 6022, divides for calculating the described current direct current receiving waveform according to following formula Amount:
Dc=c/ σ v,
Wherein, dc be DC component, v is the orthogonal vectors of described synchronous code, c be currently receive synchronous code waveform with described The scalar product of the orthogonal vectors of synchronous code.
Assume that the current synchronous code waveform that receives is x={ x1,x2,…,xn, the orthogonal vectors of synchronous code are v={ v1, v2,…,vn, then currently receive the scalar product c=x v=x of synchronous code waveform and the orthogonal vectors of synchronous code1×v1+x2×v2 +…+xn×vn.
Preferably, described orthogonal vectors computing unit 6021, specifically for described same using asking singular value function svd to calculate The orthogonal vectors of step code.
The embodiment provides a kind of DC component elimination method and device, detect synchronous code, Ran Hougen first The orthogonal vectors of the described synchronous code obtaining according to detection calculate the current DC component receiving waveform, then will be calculated described DC component is rejected from the subsequent waveform of described synchronous code.Achieve accurately DC component rejecting in real time, solve existing The less efficient problem of DC component calculation.
The technical scheme being provided using embodiments of the invention all can be accurate to the synchronous code of sine wave or non-sinusoidal waveform Be calculated dynamic DC component, and by calculated DC component be used for synchronous code followed by waveform, such as head frame, tail frame Deng, can effectively reduce the bit error rate, fixing decision threshold can be determined according to the amplitude receiving waveform, thus not by receiving number Impact according to waveform fluctuation.
One of ordinary skill in the art will appreciate that all or part of step of above-described embodiment can use computer journey Realizing, described computer program can be stored in a computer-readable recording medium sequence flow process, and described computer program exists (as system, unit, device etc.) execution on corresponding hardware platform, upon execution, including embodiment of the method step it One or a combination thereof.
Alternatively, all or part of step of above-described embodiment can also be realized using integrated circuit, and these steps can To be fabricated to integrated circuit modules one by one respectively, or the multiple modules in them or step are fabricated to single integrated electricity Road module is realizing.So, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in above-described embodiment can be realized using general computing device, it Can concentrate on single computing device it is also possible to be distributed on the network that multiple computing devices are formed.
Each device/functional module/functional unit in above-described embodiment realized using in the form of software function module and as When independent production marketing or use, can be stored in a computer read/write memory medium.Computer mentioned above Read/write memory medium can be read-only storage, disk or CD etc..
Any those familiar with the art the invention discloses technical scope in, can readily occur in change or Replace, all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the guarantor described in claim Shield scope is defined.

Claims (5)

1. a kind of DC component elimination method is it is characterised in that include:
Detection synchronous code;
The orthogonal vectors of the described synchronous code being obtained according to detection calculate the current DC component receiving synchronous code waveform, comprising: Calculate the orthogonal vectors of described synchronous code;According to the described current DC component receiving synchronous code waveform of following formula calculating:
Dc=c/ ∑ v,
Wherein, dc is DC component, and v is the orthogonal vectors of described synchronous code, and c is currently to receive synchronous code waveform and described synchronization The scalar product of the orthogonal vectors of code, is x={ x for the current synchronous code waveform that receives1,x2,…,xn, the orthogonal vectors of synchronous code For v={ v1,v2,…,vn, then currently receive the scalar product c=x v=x of synchronous code waveform and the orthogonal vectors of synchronous code1× v1+x2×v2+…+xn×vn
Calculated described DC component is rejected from the subsequent waveform of described synchronous code.
2. DC component elimination method according to claim 1 is it is characterised in that described synchronous code is dpmr digital intercom Machine synchronous code.
3. DC component elimination method according to claim 1 is it is characterised in that calculate the orthogonal vectors of described synchronous code Including:
Using the orthogonal vectors asking singular value function svd to calculate described synchronous code.
4. a kind of DC component device for eliminating is it is characterised in that include:
Synchronous code detection module, for detecting synchronous code;
DC component computing module, the orthogonal vectors of the described synchronous code for being obtained according to detection calculate current reception synchronous code The DC component of waveform, described DC component computing module includes orthogonal vectors computing unit and DC component computing unit, its In:
Orthogonal vectors computing unit, for calculating the orthogonal vectors of described synchronous code;
DC component computing unit, for according to the described current DC component receiving synchronous code waveform of following formula calculating:
Dc=c/ ∑ v,
Wherein, dc is DC component, and v is the orthogonal vectors of described synchronous code, and c is currently to receive synchronous code waveform and described synchronization The scalar product of the orthogonal vectors of code, is x={ x for the current synchronous code waveform that receives1,x2,…,xn, the orthogonal vectors of synchronous code For v={ v1,v2,…,vn, then currently receive the scalar product c=x v=x of synchronous code waveform and the orthogonal vectors of synchronous code1× v1+x2×v2+…+xn×vn
DC component rejects module, for picking calculated described DC component from the subsequent waveform of described synchronous code Remove.
5. DC component device for eliminating according to claim 4, it is characterised in that described orthogonal vectors computing unit, has Body is used for using the orthogonal vectors asking singular value function svd to calculate described synchronous code.
CN201310690422.1A 2013-12-16 2013-12-16 Method and device for eliminating direct current component Active CN103685107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310690422.1A CN103685107B (en) 2013-12-16 2013-12-16 Method and device for eliminating direct current component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310690422.1A CN103685107B (en) 2013-12-16 2013-12-16 Method and device for eliminating direct current component

Publications (2)

Publication Number Publication Date
CN103685107A CN103685107A (en) 2014-03-26
CN103685107B true CN103685107B (en) 2017-01-18

Family

ID=50321453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310690422.1A Active CN103685107B (en) 2013-12-16 2013-12-16 Method and device for eliminating direct current component

Country Status (1)

Country Link
CN (1) CN103685107B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5881046A (en) * 1994-03-16 1999-03-09 Kabushiki Kaisha Toshiba Signal recording apparatus for recording a synchronous and cancel code on a recording medium
CN102437900A (en) * 2011-12-28 2012-05-02 大唐微电子技术有限公司 Digital interphone and method for reducing error rate of digital interphone
CN103338173A (en) * 2013-06-04 2013-10-02 深圳市力同亚太科技有限公司 A method and an apparatus for recovering code elements
CN103428131A (en) * 2013-09-03 2013-12-04 天津七一二通信广播有限公司 Method for calculating dc components and judgment threshold in DMR communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5881046A (en) * 1994-03-16 1999-03-09 Kabushiki Kaisha Toshiba Signal recording apparatus for recording a synchronous and cancel code on a recording medium
CN102437900A (en) * 2011-12-28 2012-05-02 大唐微电子技术有限公司 Digital interphone and method for reducing error rate of digital interphone
CN103338173A (en) * 2013-06-04 2013-10-02 深圳市力同亚太科技有限公司 A method and an apparatus for recovering code elements
CN103428131A (en) * 2013-09-03 2013-12-04 天津七一二通信广播有限公司 Method for calculating dc components and judgment threshold in DMR communication

Also Published As

Publication number Publication date
CN103685107A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN109074814B (en) Noise detection method and terminal equipment
CN108226921A (en) Secondary radar information processing system based on CPU and GPU architecture
CN109152005A (en) A kind of uplink beam indicating means, UE, base station and storage medium
US20220286252A1 (en) Reference signal sending method and transmitter
CN109729556A (en) Link connection method and related device
CN109981676A (en) One kind being based on the customized Internet of Things information interacting method of binary system analysis protocol
US20240356819A1 (en) Communication method and apparatus, and related device
Singh et al. Toward intelligent reconfigurable wireless physical layer (PHY)
CN111626338B (en) Cloud environment matching method, device, equipment and medium based on fusion classification model
CN114095110A (en) Method and system for improving synchronism of spectrum data transmission
CN115085829B (en) Sensitivity testing method and electronic equipment under multipath fading interference
CN103685107B (en) Method and device for eliminating direct current component
CN105323053B (en) The method and device of business clock transparent transmission
CN105277957B (en) The method, apparatus and electronic equipment of a kind of electronic equipment positioning
CN111934729B (en) Uplink element transmission power determining method, device, equipment and storage medium
WO2021051416A1 (en) Reference signal sending method, receiving method, apparatus and system
CN111586514A (en) TWS earphone control method, TWS earphone and related equipment
CN106304126B (en) A kind of determination method and device of transmission mode
CN103428131B (en) A kind of DC component and computational methods of decision threshold in DMR communicates
CN101577598A (en) Multiple signal multiplexing and demultiplexing methods, devices and systems
WO2017054514A1 (en) Pilot frequency configuration method and device
CN102332975A (en) Method and device for self-adaptively sampling interface
CN113852431A (en) Method, communication device and storage medium for determining pilot power
CN115087004B (en) Uplink signal detection method and device for flexible frame structure simulation system
CN101984696B (en) Detection method and detection device for different format frames in wireless local area network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant