CN104796107A - Automobile square-wave signal acquisition adapting method and acquisition adapter - Google Patents

Automobile square-wave signal acquisition adapting method and acquisition adapter Download PDF

Info

Publication number
CN104796107A
CN104796107A CN201510226549.7A CN201510226549A CN104796107A CN 104796107 A CN104796107 A CN 104796107A CN 201510226549 A CN201510226549 A CN 201510226549A CN 104796107 A CN104796107 A CN 104796107A
Authority
CN
China
Prior art keywords
automobile
square
gear
speed signal
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.)
Granted
Application number
CN201510226549.7A
Other languages
Chinese (zh)
Other versions
CN104796107B (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.)
Aerospace Hi Tech Holding Group Co Ltd
Original Assignee
Aerospace Hi Tech Holding Group 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 Aerospace Hi Tech Holding Group Co Ltd filed Critical Aerospace Hi Tech Holding Group Co Ltd
Priority to CN201510226549.7A priority Critical patent/CN104796107B/en
Publication of CN104796107A publication Critical patent/CN104796107A/en
Application granted granted Critical
Publication of CN104796107B publication Critical patent/CN104796107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

The invention relates to the field of acquisition of automobile square-wave signals, in particular to an automobile square-wave signal acquisition adapting method and an acquisition adapter, and solves the problem that an automobile travelling data recorder is unable to acquire square-wave signals output by an automobile, causing failure of installation. The method includes: acquiring an automobile speed signal, judging class of the automobile speed signal, judging a gear corresponding to the automobile speed signal, dividing the automobile speed signal into three-level square-wave signals corresponding to the gear, subjecting the three-level square-wave signals to corresponding treatments to obtain comparison voltages, comparing the automobile speed signal with the corresponding comparison voltage, and outputting a square-wave signal of corresponding standard level, namely standard square wave matching with the automobile travelling data recorder, which is input into the automobile travelling data recorder. The automobile square-wave signal acquisition adapting method and the acquisition adapter are further suitable for places requiring conversion to standard square-wave.

Description

Automobile square-wave signal gathers adaptation method and gathers adapter
Technical field
The present invention relates to the collection field of automobile square-wave signal, particularly relate to the collection of the square-wave signal that a kind of automobile just in use exports.
Background technology
The square-wave signal that the automobile that dispatches from the factory exports all is through the standard block of calibration, and the high level of standard block is 12V, and low level is 0V.This standard block signal, is easy to gather.But be through long-term use, the square wave exported due to a variety of causes automobile distorts.Through actual test, much square-wave signals of exporting of automobile just in use, high level is only 1V, and low level is 0.3V; Sometimes also to there will be high level be 12V low level is the automobile square-wave signal of 5V.The instrument that such square wave is general cannot gather.
At present, country widelys popularize automobile travel recorder, and this instrument is generally arranged near the automobile instrument panel of automobile, to facilitate traffic police.A lot of automobile having used several years, because automobile square-wave signal is not standard block, automobile travel recorder cannot gather automobile square-wave signal, thus cause and cannot effectively install, promoting the use of to automobile travel recorder, brings certain difficulty, too increases the puzzlement of user.
Summary of the invention
The present invention cannot gather to solve automobile travel recorder the problem that square-wave signal and causing that automobile exports cannot install, and proposes automobile square-wave signal and gathers adaptation method and gather adapter.
Automobile square-wave signal gathers adaptation method, the method comprises the steps: to gather automobile speed signal, and classification judgement is carried out to this automobile speed signal, judge the gear that described automobile speed signal is corresponding, described gear is I grade, II grade and III grade, vehicle speed signal is divided into third gear square-wave signal by the gear corresponding according to automobile speed signal, corresponding comparative voltage is obtained after again third gear square wave being processed respectively accordingly, respectively automobile speed signal and corresponding comparative voltage are compared the rear square-wave signal exporting corresponding standard low and high level, this square-wave signal is the standard block mated with automobile travel recorder, this standard block inputs to automobile travel recorder, described third gear square-wave signal is I grade of square wave, II grade of square wave and III grade of square wave.
Described collection automobile speed signal, and to this automobile speed signal carry out classification judge, judge the process of the gear that described automobile speed signal is corresponding as:
By described automobile speed signal x according to formula process, 0≤x≤12;
If then judge that the digitized automobile speed signals assignment of reception is as I grade of square wave;
If then judge that the digitized automobile speed signals assignment of reception is as II grade of square wave;
If then judge that the digitized automobile speed signals assignment of reception is as III grade of square wave.
Vehicle speed signal is divided into third gear square-wave signal by the described gear corresponding according to automobile speed signal, then obtains corresponding comparative voltage after processing accordingly respectively third gear square wave, and its detailed process is:
For I grade of square wave, when automobile speed signal is greater than 0.5V, output comparative voltage is 0.9V, otherwise exports 12V;
For II grade of square wave, when automobile speed signal is greater than 7V, output comparative voltage is 6V, otherwise exports 12V;
For III grade of square wave, directly export square-wave signal as comparative voltage, by filter capacitor, filtering process is carried out to comparative voltage simultaneously.
Describedly respectively automobile speed signal and corresponding comparative voltage are compared the rear square-wave signal exporting corresponding standard low and high level, its comparison procedure is:
When automobile speed signal is greater than comparative voltage, export high level; When automobile speed signal is less than comparative voltage, output low level, the square wave be 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 comprises signal gathering unit 1, A/D converting unit 2, CPU 3, gear processing unit 4 and standard block converting unit 5;
This automobile speed signal for gathering automobile speed signal, and is inputed to A/D converting unit 2 by signal gathering unit 1;
A/D converting unit 2 is for being converted to digitized automobile speed signal by described automobile speed signal;
CPU 3 is for judging digitized automobile speed signal, judge the ownership gear of described digitized automobile speed signal, and after the standard threshold of the digitized automobile speed signal and corresponding gear that correspondence are belonged to gear compares, obtain the automobile speed signal of corresponding corresponding gear, then export the automobile speed signal of corresponding for described correspondence gear to gear processing unit 4; Described ownership gear comprises third gear: I grade of square wave is low level shelves, i.e. 0V ~ 1V shelves; II grade of square wave is high level shelves, i.e. 5V ~ 12V shelves; III grade of square wave is interference square wave shelves, is namely subject to the square wave place gear superposing small-pulse effect impact;
The corresponding comparative voltage of gear processing unit 4 for obtaining after processing accordingly according to the automobile speed signal of the corresponding gear of described correspondence, and export standard block converting unit 5 to;
Standard block converting unit 5 compares for the corresponding comparative voltage that obtains after processing gear processing unit 4 and automobile speed signal, the low and high level of outputting standard relatively.
Automobile square-wave signal gathers adapter, and it also comprises gear display unit 6, and gear display unit 6 shows corresponding gear lamp for the ownership gear judged according to CPU 3.
Automobile square-wave signal gathers adapter, and it also comprises shell, and described signal gathering unit 1, A/D converting unit 2, CPU 3, gear processing unit 4 and standard block converting unit 5 are all positioned at shell.
Automobile square-wave signal of the present invention gathers adaptation method and gathers adapter, gather the automobile speed signal that automobile exports, this automobile speed signal is converted to digital automobile vehicle speed signal through A/D converting unit, and then input to CPU, be divided into 250 parts through this CPU, then compare and obtain this automobile speed signal and belong to which grade square wave.If then judge that the digitized automobile speed signals assignment of reception is as I grade of square wave; If then judge that the digitized automobile speed signals assignment of reception is as II grade of square wave; If then judge that the digitized automobile speed signals assignment of reception is as III grade of square wave.After having judged which grade square wave automobile speed signal belongs to, light corresponding gear display lamp and export gear processing unit to, gear processing unit processes accordingly for different gear square waves, finally export corresponding comparative voltage, this comparative voltage is as the comparison signal of standard block converting unit, compare with automobile speed signal, when automobile speed signal is higher than comparative voltage, the comparator in standard block converting unit exports high level 12V; When automobile speed signal is lower than comparative voltage, the comparator output low level 0V in standard block converting unit; Make the signal exported be the square wave of low level 0V, high level 12V, meet the standard block signal of automobile travel recorder.
Automobile square-wave signal of the present invention gathers adapter and provides good adaptation unit for automobile exports between automobile travel recorder, even if the square wave making automobile export is not standard block, mate with automobile travel recorder after also the square wave that automobile exports being converted to standard block.The present invention is applicable to various vehicle, can differentiate various square wave fast, selects corresponding square wave to gather adapter, realizes effective installation and the work of automobile travel recorder.
Automobile self with automobile gears be I grade, II grade, III grade, the output voltage that every grade of correspondence is different, but the voltage causing automobile gears to export due to a variety of causes is not the voltage of standard.Normal voltage is obtained, for the installation of automobile travel recorder provides guarantee after adapter of the present invention corrects.
The present invention is also applicable to other occasions needing to be converted to standard block.
Accompanying drawing explanation
Fig. 1 is the principle schematic that automobile square-wave signal gathers adapter;
Fig. 2 is the schematic diagram of the CPU of embodiment in execution mode eight;
Fig. 3 is the schematic diagram of the gear processing unit of embodiment in execution mode eight;
Fig. 4 is the schematic diagram of the standard block converting unit of embodiment in execution mode eight;
Fig. 5 is the schematic diagram of the gear display unit of embodiment in execution mode eight;
Fig. 6 is the physical circuit annexation figure of the embodiment in execution mode eight.
Embodiment
Embodiment one, automobile square-wave signal described in present embodiment gathers adaptation method, the method comprises the steps: to gather automobile speed signal, and classification judgement is carried out to this automobile speed signal, judge the gear that described automobile speed signal is corresponding, described gear is I grade, II grade and III grade, vehicle speed signal is divided into third gear square-wave signal by the gear corresponding according to automobile speed signal, corresponding comparative voltage is obtained after again third gear square wave being processed respectively accordingly, respectively automobile speed signal and corresponding comparative voltage are compared the rear square-wave signal exporting corresponding standard low and high level, this square-wave signal is the standard block mated with automobile travel recorder, this standard block inputs to automobile travel recorder, described third gear square-wave signal is I grade of square wave, II grade of square wave and III grade of square wave.
Described 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 that automobile speed signal is the square wave between 0V ~ 1V, is low level shelves; 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, is namely subject to the square wave place gear superposing small-pulse effect impact.
Embodiment two, present embodiment gather further illustrating of adaptation method to the automobile square-wave signal described in embodiment one, in present embodiment, described collection automobile speed signal, and to this automobile speed signal carry out classification judge, judge the process of the gear that described automobile speed signal is corresponding as:
By described automobile speed signal x according to formula process, 0≤x≤12;
If then judge that the digitized automobile speed signals assignment of reception is as I grade of square wave;
If then judge that the digitized automobile speed signals assignment of reception is as II grade of square wave;
If then judge that the digitized automobile speed signals assignment of reception is as III grade of square wave.
Embodiment three, present embodiment gather further illustrating of adaptation method to the automobile square-wave signal described in embodiment one, in present embodiment, vehicle speed signal is divided into third gear square-wave signal by the described gear corresponding according to automobile speed signal, obtain corresponding comparative voltage after processing accordingly respectively third gear square wave, its detailed process is again:
For I grade of square wave, when automobile speed signal is greater than 0.5V, output comparative voltage is 0.9V, otherwise exports 12V;
For II grade of square wave, when automobile speed signal is greater than 7V, output comparative voltage is 6V, otherwise exports 12V;
For III grade of square wave, directly export square-wave signal as comparative voltage, by filter capacitor, filtering process is carried out to comparative voltage simultaneously.
For the square-wave signal that III grade of square wave exports, adopting filter capacitor to carry out filtering to it, is in order to filtering affects the superposition small-pulse effect of square wave.
Embodiment four, present embodiment gather further illustrating of adaptation method to the automobile square-wave signal described in embodiment one, in present embodiment, describedly respectively automobile speed signal and corresponding comparative voltage are compared the rear square-wave signal exporting corresponding standard low and high level, its comparison procedure is:
When automobile speed signal is greater than comparative voltage, export high level; When automobile speed signal is less than comparative voltage, output low level, the square wave be made up of high level and low level is the square-wave signal of standard low and high level.
In conjunction with execution mode three to four, if automobile speed signal is I grade of square wave, then illustrate that this automobile speed signal is low level signal, automobile travel recorder cannot obtain, and causes automobile travel recorder to install and to work.Therefore, arranging a standard threshold is 0.5V, and the automobile speed signal that regulation is only greater than 0.5V could export, like this by export automobile speed signal limiting between 0.5V ~ 1V, then export comparative voltage, this comparative voltage compares with automobile speed signal after dividing potential drop, when the magnitude of voltage of automobile speed signal is greater than comparative voltage, export high level 12V, when the magnitude of voltage of automobile speed signal is less than comparative voltage, output low level 0V.
Described comparative voltage is adopt the mode of electric resistance partial pressure to realize through dividing potential drop.
In like manner, if automobile speed signal is II grade of square wave, then illustrate that this automobile speed signal is high level signal, automobile travel recorder cannot obtain, and causes automobile travel recorder to install and to work.Therefore, arranging a standard threshold is 7V, and the automobile speed signal that regulation is only greater than 7V could export, like this by export automobile speed signal limiting between 7V ~ 12V, then export comparative voltage, this comparative voltage compares with automobile speed signal after dividing potential drop, when the magnitude of voltage of automobile speed signal is greater than comparative voltage, export high level 12V, when the magnitude of voltage of automobile speed signal is less than comparative voltage, output low level 0V.
If automobile speed signal is III grade of square wave, then illustrate that this automobile speed signal is the square wave being subject to superposing small-pulse effect impact, automobile travel recorder cannot obtain, and causes automobile travel recorder to install and to work.Therefore, arrange a standard filter capacitor, export comparative voltage after filtering after capacitor filtering, this comparative voltage size is 0V, and the comparative voltage 0V of output is necessarily less than the magnitude of voltage of automobile speed signal, then output low level 0V.
Sum up above-mentioned three processes: the final square wave high level obtained is 12V, and low level is 0V, within the normal acquisition scope meeting automobile travel recorder, enable automobile travel recorder normal mounting.
Embodiment five, reference Fig. 1 illustrate present embodiment, automobile square-wave signal described in present embodiment gathers adapter, and it comprises signal gathering unit 1, A/D converting unit 2, CPU 3, gear processing unit 4 and standard block converting unit 5;
This automobile speed signal for gathering automobile speed signal, and is inputed to A/D converting unit 2 by signal gathering unit 1;
A/D converting unit 2 is for being converted to digitized automobile speed signal by described automobile speed signal;
CPU 3 is for judging digitized automobile speed signal, judge the ownership gear of described digitized automobile speed signal, and after the standard threshold of the digitized automobile speed signal and corresponding gear that correspondence are belonged to gear compares, obtain the automobile speed signal of corresponding corresponding gear, then export the automobile speed signal of corresponding for described correspondence gear to gear processing unit 4; Described ownership gear comprises third gear: I grade of square wave is low level shelves, i.e. 0V ~ 1V shelves; II grade of square wave is high level shelves, i.e. 5V ~ 12V shelves; III grade of square wave is interference square wave shelves, is namely subject to the square wave place gear superposing small-pulse effect impact;
The corresponding comparative voltage of gear processing unit 4 for obtaining after processing accordingly according to the automobile speed signal of the corresponding gear of described correspondence, and export standard block converting unit 5 to;
Standard block converting unit 5 compares for the corresponding comparative voltage that obtains after processing gear processing unit 4 and automobile speed signal, the low and high level of outputting standard relatively.
In present embodiment, the input of signal gathering unit 1 connects the vehicle speed signal output of automobile, for gathering automobile speed signal.The automobile speed signal that signal gathering unit 1 gathers exports CPU 3 to after A/D converting unit 2 carries out digitlization conversion, CPU 3 pairs of automobile speed signals judge, judge that the automobile speed signal gathered belongs to I grade of square wave, II grade of square wave or III grade of square wave.If the automobile speed signal that determined collection belongs to I grade of square wave, II grade of square wave or III grade of square wave, then the standard threshold of third gear square wave and every grade is compared; The standard threshold of I grade of square wave is 0.5V; The standard threshold of II grade of square wave is 7V; The standard threshold of III grade of square wave is 0V; Every grade of square wave and corresponding standard threshold compare the automobile speed signal of the corresponding corresponding gear of rear acquisition, export the automobile speed signal of corresponding for the correspondence obtained gear to gear processing unit 4 again, gear processing unit 4 obtains corresponding comparative voltage after carrying out corresponding gear process according to the respective notch square wave obtained.For I grade of square wave, the comparative voltage of output is 0.9V; For II grade of square wave, the comparative voltage of output is 6V; For III grade of square wave, directly export square-wave signal as comparative voltage.Described comparative voltage exports standard block converting unit 5 to, in standard block converting unit 5, comparative voltage and automobile speed signal compare, the standard block signal of the low and high level composition of outputting standard relatively, this standard block signal is the square-wave signal matched with automobile travel recorder.
Automobile square-wave signal of the present invention gathers adapter and is connected between automobile and automobile travel recorder, solves automobile travel recorder and effectively cannot be arranged on problem on the automobile of the automobile square wave distortion caused due to a variety of causes.
Embodiment six, present embodiment gather further illustrating of adapter to the automobile square-wave signal described in embodiment five, in present embodiment, it also comprises gear display unit 6, and gear display unit 6 shows corresponding gear lamp for the ownership gear judged according to CPU 3.
In present embodiment, the gear lamp of the ownership gear display correspondence of the automobile speed signal that gear display unit 6 judges according to CPU 3, gear lamp is I grade of square wave modulation, II grade of square wave modulation and III grade of square wave modulation.The respective notch of the square-wave signal that this gear display unit 6 can point out human pilot automobile to export simultaneously, for maintenance personal provides parameter area when being convenient to repair vehicle.
Embodiment seven, present embodiment gather further illustrating of adapter to the automobile square-wave signal described in embodiment five, in present embodiment, it also comprises shell, and described signal gathering unit 1, A/D converting unit 2, CPU 3, gear processing unit 4 and standard block converting unit 5 are all positioned at shell.
Shell is used for providing a carrier for signal gathering unit 1, A/D converting unit 2, CPU 3, gear processing unit 4 and standard block converting unit 5, is also convenient to protect various piece, prevents from damaging.
Embodiment eight, present embodiment are an embodiment.As Fig. 2,3,4, shown in 5 and 6, specific as follows:
Signal gathering unit 1 is made up of sampling resistor R4 and R5, one end ground connection of resistance R5, one end of the other end contact resistance R4 of R5, and one end of resistance R4 connects the A/D changing over signal inputs of A/D converting unit 2 as A/D switching signal output; The automobile speed signal input part of the other end connection standard square wave converting unit 5 of R4.
It is inner that A/D converting unit 2 is positioned at CPU 3, and belong to and be directly integrated in CPU inside, in fig. 2,32 pin of CPU 3 are A/D changing over signal inputs.
The model MB90F497G_M09 processor of CPU 3, its peripheral circuit comprises electric capacity C11, C5, C13, C12, C18, crystal oscillator E3, E5.
22 pin of CPU 3 connect one end of electric capacity C11 and one end of crystal oscillator E3 simultaneously; 23 pin connect one end of electric capacity C5 and the other end of crystal oscillator E3 simultaneously; The other end of electric capacity C11 and the other end of electric capacity C5 ground connection simultaneously; 24 pin ground connection;
15 pin of CPU 3 are connected the two ends of crystal oscillator E4 with 16 pin; One end of crystal oscillator E4 connects one end of electric capacity C13, and the other end of crystal oscillator E4 connects one end of electric capacity C12; The other end of electric capacity C13 and the other end of electric capacity C12 ground connection simultaneously;
57 pin of CPU 3 connect one end of electric capacity C18, the other end ground connection of electric capacity C18; 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-3 of 5 pin, III grade of square wave processing unit of CPU 3; 10 pin of CPU 3 are the input AA of I grade of square wave modulation; 9 pin of CPU 3 are the input BB of II grade of square wave modulation; 8 pin of CPU 3 are the input CC of III grade of square wave modulation;
Gear processing unit 4 comprises 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 comprises resistance R11, R7, triode VT1, diode VD1, relay K J1 and resistance R1; One end of resistance R11 connects 3 pin of CPU 3, other end one end of contact resistance R7 and the base stage of triode VT1 simultaneously of resistance R11; The emitter of triode VT1 is the other end of contact resistance R7 and ground simultaneously; The collector electrode of triode VT1 connects one end of the positive pole of diode VD1 and the coil of relay K J1 simultaneously; The negative pole of diode VD1 connects the other end of the coil of power supply VCC and relay K J1 simultaneously; One end of the end contact resistance R1 of the normally-closed contact of relay K J1; The other end ground connection of resistance R1; The normally opened contact end of relay K J1 is as the comparative voltage input of comparative voltage output connection standard square wave converting unit 5;
II grade of square wave processing unit comprises resistance R12, R9, triode VT2, diode VD2, relay K J2 and resistance R6; One end of resistance R12 connects 4 pin of CPU 3, other end one end of contact resistance R9 and the base stage of triode VT2 simultaneously of resistance R12; The emitter of triode VT2 is the other end of contact resistance R9 and ground simultaneously; The collector electrode of triode VT2 connects one end of the positive pole of diode VD2 and the coil of relay K J2 simultaneously; The negative pole of diode VD2 connects the other end of the coil of power supply VCC and relay K J2 simultaneously; One end of the end contact resistance R6 of the normally-closed contact of relay K J2; The other end ground connection of resistance R6; The normally opened contact end of relay K J2 is as the comparative voltage input of comparative voltage output connection standard square wave converting unit 5;
III grade of square wave processing unit comprises resistance R13, R10, triode VT3, diode VD3, relay K J3, electric capacity C20, resistance R2 and 12V power supply; One end of resistance R13 connects 5 pin of central processing unit 3; Other end one end of contact resistance R10 and the base stage of triode VT3 simultaneously of resistance R13; The emitter of triode VT3 is the other end of contact resistance R10 and ground simultaneously; The collector electrode of triode VT3 connects one end of the positive pole of diode VD3 and the coil of relay K J3 simultaneously; The negative pole of diode VD3 connects the other end of the coil of power supply VCC and relay K J3 simultaneously; The end of the normally-closed contact of relay K J3 connects one end of electric capacity C20; The other end ground connection of electric capacity C20; The normally opened contact end of relay K J3 is as the comparative voltage input of comparative voltage output connection standard square wave converting unit 5;
One end of the normally opened contact end of the normally opened contact end of relay K J1, the normally opened contact end of relay K J2 and relay K J3 contact resistance R2 simultaneously; The other end of resistance R2 connects power supply 12V.
The comparative voltage output of gear processing unit 4 is the normally opened contact end of the normally opened contact end of relay K J1, the normally opened contact end of relay K J2 and relay K J3.
Standard block converting unit 5 comprise resistance R8, R3, diode VD4 and comparator D4A; One end of resistance R8 is the other end of contact resistance R4 and automobile speed signal end simultaneously; The other end of resistance R8 connects the electrode input end of comparator D4A; The negative input of comparator D4A connects the negative pole of diode VD4 and the comparative voltage output of gear processing unit 4 as comparative voltage input simultaneously; The anode of diode D4A connects the output of comparator D4A and one end of resistance R3 simultaneously; The other end of resistance R3 connects the power end of comparator D4A; The earth terminal ground connection of comparator D4A; The output of comparator D4A connects the square wave input end of automobile travel recorder as standard block output.
Comparator D3A, D4A in the present invention all adopt model to be the chip of LM339.
Automobile square-wave signal of the present invention gathers adaptation method and gathers adapter, gather the automobile speed signal that automobile exports, this automobile speed signal is converted to digital automobile vehicle speed signal through A/D converting unit, and then input to CPU, be divided into 250 parts through this CPU, then compare and obtain this automobile speed signal and belong to which grade square wave.If then judge that the digitized automobile speed signals assignment of reception is as I grade of square wave; If then judge that the digitized automobile speed signals assignment of reception is as II grade of square wave; If then judge that the digitized automobile speed signals assignment of reception is as III grade of square wave.After having judged which grade square wave automobile speed signal belongs to, light corresponding gear display lamp, third gear square wave compared with corresponding normal voltage respectively simultaneously, obtain the automobile speed signal of corresponding corresponding gear more afterwards:
For I grade of square wave, established standards threshold is 0.5V, and specifies that the digitized automobile speed signal only having CPU 3 to export is greater 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 standards threshold is 7V, and specifies that the digitized automobile speed signal only having CPU 3 to export is greater than 7V and just allows to pass through, and the automobile speed signal of acquisition is 7V ~ 12V;
For III grade of square wave, connect filter capacitor, filtering affects the superposition small-pulse effect of square wave;
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 comparative voltage after treatment; This comparative voltage is output valve standard block converting unit 5 after dividing potential drop;
Inner in standard block converting unit 5, comparative voltage compares with automobile speed signal after dividing potential drop, and when automobile speed signal is higher than comparative voltage, the comparator in standard block converting unit exports high level 12V; When automobile speed signal is lower than comparative voltage, the comparator output low level 0V in standard block converting unit; Make the signal exported be the square wave of low level 0V, high level 12V, meet the standard block signal of automobile travel recorder.
In the present embodiment, the value that the comparative voltage of I grade of square wave acquisition after gear processing unit 4 processes obtains after resistance R2 dividing potential drop is 0.9V; The value that the comparative voltage of II grade of square wave acquisition after gear processing unit 4 processes obtains after the resistance R2 dividing potential drop in standard block converting unit is 6V; The comparative voltage of III grade of square wave acquisition after gear processing unit 4 processes is 0V.
When automobile speed signal is greater than comparative voltage, comparator D4A exports high level; When automobile speed signal is less than comparative voltage, comparator D4A output low level; The square wave that the high level exported by comparator D4A and low level form is standard block.

Claims (7)

1. automobile square-wave signal gathers adaptation method, it is characterized in that, the method comprises the steps: to gather automobile speed signal, and classification judgement is carried out to this automobile speed signal, judge the gear that described automobile speed signal is corresponding, described gear is I grade, II grade and III grade, vehicle speed signal is divided into third gear square-wave signal by the gear corresponding according to automobile speed signal, corresponding comparative voltage is obtained after again third gear square wave being processed respectively accordingly, respectively automobile speed signal and corresponding comparative voltage are compared the rear square-wave signal exporting corresponding standard low and high level, this square-wave signal is the standard block mated with automobile travel recorder, this standard block inputs to automobile travel recorder, described third gear square-wave signal is I grade of square wave, II grade of square wave and III grade of square wave.
2. automobile square-wave signal according to claim 1 gathers adaptation method, it is characterized in that, described collection automobile speed signal, and carries out classification judgement to this automobile speed signal, judge the process of the gear that described automobile speed signal is corresponding as:
By described automobile speed signal x according to formula process, 0≤x≤12;
If then judge that the digitized automobile speed signals assignment of reception is as I grade of square wave;
If then judge that the digitized automobile speed signals assignment of reception is as II grade of square wave;
If then judge that the digitized automobile speed signals assignment of reception is as III grade of square wave.
3. automobile square-wave signal according to claim 1 gathers adaptation method, it is characterized in that, vehicle speed signal is divided into third gear square-wave signal by the described gear corresponding according to automobile speed signal, then obtains corresponding comparative voltage after processing accordingly respectively third gear square wave, and its detailed process is:
For I grade of square wave, when automobile speed signal is greater than 0.5V, output comparative voltage is 0.9V, otherwise exports 12V;
For II grade of square wave, when automobile speed signal is greater than 7V, output comparative voltage is 6V, otherwise exports 12V;
For III grade of square wave, directly export square-wave signal as comparative voltage, by filter capacitor, filtering process is carried out to comparative voltage simultaneously.
4. automobile square-wave signal according to claim 1 gathers adaptation method, it is characterized in that, describedly respectively automobile speed signal and corresponding comparative voltage is compared the rear square-wave signal exporting corresponding standard low and high level, and its comparison procedure is:
When automobile speed signal is greater than comparative voltage, export high level; When automobile speed signal is less than comparative voltage, output low level, the square wave be made up of high level and low level is the square-wave signal of standard low and high level.
5. automobile square-wave signal gathers adapter, it is characterized in that, it comprises signal gathering unit (1), A/D converting unit (2), CPU (3), gear processing unit (4) and standard block converting unit (5);
This automobile speed signal for gathering automobile speed signal, and is inputed to A/D converting unit (2) by signal gathering unit (1);
A/D converting unit (2) is for being converted to digitized automobile speed signal by described automobile speed signal;
CPU (3) is for judging digitized automobile speed signal, judge the ownership gear of described digitized automobile speed signal, and after the standard threshold of the digitized automobile speed signal and corresponding gear that correspondence are belonged to gear compares, obtain the automobile speed signal of corresponding corresponding gear, then export the automobile speed signal of corresponding for described correspondence gear to gear processing unit (4); Described ownership gear comprises third gear: I grade of square wave is low level shelves, i.e. 0V ~ 1V shelves; II grade of square wave is high level shelves, i.e. 5V ~ 12V shelves; III grade of square wave is interference square wave shelves, is namely subject to the square wave place gear superposing small-pulse effect impact;
The corresponding comparative voltage of gear processing unit (4) for obtaining after processing accordingly according to the automobile speed signal of the corresponding gear of described correspondence, and export standard block converting unit (5) to;
Standard block converting unit (5) for comparing with automobile speed signal the corresponding comparative voltage that obtains after gear processing unit (4) process, the low and high level of outputting standard relatively afterwards.
6. automobile square-wave signal according to claim 5 gathers adapter, it is characterized in that, it also comprises gear display unit (6), and gear display unit (6) shows corresponding gear lamp for the ownership gear judged according to CPU (3).
7. automobile square-wave signal according to claim 5 gathers adapter, it is characterized in that, it also comprises shell, and described signal gathering unit (1), A/D converting unit (2), CPU (3), gear processing unit (4) and standard block converting unit (5) are all positioned at shell.
CN201510226549.7A 2015-05-06 2015-05-06 Automobile square-wave signal gathers adaptation method and collection adapter Active CN104796107B (en)

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 true CN104796107A (en) 2015-07-22
CN104796107B 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN104796107B (en) 2017-10-27

Similar Documents

Publication Publication Date Title
CN104564542B (en) A kind of fault diagnosis system and its diagnostic method based on big data technology
CN102981041A (en) Battery cell monitoring system
CN106874872A (en) Industrial frequency noise filtering device and method
CN110736893A (en) Data uploading method and system for power transmission line traveling wave monitoring terminals
CN203720270U (en) Insulating-resistor detection circuit based on low-frequency pulse signal injection
CN207215896U (en) A kind of current detection circuit calculated based on SOC
CN105030258A (en) Double-mode automobile driver driving state detection platform
CN104796107A (en) Automobile square-wave signal acquisition adapting method and acquisition adapter
CN203909962U (en) Infrared ray alarm
CN208902855U (en) Low-speed electronic vehicle lithium battery detection circuit
CN209606504U (en) A kind of peak detection circuit
CN204578515U (en) A kind of digital full isolation signals Acquisition Circuit
CN206132865U (en) Electric field detection circuitry around electrified insulator
CN209120145U (en) A kind of difference magnetic power rotation speed sensor conditioning circuit
CN208421116U (en) A kind of voltage induced formula protection against electric shock circuit and anti-electric shock apparatus
CN207225120U (en) One kind is used for new energy electric motor vehicle high-voltage detecting device
CN207399164U (en) Automobile-used automatically controlled system wake-up circuit
CN210109304U (en) Reset detection circuit of intelligent electric energy meter
CN106357344A (en) Signal anti-jamming processing system of infrared light recognition device for roaster chamber No.
CN204964070U (en) A fault detection device for temperature sensor of refrigerator
CN104955231A (en) Phase-sensitive detection type LED (Light Emitting Diode) driving system based on logic gate control
CN204010191U (en) Environmental monitoring station's dry point boundary alarm system infrared surveillance equipment warning circuit
CN204010194U (en) The infrared surveillance equipment of environmental monitoring station's dry point boundary alarm system
CN204988584U (en) High -efficient eddy current dynamometer system based on signal filtering handles
CN105115647A (en) Signal filtering processing based efficient eddy current power-measuring system

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