The content of the invention
In view of this, the embodiment of the present invention provides a kind of running car digital data recording system and method, can effectively prevent
Interrupt the problem of data record in automobile flameout, and improve the life-span of each element of running car digital data recording system.
The embodiment of the present invention provides a kind of running car digital data recording system, the running car digital data recording system bag
Include:
Digital video recorder, in the energized state, according to the running car situation row of the automobile being recorded
Sail data;
First switch element, is connected between power supply and the digital video recorder, for controlling the digital video
Videocorder is powered or power-off;
Second switch element, for controlling the first switch element conductive or disconnection;
First line, for turning in automobile starting and controls the second switch element conductive;
Second circuit, for controlling the second switch element conductive in automobile flameout;And
Micro-control unit, and the digital video recorder and second connection, in automobile flameout time control
Second line conduction is made, and it is whether complete for judging the data processing of the digital video recorder after automobile flameout
Into, and continue to be switched on or off according to judged result control second circuit.
Used as the further improvement of the embodiment of the present invention, the first switch element and the second switch element are crystal
Pipe.
Used as the further improvement of the embodiment of the present invention, the first switch element is low level conducting, and described second opens
The path terminal for closing element is connected with the control end of the first switch, another path terminal ground connection of the second switch element.
Used as the further improvement of the embodiment of the present invention, the first line includes the first diode, the one or two pole
The anode connection ACC shelves of pipe, the negative electrode of first diode connects the control end of the second switch element.
Used as the further improvement of the embodiment of the present invention, the first line further includes Zener diode, described steady
Pressure diode is connected between the anode of the ACC shelves and first diode.
Used as the further improvement of the embodiment of the present invention, second circuit includes the second diode, the two or two pole
The anode of pipe connects the micro-control unit, and the negative electrode of second diode connects the control end of the second switch element.
Used as the further improvement of the embodiment of the present invention, the micro-control unit is additionally operable to according to the digital video recorder
The interrupt signal that machine is sent to the micro-control unit is completed judging the data processing.
The embodiment of the present invention also provides a kind of running car data record method, the method comprising the steps of:
In automobile starting, first line conducting, and then make the first switch unit of connection power supply and digital video recorder
Part is turned on, and makes the digital video recorder to there is electricity condition;
The digital video recorder records the running data of the automobile according to the running car situation;
When the automobile flameout, the first line disconnects, and micro-control unit makes the second line conduction, and then makes described
First switch element is held on;
The micro-control unit judges whether the data processing of the digital video recorder completes, if judging the data
Process and do not complete, then make the second circuit continue to turn on;If judging, the data processing is completed, makes second circuit break
Open.
Used as the further improvement of the embodiment of the present invention, the micro-control unit judges the number of the digital video recorder
Whether complete to include according to processing:The micro-control unit sends according to the digital video recorder to the micro-control unit
Interrupt signal is completed judging the data processing.
According to the abovementioned embodiments of the present invention system and method, is regarded by increasing the second circuit control with the numeral
The switch element of frequency videocorder connection makes the digital video recorder remain to remain powered on state, Neng Gouyou after automobile flameout
Interruption of power supply when preventing data record is imitated, the life-span of each element of running car digital data recording system is improved.
It is that the above and other objects, features and advantages of the present invention can be become apparent, preferred embodiment cited below particularly,
And coordinate institute's accompanying drawings, it is described in detail below.
Specific embodiment
Further to illustrate the present invention to realize technological means and effect that predetermined goal of the invention taken, below in conjunction with
Accompanying drawing and preferred embodiment, to the specific embodiment according to the present invention, structure, feature and its effect, describe in detail as after.
First embodiment
Fig. 1 is refer to, a kind of structure of running car digital data recording system that Fig. 1 is provided for first embodiment of the invention is shown
It is intended to.As shown in figure 1, the running car digital data recording system includes:One or more digital video recorder 100 is (in figure
Only illustrate one), first switch element 200, second switch element 300, first line 400, the second circuit 500, microcontroller list
Unit 600 and power supply 700.
Digital video recorder 100 adopts HD recording, also referred to as DVR.Digital video recorder 100 is a set of carrying out
The computer system that image storage is processed, with to image/voice long-time video recording, recording, remotely monitor and control are carried out
Function, DVR has gathered five kinds of functions such as videocorder, image splitter, platform-lens control, controlling alarm, network transmission.In detail
Ground, when digital video recorder 100 works, also along with other element cooperatings.For example, photographic head gathered data, numeral
Video cassette recorder 100 is processed the data that the photographic head is gathered.
Further, digital video recorder 100 can be 360 ° of overall view monitoring systems (Around View Monitor,
Abbreviation AVM).360 ° of overall view monitoring systems at least include videocorder, photographic head, display and main frame etc..Certainly, it is described
360 ° of overall view monitoring systems can be included than above-mentioned more or less components, or component unlike those described above.In this reality
In applying example, digital video recorder 100 is used in the energized state, and according to running car situation the running data of automobile is recorded.
Further, digital video recorder 100 is photographic head collecting vehicle according to the process of running car situation and the running data for recording
The photo or video of the environment around.
Power supply 700 is automobile storage battery.When automobile starting, the power supply 700 is powered for each part of the automobile.
First switch element 200 is connected between power supply 700 and digital video recorder 100, is regarded for controlling the numeral
Frequency videocorder 100 is powered or power-off.When first switch element 200 is conducting state, power supply 700 is the digital video recorder
100 power supplies, digital video recorder 100 is have electricity condition.When first switch element 200 is off-state, the stopping of power supply 700 is
The digital video recorder 100 is powered, and digital video recorder 100 is off-position.In the present embodiment, first switch element
200 include control end, the first path terminal and alternate path end, control end connection second switch element 300, the connection of the first path terminal
Digital video recorder 100, alternate path end connection power supply 700.Preferably, the first switch element 200 be audion, three poles
The base stage of pipe is control end, and current collection extremely the first path terminal launches extremely alternate path end.In other embodiments, this first
Switch element 200 is transistor.
Second switch element 300 is switched on or off for controlling the first switch element 200.In the present embodiment,
Two switch elements 300 include control end, the first path terminal and alternate path end, the control end connection line of first line 400 and second
Road 500, the first path terminal connection first switch element 200, alternate path end ground connection.Preferably, the second switch element 300 is
Audion, the base stage of audion is control end, and current collection extremely the first path terminal launches extremely alternate path end.In other enforcements
In example, the second switch element 300 is transistor.
Micro-control unit (Microcontroller Unit;MCU) 600, also known as one chip microcomputer (Single
Chip Microcomputer) or single-chip microcomputer, it is central processing unit (Central Process Unit;CPU frequency)
Appropriate reduction is done with specification, and by internal memory (memory), enumerator (Timer), USB, A/D conversion, UART, PLC, DMA isoperimetric
Side interface, or even LCD drive circuits are all incorporated on one chip, form the computer of chip-scale, are different application scenarios
Do various combination control.In the present embodiment, the micro-control unit 600 connects the digital video recorder 100 and second line
Road 500.
First line 400 is used to turn in automobile starting and control the second switch element 300 to turn on.In the present embodiment
In, first line 400 includes the diode 402 of zener diode 401 and first, and the negative electrode of zener diode 401 connects ACC shelves,
The anode of zener diode 401 connects the anode of the first diode 402, and the negative electrode of the first diode 402 connects the second switch
The control end of element 300.Additionally, the first line 400 also includes first resistor 403 and second resistance 404, the first resistor
403 are connected between the negative electrode of ACC shelves and the zener diode 401, it is preferable that the first resistor 403 be divider resistance, resistance
Preferably 1K Ω.The second resistance 404 is connected between the anode of the first diode 402 and ground, and resistance is preferably 47K Ω.
Second circuit 500 is used to control the second switch element conductive 300 in automobile flameout.In the present embodiment,
Two circuits 500 include the second diode 501, and the anode of the second diode 501 connects the micro-control unit 300, and negative electrode connection should
The control end of second switch element 300.
In detail, during automobile starting, adnexa (than adnexaes such as Source Musics) power supply can be connected by ACC shelves, ACC shelves are by car
Key controller, connects accessory power supply with the startup of automobile, automobile flame-out and disconnect adnexa.Therefore, during automobile starting, even
The first line 400 for connecing ACC shelves is turned on, that is to say, that the first diode 402 of first line 400 is turned on, and makes second switch unit
Part 300 is turned on, and then turns on first switch element 200, so as to realize that power supply 700 is powered to digital video recorder 100, number
Word video cassette recorder 100 records the running data of the automobile according to the travel conditions.
In an example, second switch element 300 is high level conducting, and first switch element 200 is low level conducting.
Therefore, after connecting the conducting of first line 400 of ACC shelves, second switch element 300 is turned on, by the transmitting of second switch element 300
Pole is grounded, and the colelctor electrode of second switch element 300 is connected with first switch element 200, after second switch element 300 is turned on,
The control terminal voltage for making first switch element 200 is pulled low, and now first switch element 200 is turned on, and power supply 700 is opened by first
Close element 200 to power to digital video recorder 100.
During automobile flameout, the first line 400 being connected with ACC shelves disconnects, that is to say, that the first diode 402 disconnects.This
When, micro-control unit 600 provides a Continuity signal (such as high level signal) to the second circuit 500, turns on the second circuit 500,
And then second switch element 300 is turned on, so that first switch element 200 is tended to remain on.
Further, micro-control unit 600 also judges that the data processing of digital video recorder 100 is after automobile flameout
It is no to complete, and continue to be switched on or off according to judged result control second circuit 500.In detail, micro-control unit 600
By whether receiving the interrupt signal by the transmission of digital video recorder 100 to judge the data of digital video recorder 100
Whether process completes.For example, if automobile stops, micro-control unit 300 receives the transmission of the digital video recorder 100
Interrupt signal, then it represents that the data processing of digital video recorder 100 is completed, then interrupt the second circuit 500.
Under normal circumstances, when automobile flameout, first line 400 are interrupted, the photographic head of digital video recorder 100 is general
Correspondence collects the ephemeral data at automobile flameout moment, and digital video recorder 100 will also carry out data processing, therefore, in vapour
Digital video recorder 100 also needs to certain hour after car is flame-out carries out data processing.Now, digital video recorder 100 will
Interrupt signal will not be sent to micro-control unit 600, it is conducting state that micro-control unit 600 keeps the second circuit 500, makes power supply
700 continue as digital video recorder 100 powers.
Further, when the data processing of digital video recorder 100 is completed, digital video recorder 100 is to micro-control
Unit processed 600 sends interrupt signal, and micro-control unit 600 receives and the finger for interrupting the second circuit 500 is sent after the interrupt signal
Order, the second diode 501 for making the second circuit 500 ends.The cut-off of the second diode 501 causes 300 sections of second switch element
Only, and then, the cut-off of second switch element 300 further results in first switch element 200 and ends, so that power supply 700 stops
Power to digital video recorder 100.
According to the system of the present embodiment, by increasing by second circuit 500, so that digital video recorder 100 exists
When automobile flameout, first line 400 disconnect, remain to make power supply 700 continue as digital video recorder by the conducting of the second circuit 500
Machine 100 is powered, therefore can effectively prevent digital video recorder 100 from interrupting the problem of data record in automobile flameout, and
And effectively improve the life-span of the element of digital video recorder.
Second embodiment
The present embodiment provides a kind of running car data record method, the method for the present embodiment can be used for be shown in Fig. 1
In system, as described in Figure 2, the method for the present embodiment is comprised the following steps:
Step S101, in automobile starting, first line conducting, and then make the of connection power supply and digital video recorder
One switching elements conductive, makes the digital video recorder to there is electricity condition.
Specifically, in automobile starting, the first line 400 for connecting ACC shelves is connected, and makes the of connection first line 400
Two switch elements 300 are turned on, and then the first switch element 200 for making to be connected with second switch element 300 is turned on, so as to realize electricity
Source 700 powers to digital video recorder 100.
Step S102, the digital video recorder record the traveling number of the automobile according to the running car situation
According to.
Specifically, when power supply 700 is powered to digital video recorder 100, digital video recorder 100 can be according to automobile
Travel conditions record the running data of automobile.
Step S103, when the automobile flameout, the first line disconnects, and micro-control unit makes the second line conduction,
And then it is held on the first switch element.
Step S104, the micro-control unit judge whether the data processing of the digital video recorder completes.
In detail, if micro-control unit 600 judges that the data processing of digital video recorder 100 is not completed, step is performed
Rapid S105;If the data processing for judging digital video recorder 100 is completed, execution step S106.
In detail, micro-control unit 600 judges whether the data processing of digital video recorder 100 completes to include:Micro-control
The interrupt signal that unit processed 600 is sent to micro-control unit 600 according to digital video recorder 100 is judging the data processing
Complete.Judge video cassette recorder if micro-control unit 600 receives the interrupt signal of the transmission of digital video recorder 100
100 data processing is completed, and interrupts the second circuit 500;If micro-control unit does not receive digital video recorder 100 and sends
Interrupt signal then judge video cassette recorder 100 data processing do not complete, then keep the second circuit 500 in the conduction state,
Digital video recorder 100 can work on.
Step S105, second circuit is set to continue to turn on.
Step S106, disconnect second circuit.
First embodiment can be further referred to regard to other details of the present embodiment, be will not be described here.
According to the method for the present embodiment, by increasing by second circuit 500, so that digital video recorder 100 exists
When automobile flameout, first line 400 disconnect, remain to make power supply 700 continue as digital video recorder by the conducting of the second circuit 500
Machine 100 is powered, therefore can effectively prevent digital video recorder 100 from interrupting the problem of data record in automobile flameout, and
And effectively improve the life-span of the element of digital video recorder.
The above is only presently preferred embodiments of the present invention, any pro forma restriction is not made to the present invention, although this
Invention is disclosed as above with preferred embodiment, but is not limited to the present invention, any those skilled in the art, without departing from
In the range of technical solution of the present invention, when making a little change using the technology contents of the disclosure above or be modified to equivalent variations
Equivalent embodiments, as long as being without departing from technical solution of the present invention content, according to the technical spirit of the present invention to above example institute
Any simple modification, equivalent variations and the modification made, still falls within the range of technical solution of the present invention.