Computer-controlled automobile door safety system and method for work thereof
Technical field
The invention relates to the system of automatic Control of Automobile door, more particularly, is a kind ofly can open automotive door automatically and when the closing automobile door, can prevent automatically that human body or object from being pressed from both sides injured or impaired safety system.
Technical background
Automotive door is divided into revolving door, folding door, translation door and overhead door.Sedan door and passenger vehicle, truck cab car door adopt revolving door, and passenger's special-purpose vehicle door of passenger vehicle is folding door or translation door normally, and car and passenger vehicle luggage compartment generally adopt overhead door.In, the folding door and the translation door of full-sized car adopt manually operated pneumatic car door machine, the car door of kart is a manually operated door.
Chinese patent ZL200420015331.4 discloses a kind of automobile revolving door anti-jamming device of being made up of detector, power control circuit and executing agency, the core devices of this device control circuit is that one pole multidigit stroke postpones switch, because this switch is mechanical, therefore there is easy to wear, poor reliability, control accuracy is low, automaticity is not high and only is suitable for the shortcoming of revolving door.Do not see at present the report that computer-controlled automotive door safety or anti-clipping system or device are arranged.
Summary of the invention
The present invention has overcome the technical deficiency of existing automobile revolving door anti-jamming device, provide a kind of computer-controlled automatic opening and closing that are applicable to various automotive door, can prevent automatically that human body or object from being pressed from both sides injured or impaired safety system.
Automobile door safety system of the present invention is to serve as that the technical scheme of prompt tone control circuit, safety detection circuit, door opening degree testing circuit, car door Dynamic Signal input circuit, car door opening control circuit, closing of the door control circuit and single-chip microcomputer operating circuit of control core is achieved with one chip microcomputer (abbreviation single-chip microcomputer).
Described single-chip microcomputer IC
1Be to select the ATmage603 type for use, it is 8 machines of a Low-Power CMOS, and operating temperature is at-55~+ 125 ℃, 32 general purpose I/O interfaces can absorb the 20mA electric current, and the PF interface has the A/D translation function, but also have the F1ash of 64K, the EEPROM of 2K, the SRAM of 4K.Single-chip microcomputer IC
1Be welded on the circuit board in control box, control box is installed in the car near the instrument panel.
Described prompt tone control circuit is by single-chip microcomputer output interface PC
1, drive resistance R
1, solid-state relay JGX20, buzzer H be connected in order with power supply G and form.Buzzer H is by being installed on the close car door interior plate at seat solid-state relay JGX20F and resistance R by screw
1Be welded respectively on the circuit board in control box.
Described safety detection circuit is by single-chip microcomputer output interface PC
2~PC
3, drive resistance R
2~R
3, have that photoelectricity is isolated jamming-proof solid-state relay JGX20F, the grating detector (comprises light barrier transmitter B
1, B
3With grating receiver B
2, B
4) and single-chip microcomputer input interface PF
0~PF
1Be connected in order and form.Light barrier transmitter B
1, B
3With grating receiver B
2, B
4Be inlaid in continuously on the upper and lower position of doorframe by screw is corresponding one by one respectively, and concordant with the doorframe surface, solid-state relay JGX20F and resistance R
2Be welded on the circuit board of control box.
Described door opening degree testing circuit is by single-chip microcomputer input interface PF
2, door opening degree sensor (angular transducer SR
1Or displacement transducer SR
2), DC converter ADP1073 is connected in order with power supply G and form.DC converter ADP1073 is installed near the vehicle frame of automobile storage battery G, angular transducer SR
1Be installed on the hinge of automobile revolving door displacement transducer SR
2Be installed on the vehicle body doorframe of automobile folding door, translation door and overhead door.
Described car door Dynamic Signal input circuit is by door-lock motor open the door circuit and single-chip microcomputer input interface PF
3Be connected, and door-lock motor closes gate circuit and single-chip microcomputer 1C
1Input interface PF
4Be connected and form.
Described car door opening control circuit is by single-chip microcomputer output interface PC
4, drive resistance R
6, solid-state relay JGX20F, press button S
2, the dynamo-electric machine of electric door
MThe electromagnetic valve of open the door winding or pneumatic car door machine open the door coil, power supply G is connected in order and form.The car door machine is installed in the vehicle body of vehicle body doorframe top by bolt, and the other end of car door machine push rod is fixed by bolts to the top of door frame, solid-state relay JGX20F and resistance R
7Be welded on the circuit board of control box press button S
2Be installed near on the door panel at seat.
Described closing of the door control circuit is by single-chip microcomputer output interface PC
5, drive resistance R
7, solid-state relay JGX20F, press button S
1, the dynamo-electric machine of electric door
MThe electromagnetic valve of close the door winding or pneumatic car door machine close the door coil, power supply G is connected in order and form.Solid-state relay JGX20F and resistance R
7Be welded on the circuit board of control box press button S
1Be installed near on the door panel at seat.
Described single-chip microcomputer operating circuit is by single-chip microcomputer IC
1, resistance R
4, R
5, capacitor C
1, C
2, C
3, crystal oscillator IC
2, DC converter ADP1073 output is connected in order and form.Resistance R
4And R
5, capacitor C
1~C
3With crystal oscillator IC
2Be welded respectively on the circuit board in control box.
The method of work of described automobile door safety system is as follows:
After the driver pressed the key that opens the door of alarms and security systems for automobiles remote controller, the door-lock motor circuit was switched on when opening door lock, had also given interface microcontroller PF
3Enabling signal, at this moment, single-chip microcomputer according to the control program of setting by output interface PC
4With the driving resistance R
6Conducting solid-state relay JGX20F, electric current from power supply G positive pole through solid-state relay JGX20F, electric door machine
MThe electromagnetic valve of open the door winding or pneumatic car door machine open the door and return power cathode behind coil, the bonding.At this moment car door is opened under the effect of car door machine gradually.In opening the process of car door, the door opening degree testing circuit detects the aperture of car door, and when door opening degree reached maximum, single-chip microcomputer had cut off the circuit that opens the door, and the car door machine quits work.Passenger and driver also can pass through press button S in car
2Directly open car door.
The driver press the alarms and security systems for automobiles remote controller the key of closing the door after, the circuit of locking a door is switched on, single-chip microcomputer input interface PC
4Also obtain the signal of closing the door, single-chip microcomputer carries out work according to the control program control grating testing circuit of setting.In the vehicle body doorframe, 100mm is arranged
2When above human body or object, grating receiver B
2, B
4Can not all receive light barrier transmitter B
1, B
3The grating that sends, the signal of its output is less than setting.At this moment, single-chip microcomputer output interface PC
5The output of no control signal, solid-state relay JGX20 can not conducting, and solid-state relay JGX20 has cut off the dynamo-electric machine of electric door
MClose the door circuit between coil and the battery G of the electromagnetic valve of close the door winding or pneumatic car door machine, car door can not be closed.At the same time, single-chip microcomputer output interface PC
1The output control signal, conducting solid-state relay JGX20, the circuit between buzzer H and the power supply makes buzzer H send prompt tone.After human body or object were removed doorframe, buzzer H stopped to send prompt tone, single-chip microcomputer output interface PC
5The solid-state relay JGX20 that sent the control signal conducting, solid-state relay JGX20 has connected the circuit between car door machine and the battery G, at this moment car door machine closing of the door gradually under the control of single-chip microcomputer.In the process of closing of the door, the door opening degree testing circuit detects the aperture of car door in real time, the explanation car door is closed fully when aperture equals 0, the circuit of car door machine is cut off by single-chip microcomputer, otherwise the car door machine continues closed door, and buzzer H can send prompt tone, the driver after car door is closed fully again the key of closing the door by the alarms and security systems for automobiles remote controller car door is pinned (some automobile need earlier by behind the key that opens the door of anti-theft device remote controller again by the key of closing the door, can lock door).Passenger and driver also can be by press button S in the car
1Direct closed door.
Close fully or after car door opened fully, the task of system finished at car door, except single-chip microcomputer and door opening degree sensor are in the holding state, single-chip microcomputer has cut off the power supply of other circuit.
The invention has the beneficial effects as follows: control accuracy height, simple in structure, good reliability, the automatic safe control of various automotive door is grown, is easy to realize to the life-span.
Description of drawings
Fig. 1 is a system of the present invention control block diagram
Fig. 2 is grating detector and door opening degree sensor installation site figure
Among the figure: SR
1-angular transducer; The 1-car door; The 2-body hinge; B
1, B
3-light barrier transmitter; B
2, B
4-grating receiver.
Fig. 3 car door machine installation site figure
The 4-front windshield; 5-car door machine.
Fig. 4 is grating detector, door opening degree sensor and car door machine installation site figure
Among the figure: B
5-light barrier transmitter; B
6-grating receiver; SR
2-displacement transducer; The pneumatic car door machine of 7-.
Fig. 5 is first enforcement of system, control circuit figure
Among Fig. 5: IC
1-ATmage603 single-chip microcomputer; R
1~R
7-resistance; The JGX20F-solid-state relay; The H-buzzer; B
1, B
2-light barrier transmitter; B
2, B
4-grating receiver; SR
1-angular transducer; The ADP1073-DC converter; C
1~C
3Capacitor; IC
2-crystal oscillator; The G-automobile storage battery; S
1, S
2-press button;
MThe dynamo-electric machine of-electric door.
Fig. 6 is second enforcement figure of system, control circuit
Among Fig. 6: except L
1Be close the door coil, L of the dynamo-electric magnet valve of pneumatic car door
2Be open the door coil and displacement transducer SR of the dynamo-electric magnet valve of pneumatic car door
2Outward, remaining device is identical with Fig. 5.
Fig. 7 is a computer-controlled program block diagram of the present invention.
The specific embodiment
Below in conjunction with the accompanying drawing and the specific embodiment the present invention is described in further detail:
Among Fig. 2, light barrier transmitter B
1, B
3With grating receiver B
2, B
4Corresponding one by one respectively being inlaid in continuously on the upper and lower position of vehicle body doorframe, and concordant with the doorframe surface.Angular transducer SR
1Shell be installed on the part that body hinge maintains static angular transducer SR
1Rotating disk be installed in the rotating shaft of body hinge.
Light barrier transmitter and receiver are selected the SLC type grating detector of Shanghai PEPPERL FUCHS Automation Co., Ltd for use, and (its angle of divergence<5 °, accuracy of detection is accuracy of detection 〉=100mm for the finger level
2); Angular transducer is selected the electro-optical pickoff of ON1105 type for use.
Among Fig. 3, electric door machine 5 is installed in the vehicle body of vehicle body doorframe top by bolt, and the other end of car door machine 5 push rods is fixed by bolts to last the place ahead of door frame.Electric door machine 5 adopts the door machine of the small-sized automatic door in hotel.
Light barrier transmitter B among Fig. 4
5, grating receiver B
6Mounting method identical with Fig. 2, the mounting method of pneumatic car door machine 7 is identical with Fig. 3, displacement transducer SR
2Be installed on the vehicle body doorframe.Car door machine 7 adopts the pneumatic car door machine identical with motor bus.
Among Fig. 5, each device of automobile revolving door security system control circuit connects with mounting method as follows:
1) each device method of attachment of voice warning circuit
The positive source of buzzer H is connected with the power output end of solid-state relay JGX20F, the bonding of the power cathode of H (promptly connecing automobile storage battery G negative pole).The power input of JGX20F is connected the minus earth of JGX20F with battery G positive pole.The signal input part of JGX20F and resistance R
1An end be connected R
1The other end and single-chip microcomputer 1C
1Output interface PC
1Be connected.
2) each device method of attachment of safety detection circuit
Light barrier transmitter B
1Minus earth, B
1Positive pole is connected with the power output end of solid-state relay JGX20F.The JGX20F power input is connected with automobile storage battery G positive pole, the minus earth of JGX20F, JGX20F input and resistance R
2An end be connected R
2The other end and single-chip microcomputer IC
1Output interface PC
2Be connected.Grating receiver B
2Signal output part and single-chip microcomputer IC
1Input interface PF
1Be connected B
2Other end bonding.
Resistance R
3Input and grating receiver B
4Signal output part respectively with single-chip microcomputer 1C
1Output interface PC
3With input interface PF
0Outside being connected, method that other device connects and above-mentioned B
1And B
2Identical.
3) each device method of attachment of door opening degree testing circuit
The power input of DC converter ADP1073 is connected with battery G positive pole, the power output end of ADP1073 and angular transducer SR
1Power input links.Sensor SR
1Minus earth, sensor SR
1Signal output part and single-chip microcomputer IC
1Input interface PF
2Be connected.
4) connection of car door Dynamic Signal input circuit
Door-lock motor open the door circuit and single-chip microcomputer 1C
1Input interface PF
3Be connected.
Door-lock motor closes gate circuit and single-chip microcomputer 1C
1Input interface PF
4Be connected.
5) each device method of attachment of car door opening control circuit
The dynamo-electric machine of car door
MThe electromagnetic coil minus earth that opens the door, the electromagnetic coil positive pole respectively with press button S
2Power output end be connected S with the JGX20F output
2Power input be connected with automobile storage battery G positive pole, the minus earth of JGX20F, the positive pole of JGX20F is connected with the positive pole of battery G, the input of JGX20F and resistance R
6An end be connected R
6The other end and single-chip microcomputer IC
1Output interface PC
4Be connected.
6) each device method of attachment of closing of the door control circuit
Except resistance R 7 one ends and single-chip microcomputer IC
1Output interface PC
5Be connected and the dynamo-electric machine of car door
MClose the door electromagnetic coil respectively with press button S
1Outside being connected, the method for attachment of other device is identical with the device of the circuit that opens the door.
7) each device method of attachment of single-chip microcomputer operating circuit
Single-chip microcomputer IC
1Interface AREF is connected back ground connection, resistance R with interface AGND
5An end and single-chip microcomputer IC
1Interface AGND is connected, the other end and single-chip microcomputer IC
1Interface AV
CCBe connected interface AV
CCWith capacitor C
1An end be connected capacitor C
1The other end and resistance R
4One end is connected, R
4The other end and interface V
CCBe connected, and then be connected to DC converter ADP1073 output+the 5V power supply on.Capacitor C
2An end and crystal oscillator IC
2An end and interface microcontroller XTAL
1Be connected capacitor C
2The other end and capacitor C
3Ground connection after one end is connected, capacitor C
3The other end and crystal oscillator IC
2The other end and interface microcontroller XTAL
2Be connected.
Single-chip microcomputer IC among Fig. 5
1, crystal oscillator IC
2, resistance R
1~R
7, capacitor C
1~C
3Be welded respectively on the circuit board in control box with the solid-state relay of 5 JGX20F types, control box is installed near the instrument panel.
Buzzer H and press button S
1, S
2Be installed near on the door panel at seat by screw.Light barrier transmitter B
1, B
3With grating receiver B
2, B
4Corresponding one by one respectively being inlaid in continuously on the upper and lower position of vehicle body doorframe, and concordant with the doorframe surface.Angular transducer SR
1Shell be installed on the part that body hinge maintains static angular transducer SR
1Rotating disk be installed in the rotating shaft of body hinge.The DC converter of ADP1073 type is installed near the battery G the vehicle frame by screw.
IC among Fig. 5
1Select the single-chip microcomputer of Atmage603 type for use, IC
2Select the crystal oscillator of 12MHz for use, resistance R
1~R
3Select 0.2K Ω for use, R
6And R
7Select 0.25K Ω for use, R
4And R
5Select 10K Ω for use, capacitor C
1Select 20 μ F for use, C
2And C
3Select 50PF for use, the grating detector is selected the SLC type for use, and angular transducer is selected the biography photo-electric sensor device of ON1105 type for use, and the electric door machine adopts the door machine of the small-sized automatic door in hotel.
Among Fig. 6, automobile folding door, translation door and each parts selection of overhead door security system, installation and method of attachment are as follows:
The device of automobile folding door, translation door and overhead door and installation and coupling method, except following 3 differences, each device of remaining and Fig. 5 automobile revolving door security system is installed identical with method of attachment.
1) the sensor SR of door opening degree testing circuit
2Adopt displacement transducer to select D777 type, SR for use
2Power input is connected with the power output end of ADP1073.Sensor SR
2Minus earth, sensor SR
2Signal output part and single-chip microcomputer IC
1Input interface PF
2Be connected.
2) the car door machine adopts the pneumatic car door machine on the motor bus, the coil L that opens the door of the dynamo-electric magnet valve of car door
2Minus earth, coil electrode respectively with press button S
2Power output end be connected S with the JGX20F power output end
2Power input be connected with automobile storage battery G positive pole, the minus earth of JGX20F, the positive pole of JGX20F is connected with the positive pole of battery G, control signal input and the resistance R of JGX20F
6An end be connected R
6The other end and single-chip microcomputer IC
1Control signal output interface PC
4Be connected.
The coil L that closes the door of the dynamo-electric magnet valve of car door
1Minus earth, coil electrode respectively with press button S
1Power output end be connected S with the JGX20F power output end
1Power input be connected with automobile storage battery G positive pole, the minus earth of JGX20F, the positive pole of JGX20F is connected with the positive pole of battery G, control signal input and the resistance R of JGX20F
7An end be connected R
7The other end and single-chip microcomputer IC
1Output interface PC
5Be connected.
3) press button S
1, S
2Be installed near the driver the instrument panel by screw.
Represented computer-controlled program block diagram of the present invention among Fig. 7.