CN104796107B - Automobile square-wave signal gathers adaptation method and collection adapter - Google Patents
Automobile square-wave signal gathers adaptation method and collection adapter Download PDFInfo
- Publication number
- CN104796107B CN104796107B CN201510226549.7A CN201510226549A CN104796107B CN 104796107 B CN104796107 B CN 104796107B CN 201510226549 A CN201510226549 A CN 201510226549A CN 104796107 B CN104796107 B CN 104796107B
- Authority
- CN
- China
- Prior art keywords
- square
- automobile
- wave signal
- gear
- wave
- 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
Links
Landscapes
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
Automobile square-wave signal gathers adaptation method and collection adapter, is related to the collection field of automobile square-wave signal.Solve the problem of automobile travel recorder can not gather the square-wave signal of automobile output and lead to not install.Gather automobile speed signal, and classification judgement is carried out to the automobile speed signal, judge the corresponding gear of the automobile speed signal, GES is divided into by third gear square-wave signal according to the corresponding gear of automobile speed signal, corresponding comparison voltage is obtained after being handled accordingly respectively third gear square wave again, the square-wave signal of corresponding standard low and high level is exported after automobile speed signal is compared with corresponding comparison voltage respectively, the square-wave signal is the standard block matched with automobile travel recorder, and the standard block is inputted to automobile travel recorder.The present disclosure additionally applies for the occasion that other need to be converted to standard block.
Description
Technical field
The present invention relates to the collection field of automobile square-wave signal, more particularly to a kind of side of just automobile output in use
The collection of ripple signal.
Background technology
The square-wave signal of the automobile that dispatches from the factory output is all the standard block by calibration, and the high level of standard block is 12V, low
Level is 0V.This standard block signal, it is easy to gather.But pass through long-term use, due to the output of a variety of causes automobile
Square wave be distorted.By actual test, many just square-wave signals of automobile output in use, high level is only 1V,
Low level is 0.3V;Sometimes there is also high level is the automobile square-wave signal that 12V low levels are 5V.Such square wave is general
Instrument can not be gathered.
At present, country widelys popularize automobile travel recorder, and the automobile instrument panel that this instrument is typically mounted at automobile is attached
Closely, to facilitate traffic police.The automobile of several years is much used, because automobile square-wave signal is not standard block, garage
Automobile square-wave signal can not be gathered by sailing recorder, so that cause effectively to install, to promoting the use of for automobile travel recorder,
Certain difficulty is brought, the puzzlement of user is also increased.
The content of the invention
The present invention in order to solve automobile travel recorder can not gather automobile output square-wave signal and lead to not install
The problem of, it is proposed that automobile square-wave signal gathers adaptation method and collection adapter.
Automobile square-wave signal gathers adaptation method, and this method comprises the steps:Automobile speed signal is gathered, and to the vapour
Car GES carries out classification judgement, judges the corresponding gear of the automobile speed signal, and the gear is I grade, II grade and III
Shelves, are divided into third gear square-wave signal, then third gear square wave is carried out respectively according to the corresponding gear of automobile speed signal by GES
Corresponding comparison voltage is obtained after corresponding processing, is respectively compared automobile speed signal and corresponding comparison voltage rear defeated
Go out the square-wave signal of corresponding standard low and high level, the square-wave signal is the standard block matched with automobile travel recorder,
The standard block is inputted to automobile travel recorder;The third gear square-wave signal is I grade of square wave, II grade of square wave and III grade of square wave.
The collection automobile speed signal, and classification judgement is carried out to the automobile speed signal, judge the automobile speed
The process of the corresponding gear of signal is:
By the automobile speed signal x according to formulaProcessing, 0≤x≤12;
IfThen judge the digitized automobile speed signals assignment received as I grade of square wave;
IfThen judge the digitized automobile speed signals assignment received as II grade of square wave;
IfThen judge the digitized automobile speed signals assignment received as III grade of square wave.
It is described that GES is divided into by third gear square-wave signal according to the corresponding gear of automobile speed signal, then to third gear square wave
Corresponding comparison voltage is obtained after being handled accordingly respectively, its detailed process is:
For I grade of square wave, when automobile speed signal is more than 0.5V, output comparison voltage is 0.9V, otherwise exports 12V;
For II grade of square wave, when automobile speed signal is more than 7V, output comparison voltage is 6V, otherwise exports 12V;
For III grade of square wave, square-wave signal is directly exported as comparison voltage, while by filter capacitor to comparison voltage
It is filtered processing.
It is described automobile speed signal is compared with corresponding comparison voltage respectively after export corresponding standard height electricity
Flat square-wave signal, its comparison procedure is:
When automobile speed signal is more than comparison voltage, high level is exported;When automobile speed signal is less than comparison voltage,
Low level is exported, the square wave being made up of high level and low level is the square-wave signal of standard low and high level.
Automobile square-wave signal gathers adapter, and it includes signal gathering unit 1, A/D converting units 2, CPU
3rd, gear processing unit 4 and standard block converting unit 5;
Signal gathering unit 1 is used to gather automobile speed signal, and the automobile speed signal is inputted to A/D converting units
2;
A/D converting units 2 are used to the automobile speed signal being converted to digitized automobile speed signal;
CPU 3 judges the digitized automobile for judging digitized automobile speed signal
The ownership gear of GES, and correspondence is belonged to the standard threshold of the digitized automobile speed signal and corresponding gear of gear
After being compared, the automobile speed signal of the corresponding gear of correspondence is obtained, then by the automobile speed signal of the corresponding gear of the correspondence
Export to gear processing unit 4;The ownership gear includes third gear:I grade of square wave is low level shelves, i.e. 0V~1V grades;II grade of side
Ripple is high level shelves, i.e. 5V~12V grades;III grade of square wave is interference square wave shelves, i.e., where the square wave influenceed by superposition small-pulse effect
Gear;
Gear processing unit 4 is used to be carried out obtaining after handling accordingly according to the automobile speed signal of the corresponding gear of the correspondence
The corresponding comparison voltage arrived, and export to standard block converting unit 5;
Standard block converting unit 5 is used for corresponding comparison voltage and automobile to being obtained after the processing of gear processing unit 4
GES is compared, the low and high level of outputting standard after comparing.
Automobile square-wave signal gathers adapter, and it also includes gear display unit 6, and gear display unit 6 is used in
The ownership gear that Central Processing Unit 3 judges shows corresponding gear lamp.
Automobile square-wave signal gather adapter, it also include shell, the signal gathering unit 1, A/D converting units 2, in
Central Processing Unit 3, gear processing unit 4 and standard block converting unit 5 are respectively positioned in shell.
Automobile square-wave signal collection adaptation method and collection adapter of the present invention, the Automobile of collection automobile output
Fast signal, the automobile speed signal is converted to digital automobile GES by A/D converting units, then inputs again to center
Processing unit, 250 parts are divided into through the CPU, are then compared and are obtained which grade side the automobile speed signal belongs to
Ripple.IfThen judge the digitized automobile speed signals assignment received as I grade of square wave;IfThen judge the digitized automobile speed signals assignment received as II grade of square wave;IfThen judge the digitized automobile speed signals assignment received as III grade of square wave.Automobile speed is judged
Which grade square wave signal belongs to after, lights corresponding gear display lamp and exports to gear processing unit, gear processing unit is directed to
Different gear square waves are handled accordingly, finally export corresponding comparison voltage, and the comparison voltage turns as standard block
The comparison signal of unit is changed, is compared with automobile speed signal, when automobile speed signal is higher than comparison voltage, standard block
Comparator output high level 12V in converting unit;When automobile speed signal is less than comparison voltage, standard block converting unit
In comparator output low level 0V;So that the signal of output is low level 0V, high level 12V square wave, meet running car
The standard block signal of recorder.
Automobile square-wave signal collection adapter of the present invention is that automobile is exported and offer between automobile travel recorder
Good adaptation unit so that even if the square wave of automobile output is not standard block, the square wave that automobile is exported can be also converted to
Matched after standard block with automobile travel recorder.The present invention is applied to various vehicles, can quickly differentiate various square waves, selects
Corresponding square wave collection adapter is selected, the effective installation and work of automobile travel recorder is realized.
The automobile gears that automobile itself is carried are I grade, II grade, III grade, the different output voltage of every grade of correspondence, yet with
The voltage that a variety of causes causes automobile gears to export is not the voltage of standard.After adapter of the present invention is corrected
Normal voltage is obtained, guarantee is provided for the installation of automobile travel recorder.
The present disclosure additionally applies for the occasion that other need to be converted to standard block.
Brief description of the drawings
Fig. 1 is the principle schematic that automobile square-wave signal gathers adapter;
Fig. 2 be embodiment eight in embodiment CPU schematic diagram;
Fig. 3 be embodiment eight in embodiment gear processing unit schematic diagram;
Fig. 4 be embodiment eight in embodiment standard block converting unit schematic diagram;
Fig. 5 be embodiment eight in embodiment gear display unit schematic diagram;
Fig. 6 be embodiment eight in embodiment physical circuit annexation figure.
Embodiment
Automobile square-wave signal collection adaptation method described in embodiment one, present embodiment, under this method includes
State step:Automobile speed signal is gathered, and classification judgement is carried out to the automobile speed signal, the automobile speed signal pair is judged
The gear answered, the gear is I grade, II grade and III grade, and GES is divided into three according to automobile speed signal corresponding gear
Shelves square-wave signal, then corresponding comparison voltage is obtained after being handled accordingly respectively third gear square wave, respectively by automobile speed
Signal exports the square-wave signal of corresponding standard low and high level after being compared with corresponding comparison voltage, the square-wave signal is
The standard block matched with automobile travel recorder, the standard block is inputted to automobile travel recorder;The third gear square wave letter
Number be I grade of square wave, II grade of square wave and III grade of square wave.
The third gear square-wave signal is I grade of square wave, II grade of square wave and III grade of square wave;I grade of square wave refers to automobile speed signal
It is low level shelves for the square wave between 0V~1V;II grade of square wave refers to that automobile speed signal is the square wave between 5V~12V, is
High level shelves;III grade of square wave is interference square wave shelves, i.e., gear where the square wave influenceed by superposition small-pulse effect.
Embodiment two, present embodiment are to gather adaptation to the automobile square-wave signal described in embodiment one
Further illustrating for method, it is described to gather automobile speed signal in present embodiment, and the automobile speed signal is classified
Judge, judge the process of the corresponding gear of the automobile speed signal as:
By the automobile speed signal x according to formulaProcessing, 0≤x≤12;
IfThen judge the digitized automobile speed signals assignment received as I grade of square wave;
IfThen judge the digitized automobile speed signals assignment received as II grade of square wave;
IfThen judge the digitized automobile speed signals assignment received as III grade of square wave.
Embodiment three, present embodiment are to gather adaptation to the automobile square-wave signal described in embodiment one
Further illustrating for method, it is described that GES is divided into three according to automobile speed signal corresponding gear in present embodiment
Shelves square-wave signal, then corresponding comparison voltage is obtained after being handled accordingly respectively third gear square wave, its detailed process is:
For I grade of square wave, when automobile speed signal is more than 0.5V, output comparison voltage is 0.9V, otherwise exports 12V;
For II grade of square wave, when automobile speed signal is more than 7V, output comparison voltage is 6V, otherwise exports 12V;
For III grade of square wave, square-wave signal is directly exported as comparison voltage, while by filter capacitor to comparison voltage
It is filtered processing.
For the square-wave signal of III grade of square wave output, it is filtered using filter capacitor, is to filter out influence side
The superposition small-pulse effect of ripple.
Embodiment four, present embodiment are to gather adaptation to the automobile square-wave signal described in embodiment one
Further illustrating for method, it is described to be respectively compared automobile speed signal with corresponding comparison voltage in present embodiment
The square-wave signal of corresponding standard low and high level is exported afterwards, and its comparison procedure is:
When automobile speed signal is more than comparison voltage, high level is exported;When automobile speed signal is less than comparison voltage,
Low level is exported, the square wave being made up of high level and low level is the square-wave signal of standard low and high level.
With reference to embodiment three to four, if automobile speed signal is I grade of square wave, it is low electricity to illustrate the automobile speed signal
Ordinary mail number, automobile travel recorder can not be obtained, and cause automobile travel recorder can not install and work.Therefore, one is set
Standard threshold is 0.5V, and provides that the automobile speed signal only more than 0.5V could be exported, so by the automobile speed of output
Then signal limiting exports comparison voltage between 0.5V~1V, and the comparison voltage is entered after partial pressure with automobile speed signal
Row compares, and when the magnitude of voltage of automobile speed signal is more than comparison voltage, high level 12V is exported, when the electricity of automobile speed signal
When pressure value is less than comparison voltage, low level 0V is exported.
The comparison voltage by partial pressure is realized by the way of electric resistance partial pressure.
Similarly, if automobile speed signal is II grade of square wave, it is high level signal, garage to illustrate the automobile speed signal
Sailing recorder can not obtain, and cause automobile travel recorder can not install and work.Therefore, it is 7V to set a standard threshold,
And provide that the automobile speed signal only more than 7V could be exported, so by the automobile speed signal limiting of output in 7V~12V
Between, comparison voltage is then exported, the comparison voltage is compared after partial pressure with automobile speed signal, when automobile speed letter
Number magnitude of voltage be more than comparison voltage when, export high level 12V, when automobile speed signal magnitude of voltage be less than comparison voltage when,
Export low level 0V.
If automobile speed signal is III grade of square wave, it is the side influenceed by superposition small-pulse effect to illustrate the automobile speed signal
Ripple, automobile travel recorder can not be obtained, and cause automobile travel recorder can not install and work.Therefore, a standard is set
Filter capacitor, exports comparison voltage after capacitor filtering after filtering, and the comparison voltage size is 0V, the comparison voltage 0V mono- of output
Surely it is less than the magnitude of voltage of automobile speed signal, then exports low level 0V.
Summarize above three process:The square wave high level finally obtained is 12V, and low level is 0V, meets running car note
Within the scope of the normal acquisition for recording instrument, enable automobile travel recorder normal mounting.
Embodiment five, reference picture 1 illustrate present embodiment, the automobile square-wave signal described in present embodiment
Adapter is gathered, it includes signal gathering unit 1, A/D converting units 2, CPU 3, gear processing unit 4 and standard
Square wave converting unit 5;
Signal gathering unit 1 is used to gather automobile speed signal, and the automobile speed signal is inputted to A/D converting units
2;
A/D converting units 2 are used to the automobile speed signal being converted to digitized automobile speed signal;
CPU 3 judges the digitized automobile for judging digitized automobile speed signal
The ownership gear of GES, and correspondence is belonged to the standard threshold of the digitized automobile speed signal and corresponding gear of gear
After being compared, the automobile speed signal of the corresponding gear of correspondence is obtained, then by the automobile speed signal of the corresponding gear of the correspondence
Export to gear processing unit 4;The ownership gear includes third gear:I grade of square wave is low level shelves, i.e. 0V~1V grades;II grade of side
Ripple is high level shelves, i.e. 5V~12V grades;III grade of square wave is interference square wave shelves, i.e., where the square wave influenceed by superposition small-pulse effect
Gear;
Gear processing unit 4 is used to be carried out obtaining after handling accordingly according to the automobile speed signal of the corresponding gear of the correspondence
The corresponding comparison voltage arrived, and export to standard block converting unit 5;
Standard block converting unit 5 is used for corresponding comparison voltage and automobile to being obtained after the processing of gear processing unit 4
GES is compared, the low and high level of outputting standard after comparing.
In present embodiment, the input of signal gathering unit 1 connects the GES output end of automobile, for gathering vapour
Car GES.The automobile speed signal that signal gathering unit 1 is gathered is exported after being digitally converted through A/D converting units 2
To CPU 3, CPU 3 is judged automobile speed signal, judges the automobile speed signal category of collection
In I grade of square wave, II grade of square wave or III grade of square wave.If it is determined that the automobile speed signal of collection belongs to I grade of square wave, II grade of square wave
Or III grade of square wave, then third gear square wave and every grade of standard threshold are compared;The standard threshold of I grade of square wave is 0.5V;II grade
The standard threshold of square wave is 7V;The standard threshold of III grade of square wave is 0V;After every grade of square wave is compared with corresponding standard threshold
Obtain the automobile speed signal of the corresponding gear of correspondence, then by the automobile speed signal output of the corresponding gear of obtained correspondence to gear
Processing unit 4, gear processing unit 4 carries out obtaining corresponding ratio after corresponding gear processing according to the respective notch square wave of acquisition
Compared with voltage.For I grade of square wave, the comparison voltage of output is 0.9V;For II grade of square wave, the comparison voltage of output is 6V;For
III grade of square wave, directly exports square-wave signal and is used as comparison voltage.The comparison voltage is exported to standard block converting unit 5, mark
Comparison voltage is compared with automobile speed signal in quasi-square wave converting unit 5, the low and high level composition of outputting standard after comparing
Standard block signal, the standard block signal is the square-wave signal that matches with automobile travel recorder.
Automobile square-wave signal collection adapter of the present invention is connected between automobile and automobile travel recorder, is solved
The problem of automobile travel recorder can not be efficiently mounted to due on the automobile that automobile square wave distorts caused by a variety of causes.
Embodiment six, present embodiment are to gather adaptation to the automobile square-wave signal described in embodiment five
Device is further illustrated, in present embodiment, and it also includes gear display unit 6, and gear display unit 6 is used for according to centre
The ownership gear that reason unit 3 judges shows corresponding gear lamp.
In present embodiment, the ownership shelves for the automobile speed signal that gear display unit 6 judges according to CPU 3
The corresponding gear lamp of position display, gear lamp is I grade of square wave modulation, II grade of square wave modulation and III grade of square wave modulation.The gear display unit 6 is same
When can point out human pilot automobile export square-wave signal respective notch, be easy to repair vehicle when provide ginseng for maintenance personal
Number scope.
Embodiment seven, present embodiment are to gather adaptation to the automobile square-wave signal described in embodiment five
Device is further illustrated, in present embodiment, and it also includes shell, the signal gathering unit 1, A/D converting units 2, center
Processing unit 3, gear processing unit 4 and standard block converting unit 5 are respectively positioned in shell.
Shell is used for for signal gathering unit 1, A/D converting units 2, CPU 3, gear processing unit 4 and mark
Quasi-square wave converting unit 5 provides a carrier, also allows for protecting various pieces, prevents from damaging.
Embodiment eight, present embodiment are one embodiment.It is specific as follows as shown in Fig. 2,3,4,5 and 6:
Signal gathering unit 1 is made up of sampling resistor R4 and R5, resistance R5 one end ground connection, R5 other end connection resistance
R4 one end, and resistance R4 one end A/D conversion signals for connecting A/D converting units 2 as A/D conversion signals output end input
End;The automobile speed signal input part of R4 other end connection standard block converting unit 5.
Inside the centrally located processing unit 3 of A/D converting units 2, belong to and be directly integrated in inside CPU, in figure
In 2,32 pin of CPU 3 are A/D changing over signal inputs.
The model MB90F497G_M09 processors of CPU 3, its peripheral circuit include electric capacity C11, C5, C13,
C12, C18, crystal oscillator E3, E5.
22 pin of CPU 3 connect electric capacity C11 one end and crystal oscillator E3 one end simultaneously;23 pin connect electricity simultaneously
Hold C5 one end and the crystal oscillator E3 other end;The electric capacity C11 other end and the electric capacity C5 other end are grounded simultaneously;24 pin are grounded;
The two ends of 15 pin of CPU 3 and 16 pin connection crystal oscillator E4;The one of crystal oscillator E4 one end connection electric capacity C13
End, crystal oscillator E4 other end connection electric capacity C12 one end;The electric capacity C13 other end and the electric capacity C12 other end are grounded simultaneously;
The 57 pin connection electric capacity C18 of CPU 3 one end, electric capacity C18 other end ground connection;56 pin connect power supply
VCC;
3 pin of CPU 3 are the input JDC-1 of I grade of square wave processing unit;4 pin of CPU 3 are
The input JDC-2 of II grade of square wave processing unit;The input JDC- of 5 pin, III grade of square wave processing unit of CPU 3
3;10 pin of CPU 3 are the input AA of I grade of square wave modulation;9 pin of CPU 3 are the defeated of II grade of square wave modulation
Enter to hold BB;8 pin of CPU 3 are the input CC of III grade of square wave modulation;
Gear processing unit 4 includes I grade of square wave processing unit, II grade of square wave processing unit and III grade of square wave processing unit;
I grade of square wave processing unit includes resistance R11, R7, triode VT1, diode VD1, relay KJ1 and resistance R1;
Resistance R11 one end connects 3 pin of CPU 3, and the resistance R11 other end connects resistance R7 one end and three poles simultaneously
Pipe VT1 base stage;Triode VT1 emitter stage connects the resistance R7 other end and ground simultaneously;Triode VT1 colelctor electrode is simultaneously
Connect one end of diode VD1 positive pole and relay KJ1 coil;Diode VD1 negative pole connect simultaneously power supply VCC and after
The other end of electrical equipment KJ1 coil;The end connection resistance R1 of relay KJ1 normally-closed contact one end;The resistance R1 other end
Ground connection;The comparison voltage that relay KJ1 normally opened contact end connects standard block converting unit 5 as comparison voltage output end is defeated
Enter end;
II grade of square wave processing unit includes resistance R12, R9, triode VT2, diode VD2, relay KJ2 and resistance R6;
Resistance R12 one end connects 4 pin of CPU 3, and the resistance R12 other end connects resistance R9 one end and three poles simultaneously
Pipe VT2 base stage;Triode VT2 emitter stage connects the resistance R9 other end and ground simultaneously;Triode VT2 colelctor electrode is simultaneously
Connect one end of diode VD2 positive pole and relay KJ2 coil;Diode VD2 negative pole connect simultaneously power supply VCC and after
The other end of electrical equipment KJ2 coil;The end connection resistance R6 of relay KJ2 normally-closed contact one end;The resistance R6 other end
Ground connection;The comparison voltage that relay KJ2 normally opened contact end connects standard block converting unit 5 as comparison voltage output end is defeated
Enter end;
III grade of square wave processing unit includes resistance R13, R10, triode VT3, diode VD3, relay KJ3, electric capacity
C20, resistance R2 and 12V power supply;Resistance R13 one end connects 5 pin of central processing unit 3;The resistance R13 other end is connected simultaneously
Resistance R10 one end and triode VT3 base stage;Triode VT3 emitter stage connects the resistance R10 other end and ground simultaneously;
Triode VT3 colelctor electrode connects one end of diode VD3 positive pole and relay KJ3 coil simultaneously;Diode VD3's is negative
Pole connects the other end of power supply VCC and relay KJ3 coil simultaneously;The end connection electric capacity C20 of relay KJ3 normally-closed contact
One end;Electric capacity C20 other end ground connection;Relay KJ3 normally opened contact end connects standard side as comparison voltage output end
The comparison voltage input of ripple converting unit 5;
The normally opened contact end at relay KJ1 normally opened contact end, relay KJ2 normally opened contact end and relay KJ3 is same
When connection resistance R2 one end;Resistance R2 other end connection power supply 12V.
The comparison voltage output end of gear processing unit 4 be relay KJ1 normally opened contact end, relay KJ2 it is normal
Open tip side and relay KJ3 normally opened contact end.
Standard block converting unit 5 include resistance R8, R3, diode VD4 and comparator D4A;Resistance R8 one end is simultaneously
Connect the resistance R4 other end and automobile speed signal end;Resistance R8 other end connection comparator D4A electrode input end;Than
Negative input compared with device D4A connects as comparison voltage input diode VD4 negative pole and gear processing unit 4 simultaneously
Comparison voltage output end;Diode D4A anode connects comparator D4A output end and resistance R3 one end simultaneously;Resistance R3
Other end connection comparator D4A power end;Comparator D4A earth terminal ground connection;Comparator D4A output end is used as standard
Square wave output end connects the square wave input end of automobile travel recorder.
Comparator D3A, D4A in the present invention use model LM339 chip.
Automobile square-wave signal collection adaptation method and collection adapter of the present invention, the Automobile of collection automobile output
Fast signal, the automobile speed signal is converted to digital automobile GES by A/D converting units, then inputs again to center
Processing unit, 250 parts are divided into through the CPU, are then compared and are obtained which grade side the automobile speed signal belongs to
Ripple.IfThen judge the digitized automobile speed signals assignment received as I grade of square wave;IfThen judge the digitized automobile speed signals assignment received as II grade of square wave;IfThen judge the digitized automobile speed signals assignment received as III grade of square wave.Automobile speed is judged
Which grade square wave signal belongs to after, lights corresponding gear display lamp, while being pressed into respectively with corresponding standard electric to third gear square wave
Row compares, and the automobile speed signal of the corresponding gear of correspondence is obtained more afterwards:
For I grade of square wave, established standardses threshold is 0.5V, and provides there was only the digitized of the output of CPU 3
Automobile speed signal is more than 0.5V and just allows to pass through, and the automobile speed signal of acquisition is 0.5V~1V;
For II grade of square wave, established standardses threshold is 7V, and provides the digitized vapour that only CPU 3 is exported
Car GES is more than 7V and just allows to pass through, and the automobile speed signal of acquisition is 7V~12V;
For III grade of square wave, filter capacitor is connected, the superposition small-pulse effect of influence square wave is filtered out;
By the automobile speed signal value output gear processing unit 4 of the above-mentioned corresponding gear obtained after relatively, gear
Processing unit 4 exports corresponding comparison voltage after treatment;Comparison voltage output valve standard block after partial pressure is changed
Unit 5;
Inside standard block converting unit 5, comparison voltage is compared after partial pressure with automobile speed signal, works as vapour
When car GES is higher than comparison voltage, the comparator output high level 12V in standard block converting unit;When automobile speed letter
When number being less than comparison voltage, the comparator output low level 0V in standard block converting unit;So that the signal of output is low electricity
Flat 0V, high level 12V square wave, meet the standard block signal of automobile travel recorder.
In the present embodiment, the comparison voltage that I grade of square wave is obtained after the processing of gear processing unit 4 is divided by resistance R2
The value obtained after pressure is 0.9V;The comparison voltage that II grade of square wave is obtained after the processing of gear processing unit 4 passes through standard block
The value obtained after resistance R2 partial pressures in converting unit is 6V;The ratio that III grade of square wave is obtained after the processing of gear processing unit 4
It is 0V compared with voltage.
When automobile speed signal is more than comparison voltage, comparator D4A output high level;When automobile speed signal be less than than
During compared with voltage, comparator D4A output low levels;The square wave being made up of the comparator D4A high level exported and low level is mark
Quasi-square wave.
Claims (6)
1. automobile square-wave signal gathers adaptation method, it is characterised in that this method comprises the steps:Gather automobile square wave letter
Number, and classification judgement is carried out to the automobile square-wave signal, the corresponding gear of the automobile square-wave signal is judged, according to automobile square wave
Square-wave signal is divided into third gear square-wave signal by the corresponding gear of signal, then is obtained after being handled accordingly respectively third gear square wave
Corresponding comparison voltage, exports corresponding standard height after automobile square-wave signal is compared with corresponding comparison voltage respectively
The square-wave signal of level, the square-wave signal is the standard block that is matched with automobile travel recorder, the standard block input to
Automobile travel recorder;The third gear square-wave signal is I grade of square wave, II grade of square wave and III grade of square wave;
The collection automobile square-wave signal, and classification judgement is carried out to the automobile square-wave signal, judge the automobile square-wave signal
The process of corresponding gear is:
By the automobile square-wave signal x according to formulaProcessing, 0≤x≤12;
IfThen judge that the digitized automobile square-wave signal received is attributed to I grade of square wave;
IfThen judge that the digitized automobile square-wave signal received is attributed to II grade of square wave;
IfThen judge that the digitized automobile square-wave signal received is attributed to III grade of square wave.
2. automobile square-wave signal according to claim 1 gathers adaptation method, it is characterised in that described according to automobile square wave
GES is divided into third gear square-wave signal by the corresponding gear of signal, then is obtained after being handled accordingly respectively third gear square wave
Corresponding comparison voltage, its detailed process is:
For I grade of square wave, when automobile square-wave signal is more than 0.5V, output comparison voltage is 0.9V, otherwise exports 12V;
For II grade of square wave, when automobile square-wave signal is more than 7V, output comparison voltage is 6V, otherwise exports 12V;
For III grade of square wave, square-wave signal is directly exported as comparison voltage, while being carried out by filter capacitor to comparison voltage
Filtering process.
3. automobile square-wave signal according to claim 1 gathers adaptation method, it is characterised in that described respectively by automobile side
Ripple signal exports the square-wave signal of corresponding standard low and high level, its comparison procedure after being compared with corresponding comparison voltage
For:
When automobile square-wave signal is more than comparison voltage, high level is exported;When automobile square-wave signal is less than comparison voltage, output
Low level, the square wave being made up of high level and low level is the square-wave signal of standard low and high level.
4. automobile square-wave signal gather adapter, it is characterised in that it include signal gathering unit (1), A/D converting units (2),
CPU (3), gear processing unit (4) and standard block converting unit (5);
Signal gathering unit (1) is used to gather automobile square-wave signal, and the automobile square-wave signal is inputted to A/D converting units
(2);
A/D converting units (2) are used to the automobile square-wave signal being converted to digitized automobile square-wave signal;
CPU (3) judges the digitized automobile side for judging digitized automobile square-wave signal
The ownership gear of ripple signal, and the standard threshold of the digitized automobile square-wave signal and corresponding gear of correspondence ownership gear is entered
After going relatively, the automobile square-wave signal of the corresponding gear of correspondence is obtained, then the automobile square-wave signal of the corresponding gear of the correspondence is defeated
Go out to gear processing unit (4);The ownership gear includes third gear:I grade of square wave is low level shelves, i.e. 0V~1V grades;II grade of side
Ripple is high level shelves, i.e. 5V~12V grades;III grade of square wave is interference square wave shelves, i.e., where the square wave influenceed by superposition small-pulse effect
Gear;
Gear processing unit (4) is used to be carried out obtaining after handling accordingly according to the automobile square-wave signal of the corresponding gear of the correspondence
Corresponding comparison voltage, and export to standard block converting unit (5);
Standard block converting unit (5) is used for corresponding comparison voltage and automobile to being obtained after gear processing unit (4) processing
Square-wave signal is compared, the low and high level of outputting standard after comparing.
5. automobile square-wave signal according to claim 4 gathers adapter, it is characterised in that it also includes gear and shows single
First (6), gear display unit (6) is used to show corresponding gear lamp according to the ownership gear that CPU (3) judges.
6. automobile square-wave signal according to claim 4 gathers adapter, it is characterised in that it also includes shell, described
Signal gathering unit (1), A/D converting units (2), CPU (3), gear processing unit (4) and standard block conversion
Unit (5) is respectively positioned in shell.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510226549.7A CN104796107B (en) | 2015-05-06 | 2015-05-06 | Automobile square-wave signal gathers adaptation method and collection adapter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510226549.7A CN104796107B (en) | 2015-05-06 | 2015-05-06 | Automobile square-wave signal gathers adaptation method and collection adapter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104796107A CN104796107A (en) | 2015-07-22 |
CN104796107B true CN104796107B (en) | 2017-10-27 |
Family
ID=53560667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510226549.7A Active CN104796107B (en) | 2015-05-06 | 2015-05-06 | Automobile square-wave signal gathers adaptation method and collection adapter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104796107B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201016988Y (en) * | 2007-03-16 | 2008-02-06 | 上海燃料电池汽车动力系统有限公司 | Hybrid power car rotary speed signal gathering and conditioning circuit |
CN101324634A (en) * | 2008-07-25 | 2008-12-17 | 清华大学 | Vehicle speed sensor with bus interface for vehicle |
CN201828572U (en) * | 2009-11-03 | 2011-05-11 | 天津市松正电动科技有限公司 | Automotive revolution speed signal acquisition and conditioning circuit |
CN102497178A (en) * | 2011-12-09 | 2012-06-13 | 綦江齿轮传动有限公司 | Circuit and method for processing rotating speed signal |
CN203190986U (en) * | 2013-05-02 | 2013-09-11 | 航天科技控股集团股份有限公司 | Vehicle frequency signal acquisition circuit |
CN103840800A (en) * | 2014-03-21 | 2014-06-04 | 航天科技控股集团股份有限公司 | Vehicle speed input collection circuit |
-
2015
- 2015-05-06 CN CN201510226549.7A patent/CN104796107B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201016988Y (en) * | 2007-03-16 | 2008-02-06 | 上海燃料电池汽车动力系统有限公司 | Hybrid power car rotary speed signal gathering and conditioning circuit |
CN101324634A (en) * | 2008-07-25 | 2008-12-17 | 清华大学 | Vehicle speed sensor with bus interface for vehicle |
CN201828572U (en) * | 2009-11-03 | 2011-05-11 | 天津市松正电动科技有限公司 | Automotive revolution speed signal acquisition and conditioning circuit |
CN102497178A (en) * | 2011-12-09 | 2012-06-13 | 綦江齿轮传动有限公司 | Circuit and method for processing rotating speed signal |
CN203190986U (en) * | 2013-05-02 | 2013-09-11 | 航天科技控股集团股份有限公司 | Vehicle frequency signal acquisition circuit |
CN103840800A (en) * | 2014-03-21 | 2014-06-04 | 航天科技控股集团股份有限公司 | Vehicle speed input collection circuit |
Also Published As
Publication number | Publication date |
---|---|
CN104796107A (en) | 2015-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102937688B (en) | Device open-circuit fault diagnosis circuit for diode neutral point clamped (NPC) three-level inverter | |
CN105774782B (en) | A kind of wheel speed transducing signal processing circuit and automobile ABS system | |
CN102346478B (en) | Circuit and method for detecting failures in data acquisition of overall controller of automobile | |
CN203929959U (en) | A kind of antenna of on-vehicle positioning terminal is opened short-circuit detecting device | |
CN109557359A (en) | Vehicle Iddq testing circuit | |
CN207215896U (en) | A kind of current detection circuit calculated based on SOC | |
CN106323412A (en) | High frequency interference-elimination type water level pre-warning system based on internet of things technology | |
CN104796107B (en) | Automobile square-wave signal gathers adaptation method and collection adapter | |
CN208126200U (en) | Intelligent terminal and grey scale tracking sensing module and grey scale sensor thereof | |
CN109856498A (en) | Battery harness detection circuit and detection method | |
CN203275432U (en) | Automobile engine speed measurement device | |
CN202793421U (en) | Signal processing device for passive wheel sensor | |
CN209692741U (en) | A kind of vehicle-mounted radio-frequency antenna diagnostic circuit and vehicle electronic device | |
CN207730912U (en) | A kind of on-board high-voltage insulation detection device | |
CN202102045U (en) | Filter capacitor voltage tester | |
CN208673181U (en) | Cable production drawing machine PCU Power Conditioning Unit | |
CN208421116U (en) | A kind of voltage induced formula protection against electric shock circuit and anti-electric shock apparatus | |
CN106090631A (en) | A kind of long oil pipeline road leak detecting device and detection method | |
CN208314522U (en) | A kind of new-energy automobile runs at a low speed warning mixer | |
CN209590112U (en) | A kind of small signal deteching circuit removing dead zone voltage | |
CN109884357A (en) | Electric energy meter and surge method of counting | |
CN207399164U (en) | Automobile-used automatically controlled system wake-up circuit | |
CN207894975U (en) | Woollen sweater processes defeathering detection device | |
CN107351687B (en) | Two-way vehicle-mounted charger and electric automobile | |
CN206132865U (en) | Electric field detection circuitry around electrified insulator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |