CN111121828A - Vehicle door state detection circuit and method - Google Patents

Vehicle door state detection circuit and method Download PDF

Info

Publication number
CN111121828A
CN111121828A CN201811294789.0A CN201811294789A CN111121828A CN 111121828 A CN111121828 A CN 111121828A CN 201811294789 A CN201811294789 A CN 201811294789A CN 111121828 A CN111121828 A CN 111121828A
Authority
CN
China
Prior art keywords
vehicle door
frequency
detection unit
unit
state
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.)
Pending
Application number
CN201811294789.0A
Other languages
Chinese (zh)
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.)
Xiamen Yaxon Networks Co Ltd
Original Assignee
Xiamen Yaxon Networks 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 Xiamen Yaxon Networks Co Ltd filed Critical Xiamen Yaxon Networks Co Ltd
Priority to CN201811294789.0A priority Critical patent/CN111121828A/en
Publication of CN111121828A publication Critical patent/CN111121828A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage

Abstract

A car door state detection circuit and method comprises a car door input detection unit, a frequency generation unit, a frequency detection unit and a display unit; the input end of the vehicle door input detection unit is connected with a plurality of vehicle doors so as to output corresponding ground resistance values according to the vehicle door states; the frequency generation unit is connected with the vehicle door input detection unit to convert the ground resistance value into PWM waveform output with corresponding frequency; the frequency detection unit is connected with the frequency generation unit to identify the frequency and output a corresponding vehicle door state; the display unit is connected with the frequency detection unit to display and remind the state of the car door in real time. The circuit of the invention has simple structure, easy realization, resource requirement reduction, simple software realization and development cost saving.

Description

Vehicle door state detection circuit and method
Technical Field
The invention relates to the field of vehicle door state detection, in particular to a vehicle door state detection circuit and a vehicle door state detection method.
Background
The mechanical pointer instrument adopts the LED lamps to indicate the opening of the vehicle door for alarming, but basically only indicates the state that the vehicle door is opened, but can not distinguish which vehicle door is opened, if the state needs to be distinguished, the number of the LED lamps needs to be increased, and the area displayed by the instrument is occupied, so the traditional mechanical pointer instrument can rarely display the state indication of a plurality of vehicle doors. At present, a plurality of mechanical pointers and a display screen are applied to a hybrid instrument, the state of a plurality of doors can be displayed, but a plurality of I/O ports are often required for detection, and chip resources are occupied. The ADC is adopted for detection, and the engineering realization of effective range division and resolution setting of different combination states of a plurality of vehicle doors is difficult.
Disclosure of Invention
The main purpose of the present invention is to overcome the above mentioned drawbacks in the prior art, and to provide a vehicle door status detection circuit and method that only uses one I/O port, reduces the resource requirement, and is easy to implement.
The invention adopts the following technical scheme:
a vehicle door state detection circuit characterized in that: the system comprises a vehicle door input detection unit, a frequency generation unit, a frequency detection unit and a display unit; the input end of the vehicle door input detection unit is connected with a plurality of vehicle doors so as to output corresponding ground resistance values according to the vehicle door states; the frequency generation unit is connected with the vehicle door input detection unit to convert the ground resistance value into PWM waveform output with corresponding frequency; the frequency detection unit is connected with the frequency generation unit to identify the frequency and output a corresponding vehicle door state; the display unit is connected with the frequency detection unit to display and remind the state of the car door in real time.
Preferably, the vehicle door input detection unit comprises a plurality of groups of detection circuits connected in parallel, each detection circuit comprises a resistor Rn and a triode Qn, one end of the resistor Rn is connected with the power supply end of the frequency generation unit, the other end of the resistor Rn is connected with the emitting electrode of the triode Qn, the collecting electrode of the triode Qn is connected with the discharging end of the frequency generation unit, and the base electrode of the triode Qn is connected with the vehicle door.
Preferably, the detection circuit further includes a bias resistor Rna, wherein one end of the bias resistor Rna is connected to the power supply terminal of the frequency generation unit, and the other end is connected to the base of the transistor Qn.
Preferably, the number of the detection circuits corresponds to the number of the vehicle doors one to one.
Preferably, the frequency generation unit uses a timer.
Preferably, the display unit comprises an MPU, a sounder and a display screen; the MPU is connected with the frequency detection unit, the sounder and the display screen to display the state of the car door in real time and remind.
A vehicle door state detection method is characterized in that: the vehicle door input detection unit is arranged to output a corresponding ground resistance value according to the vehicle door state, convert the ground resistance value into a PWM waveform with a corresponding frequency to be output, identify the frequency of the PWM waveform, and obtain the corresponding vehicle door state according to the frequency lookup table to display and remind.
Preferably, the frequency lookup table records a correspondence between the frequency and the vehicle door state.
As can be seen from the above description of the present invention, compared with the prior art, the present invention has the following advantages:
1. the invention converts the opening and closing state of the vehicle door into frequency components through circuit processing, and for engineering application, the frequency separation degree and the identification degree are higher than those of voltage, and the invention is easy to detect and has no engineering realization difficulty.
2. The invention can detect multi-channel door switch signals by adopting a time counter opening, or can realize multi-channel low-effective switch signal detection.
3. The circuit of the invention has simple structure, easy realization, resource requirement reduction, simple software realization and development cost saving.
Drawings
FIG. 1 is a block diagram of the present invention;
FIG. 2 is a circuit diagram of the present invention, with door 1 representing a door signal hard wire 1;
wherein: 10. the device comprises a door input detection unit 20, a frequency generation unit 30, a frequency detection unit 40 and a display unit.
Detailed Description
The invention is further described below by means of specific embodiments.
Referring to fig. 1 and 2, a door state detection circuit includes a door input detection unit 10, a frequency generation unit 20, a frequency detection unit 30, a display unit 40, and the like. The door input detection unit 10 is connected to a plurality of doors and is operative to generate a corresponding ground resistance value when the plurality of doors are in different states, including open or closed.
The frequency generation unit 20 is used for converting the ground value into a PWM waveform output with a corresponding frequency. The timer can be adopted, and is provided with a power supply terminal VCC, a grounding terminal GND, a discharge terminal, an output terminal, a trigger terminal, a control terminal, a resistor RA, a resistor RB and the like. This resistance RA and RB are established ties, and resistance RB one end links to each other with the trigger end, and the other end links to each other with the end of discharging, and resistance RA links to each other with power end VCC. A capacitor C is connected between the trigger terminal and the ground terminal, and a capacitor C1 is connected between the control terminal and the ground terminal. The timer may be a 555 timer or other similar timer, see fig. 2.
Specifically, the vehicle door input detection unit 10 includes a plurality of sets of detection circuits connected in parallel, each detection circuit includes a resistor Rn and a transistor Qn, one end of the resistor Rn is connected to one end of the resistor RA, the other end of the resistor Rn is connected to an emitter of the transistor Qn, a collector of the transistor Qn is connected to the other end of the resistor RA, and a base of the transistor Qn is connected to a vehicle door signal hard wire.
When the vehicle door is closed, the vehicle door signal hard wire outputs a high level or a suspension state, the base electrode of the corresponding triode Qn is the high level, and the triode Qn is not conducted. When the vehicle door is opened, the vehicle door signal hard wire outputs low level, the base electrode of the triode Qn connected with the vehicle door signal hard wire is grounded, and the triode Qn is conducted.
The detection circuit of the vehicle door input detection unit 10 of the present invention further comprises a bias resistor Rna, one end of the bias resistor Rna is connected to the power supply end of the frequency generation unit, the other end is connected to the base of the triode Qn, the bias resistor Rna enables the gate of the triode to be in a determined state when no signal is present, and the bias resistor Rna does not affect other states of the circuit.
The number of the detection circuits corresponds to the number of the vehicle doors one to one. For example, five doors are included, five detection circuits are provided, the resistors Rn are respectively R1, R2, R3, R4 and R5, the triode Qn is respectively Q1, Q2, Q3, Q4 and Q5, and the bias resistor Rna is respectively R1a, R2a, R3a, R4a and R5 a.
The frequency detection unit 30 is connected to the output end of the frequency generation unit 20, and is configured to identify a frequency and output a corresponding vehicle door state, where the frequency detection unit is implemented by using an MCU, and is provided with a frequency lookup table, and obtains the vehicle door state corresponding to the identified frequency according to the frequency lookup table.
The display unit 40 includes an MPU, a sounder, a display screen, and the like. The MPU is a graphic processing chip and is connected with the frequency detection unit 30, the sounder and the display screen, the MPU receives the state of the vehicle door from the MCU, converts the state into a graphic and displays the graphic through the display screen, and the sounder is a buzzer or a loudspeaker and can play a voice prompt to remind.
Based on the circuit, the invention provides a vehicle door state detection method, which comprises a vehicle door input detection unit 10, a corresponding ground resistance value is output according to the vehicle door state, the ground resistance value is converted into a PWM waveform output with a corresponding frequency, and the frequency of the PWM waveform is identified.
The specific resistance to ground and the output PWM waveform frequency are calculated as follows:
when all doors are closed, the transistors Q1-Q5 are not turned on, and the resistors R1-R5 are not connected in parallel with the resistor RA, so that the output square wave frequency of the output end V0 of the frequency generation unit 20 is 0.722/(RA × C).
When the door 1 is opened, the gate of the transistor Q1 is pulled low, Q1 is turned on, the resistor R1 is connected in parallel with the resistor RA, and the output square wave frequency F of the output terminal V0 is 0.722/(RA1 ═ C), and RA1 is (RA × R1)/RA + R1.
When the door 2 is opened, the gate of the transistor Q2 is pulled low, Q2 turns on R2 and RA in parallel, and the output square wave frequency F of V0 is 0.722/(RA2 ═ C), and RA2 is (RA × R2)/RA + R2.
And so on when other single doors are opened.
When two doors are opened simultaneously, two gates are opened, two resistors are connected in parallel with RA, F is equal to 0.722/(RAxy C),1/RAxy is equal to 1/RA +1/Rx +1/Ry, x, y is equal to 1, 2, 3, 4 and 5, and x is equal to y. When a plurality of doors are opened at the same time, the calculation mode is analogized.
And finally, obtaining the corresponding vehicle door state according to the frequency lookup table, displaying and reminding. The frequency lookup table records the corresponding relation between the frequency and the state of the vehicle door.
The circuit and the method of the invention convert the opening and closing state of the vehicle door into frequency components through circuit processing, and for engineering application, the frequency separation degree and the identification degree are higher than those of voltage, and the circuit and the method are easy to detect and have no engineering realization difficulty. The multi-channel door switch signal detection can be realized by adopting one time counter opening, or the multi-channel low effective switch signal detection can be realized.
The above description is only an embodiment of the present invention, but the design concept of the present invention is not limited thereto, and any insubstantial modifications made by using the design concept should fall within the scope of infringing the present invention.

Claims (8)

1. A vehicle door state detection circuit characterized in that: the system comprises a vehicle door input detection unit, a frequency generation unit, a frequency detection unit and a display unit; the input end of the vehicle door input detection unit is connected with a plurality of vehicle doors so as to output corresponding ground resistance values according to the vehicle door states; the frequency generation unit is connected with the vehicle door input detection unit to convert the ground resistance value into PWM waveform output with corresponding frequency; the frequency detection unit is connected with the frequency generation unit to identify the frequency and output a corresponding vehicle door state; the display unit is connected with the frequency detection unit to display and remind the state of the car door in real time.
2. A vehicle door state detection circuit as claimed in claim 1, wherein: the vehicle door input detection unit comprises a plurality of groups of detection circuits which are connected in parallel, each detection circuit comprises a resistor Rn and a triode Qn, one end of the resistor Rn is connected with the power supply end of the frequency generation unit, the other end of the resistor Rn is connected with the emitting electrode of the triode Qn, the collecting electrode of the triode Qn is connected with the discharging end of the frequency generation unit, and the base electrode of the triode Qn is connected with the vehicle door.
3. A vehicle door state detection circuit as claimed in claim 2, wherein: the detection circuit further comprises a bias resistor Rna, wherein one end of the bias resistor Rna is connected with the power supply end of the frequency generation unit, and the other end is connected with the base electrode of the triode Qn.
4. A vehicle door state detection circuit as claimed in claim 2, wherein: the number of the detection circuits corresponds to the number of the vehicle doors one to one.
5. A vehicle door state detection circuit as claimed in claim 1, wherein: the frequency generation unit adopts a timer.
6. A vehicle door state detection circuit as claimed in claim 1, wherein: the display unit comprises an MPU, a sounder and a display screen; the MPU is connected with the frequency detection unit, the sounder and the display screen to display the state of the car door in real time and remind.
7. A vehicle door state detection method is characterized in that: the vehicle door input detection unit is arranged to output a corresponding ground resistance value according to the vehicle door state, convert the ground resistance value into a PWM waveform with a corresponding frequency to be output, identify the frequency of the PWM waveform, and obtain the corresponding vehicle door state according to the frequency lookup table to display and remind.
8. A vehicle door state detecting method as claimed in claim 7, wherein: the frequency lookup table records the corresponding relation between the frequency and the state of the vehicle door.
CN201811294789.0A 2018-11-01 2018-11-01 Vehicle door state detection circuit and method Pending CN111121828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811294789.0A CN111121828A (en) 2018-11-01 2018-11-01 Vehicle door state detection circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811294789.0A CN111121828A (en) 2018-11-01 2018-11-01 Vehicle door state detection circuit and method

Publications (1)

Publication Number Publication Date
CN111121828A true CN111121828A (en) 2020-05-08

Family

ID=70494786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811294789.0A Pending CN111121828A (en) 2018-11-01 2018-11-01 Vehicle door state detection circuit and method

Country Status (1)

Country Link
CN (1) CN111121828A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010045890A1 (en) * 2000-01-20 2001-11-29 Winson Wu Vehicle security system and control method therefor
CN102642468A (en) * 2012-05-11 2012-08-22 盐城华为汽车电子技术有限公司 Passenger car door closing reminding system
JP2013189177A (en) * 2012-03-12 2013-09-26 Shigeru Iwasaki Vehicle warning system
CN203344814U (en) * 2013-05-17 2013-12-18 柳州职业技术学院 Automatic controller of school bus stop sign
CN103612594A (en) * 2013-11-05 2014-03-05 王襄 Automobile door display warning device
CN204161306U (en) * 2014-09-22 2015-02-18 北汽福田汽车股份有限公司 Alarming device for automobile anti-theft and there is its automobile
CN205003577U (en) * 2015-09-15 2016-01-27 朱明达 Power booster and power supply unit
CN205395923U (en) * 2016-03-02 2016-07-27 宝沃汽车(中国)有限公司 Door detection device and have its vehicle
CN105988035A (en) * 2015-02-27 2016-10-05 上海宣研电子科技有限公司 Waveform detection circuit, switch power supply and communication detector
CN106114211A (en) * 2016-07-31 2016-11-16 成都知人善用信息技术有限公司 A kind of intelligence drunk driving detecting and controlling system
CN206075263U (en) * 2016-08-15 2017-04-05 万科思自控信息(中国)有限公司 Multiplexing reception device based on single-chip microcomputer GPIO pins
CN106812405A (en) * 2016-10-15 2017-06-09 广东探金电子科技有限公司 A kind of passenger on public transport is got off safe control system
CN107650787A (en) * 2017-08-11 2018-02-02 惠州市德赛西威汽车电子股份有限公司 A kind of warning circuit for detecting door contact interrupter state
CN107878322A (en) * 2017-11-20 2018-04-06 成都雅骏新能源汽车科技股份有限公司 A kind of personnel are from car system for prompting

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010045890A1 (en) * 2000-01-20 2001-11-29 Winson Wu Vehicle security system and control method therefor
JP2013189177A (en) * 2012-03-12 2013-09-26 Shigeru Iwasaki Vehicle warning system
CN102642468A (en) * 2012-05-11 2012-08-22 盐城华为汽车电子技术有限公司 Passenger car door closing reminding system
CN203344814U (en) * 2013-05-17 2013-12-18 柳州职业技术学院 Automatic controller of school bus stop sign
CN103612594A (en) * 2013-11-05 2014-03-05 王襄 Automobile door display warning device
CN204161306U (en) * 2014-09-22 2015-02-18 北汽福田汽车股份有限公司 Alarming device for automobile anti-theft and there is its automobile
CN105988035A (en) * 2015-02-27 2016-10-05 上海宣研电子科技有限公司 Waveform detection circuit, switch power supply and communication detector
CN205003577U (en) * 2015-09-15 2016-01-27 朱明达 Power booster and power supply unit
CN205395923U (en) * 2016-03-02 2016-07-27 宝沃汽车(中国)有限公司 Door detection device and have its vehicle
CN106114211A (en) * 2016-07-31 2016-11-16 成都知人善用信息技术有限公司 A kind of intelligence drunk driving detecting and controlling system
CN206075263U (en) * 2016-08-15 2017-04-05 万科思自控信息(中国)有限公司 Multiplexing reception device based on single-chip microcomputer GPIO pins
CN106812405A (en) * 2016-10-15 2017-06-09 广东探金电子科技有限公司 A kind of passenger on public transport is got off safe control system
CN107650787A (en) * 2017-08-11 2018-02-02 惠州市德赛西威汽车电子股份有限公司 A kind of warning circuit for detecting door contact interrupter state
CN107878322A (en) * 2017-11-20 2018-04-06 成都雅骏新能源汽车科技股份有限公司 A kind of personnel are from car system for prompting

Similar Documents

Publication Publication Date Title
EP1762859A3 (en) Signal detection circuit of magnetic sensor
CN101334429B (en) Surge electric current test circuit
CN107340745B (en) Data acquisition, control and transmission system based on MCU
CN111121828A (en) Vehicle door state detection circuit and method
CN110687846B (en) Circuit for driving buzzer and detecting battery voltage ADC to share one IO port
CN104796114A (en) Low-leakage error analogue integrator
CN216052060U (en) Detection circuit for tri-state input signal
CN207301717U (en) One kind is suitable for low effective on-off model Acquisition Circuit
CN203552556U (en) Modern electronic integrated experiment system
CN114003147B (en) Signal detection device, touch pad and electronic equipment
CN105609022A (en) GIP detection circuit and flat panel display device
CN206379936U (en) Multi signal change-over circuit
CN202305458U (en) Air quality detecting device
CN106794813B (en) A kind of conversion match circuit of vehicle speed pulse level
CN108711392A (en) A kind of naked glass panel, capacitive detection circuit and capacitance determining method
CN2489345Y (en) Gamma-ray discriminator
CN207516474U (en) Armored vehicle chassis electronic equipment detection device
CN205450201U (en) Intelligent test circuit board
CN105390079B (en) GIP detects circuit and panel display apparatus
CN204666722U (en) Intelligent digital frequency meter
CN107390050A (en) Power line carrier signal detects warning system and method
CN103391090A (en) Circuit capable of recognizing three states of input signals
CN104749407B (en) Oscillograph triggers pulse width detection method, apparatus and a kind of oscillograph
CN202351699U (en) Detecting circuit of automobile switching value signal
Olokede Design of a clap activated switch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination