CN210212295U - Vehicle-mounted key diagnosis circuit and vehicle-mounted electronic equipment - Google Patents

Vehicle-mounted key diagnosis circuit and vehicle-mounted electronic equipment Download PDF

Info

Publication number
CN210212295U
CN210212295U CN201920870681.5U CN201920870681U CN210212295U CN 210212295 U CN210212295 U CN 210212295U CN 201920870681 U CN201920870681 U CN 201920870681U CN 210212295 U CN210212295 U CN 210212295U
Authority
CN
China
Prior art keywords
key
vehicle
mcu
resistor
diagnosis circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201920870681.5U
Other languages
Chinese (zh)
Inventor
Kang Wang
王康
Junwei Feng
冯军伟
Mingfu Yu
喻明富
Jiayu Zhang
张家玉
Ling Liu
刘玲
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.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Hubei Ecarx Technology 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 Hubei Ecarx Technology Co Ltd filed Critical Hubei Ecarx Technology Co Ltd
Priority to CN201920870681.5U priority Critical patent/CN210212295U/en
Application granted granted Critical
Publication of CN210212295U publication Critical patent/CN210212295U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The utility model provides an on-vehicle button diagnosis circuit and on-vehicle electronic equipment, on-vehicle button diagnosis circuit include button diagnosis circuit and constant voltage power supply, and wherein, constant voltage power supply is used for providing stabilizing voltage for button diagnosis circuit. The key diagnosis circuit comprises a pull-up resistor R1, one end of the pull-up resistor R1 is connected with the voltage-stabilized power supply, the other end of the pull-up resistor R1 is connected with the internal resistance of the vehicle-mounted key and the detection port of the MCU of the vehicle networking equipment, and the key diagnosis circuit outputs the divided voltage of the internal resistance of the vehicle-mounted key to the detection port of the MCU. The MCU diagnoses the state of the vehicle-mounted key according to the partial pressure of the internal resistance of the vehicle-mounted key, thereby timely finding whether the vehicle-mounted key is damaged or not or the wiring harness of the vehicle-mounted key is loose, ensuring that the key of the vehicle-mounted equipment can keep a good working state, avoiding the serious problem that the key cannot play a role when an emergency occurs, avoiding the situation that a user continues to use a vehicle-mounted system under the condition that the key breaks down, and effectively avoiding the occurrence of safety problems.

Description

Vehicle-mounted key diagnosis circuit and vehicle-mounted electronic equipment
Technical Field
The utility model relates to the field of automotive technology, especially, relate to an on-vehicle button diagnosis circuit and electronic equipment.
Background
According to the traditional vehicle-mounted key detection circuit, a switch signal of a vehicle-mounted key is sent to an IO port of a single chip microcomputer, and the working state of the vehicle-mounted key is detected through the single chip microcomputer. The single chip microcomputer judges whether the vehicle-mounted key is in a pressed state or a reset state by detecting whether the switch signal belongs to a high level or a low level. However, the vehicle-mounted key has a fault state in addition to a normal working state, wherein the fault state includes that the vehicle-mounted key is damaged or a wiring harness is loosened, and the like.
SUMMERY OF THE UTILITY MODEL
In view of the above, the present invention has been made to provide an on-vehicle key diagnosis circuit and an on-vehicle electronic apparatus that overcome the above problems or at least partially solve the above problems.
According to one aspect of the present invention, there is provided a vehicle-mounted button diagnosis circuit, comprising a button diagnosis circuit and a regulated power supply, wherein,
the voltage-stabilized power supply is configured to provide a stable voltage for the key diagnosis circuit;
the key diagnosis circuit comprises a pull-up resistor R1, wherein one end of the pull-up resistor R1 is connected with the voltage-stabilized power supply, and the other end of the pull-up resistor R1 is connected with the internal resistance of the vehicle-mounted key and the detection port of the MCU of the vehicle networking equipment;
the key diagnosis circuit is configured to provide the divided voltage of the internal resistance of the vehicle-mounted key to a detection port of the MCU, wherein the MCU diagnoses the state of the vehicle-mounted key according to the divided voltage of the internal resistance of the vehicle-mounted key.
Optionally, the key identification circuit includes: MOS transistor Q1, triode Q2, resistor R3, resistor R4, resistor R5 and capacitor C1, wherein,
the resistor R3 is connected between the grid of the MOS transistor Q1 and the input end of the key identification circuit;
the resistor R4 is connected between the drain of the MOS transistor Q1 and the ground, and the drain of the MOS transistor Q1 is also connected with the base of the triode Q2; the collector of the triode Q2 is connected with the input interface of the MCU, and the emitter is grounded;
the resistor R5 is connected between the source electrode of the MOS tube Q1 and the input interface of the MCU, and the source electrode of the MOS tube Q1 is also connected with the regulated power supply;
the capacitor C1 is connected between the gate of the MOS transistor Q1 and the ground;
the key signal received by the key identification circuit is a key pressing signal, the MOS tube Q1 is conducted, so that the triode Q2 is driven to be conducted, and the output end outputs a low level signal to the input interface of the MCU;
the key signal received by the key identification circuit is a key reset signal, the MOS tube Q1 is cut off, the triode Q2 is cut off, and the output end outputs a high-level signal to the input interface of the MCU.
Optionally, the keystroke diagnostic circuit further comprises:
and one end of the resistor R2 is connected with the vehicle-mounted key and the pull-up resistor R1, and the other end of the resistor R2 is connected with a detection port of the MCU of the vehicle networking equipment.
According to the utility model discloses an on the other hand still provides an electronic equipment, including on-vehicle electronic equipment body and any one embodiment of the above-mentioned on-vehicle button diagnosis circuit.
The embodiment of the utility model provides an in, on-vehicle button diagnosis circuit includes button diagnosis circuit and constant voltage power supply, and wherein, constant voltage power supply is used for providing stable voltage for button diagnosis circuit. The key diagnosis circuit comprises a pull-up resistor R1, wherein one end of the pull-up resistor R1 is connected with the voltage-stabilized power supply, and the other end of the pull-up resistor R1 is connected with the internal resistance of the vehicle-mounted key and the detection port of the MCU of the vehicle networking equipment. The key diagnosis circuit provides the partial pressure of the internal resistance of the vehicle-mounted key to the detection port of the MCU, wherein the MCU diagnoses the state of the vehicle-mounted key according to the partial pressure of the internal resistance of the vehicle-mounted key, so that the fault of the vehicle-mounted key is timely found and eliminated, the key of the vehicle-mounted equipment can be kept in a good working state, the serious problem that the key cannot play a role in emergency is avoided, and the occurrence of safety accidents is effectively avoided. Furthermore, the circuit structure of the scheme is simple, and the process of key diagnosis is convenient and quick.
The above description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented according to the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more obvious and understandable, the following detailed description of the present invention is given.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic structural diagram of an on-board button diagnosis circuit according to an embodiment of the present invention;
fig. 2 shows a schematic structural diagram of an in-vehicle electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to solve the above technical problem, an embodiment of the present invention provides an on-vehicle button diagnosis circuit, as shown in fig. 1, the on-vehicle button diagnosis circuit includes button diagnosis circuit 11 and a regulated power supply, wherein the regulated power supply is used for providing stable voltage for button diagnosis circuit 11. The key diagnosis circuit 11 includes a pull-up resistor R1, wherein one end of the pull-up resistor R1 is connected to the regulated power supply, and the other end is connected to the internal resistance of the vehicle-mounted key and a detection port (not shown) of an MCU (micro controller Unit) of the vehicle networking device. The key diagnosis circuit 11 supplies the divided voltage of the internal resistance R0 of the vehicle-mounted key to the detection port of the MCU, wherein the MCU diagnoses the state of the vehicle-mounted key according to the divided voltage of the internal resistance of the vehicle-mounted key. The embodiment of the present invention defines the internal resistance of the vehicle-mounted key as R0 (not shown in the figure).
The embodiment of the utility model provides a under the condition of on-vehicle button diagnosis circuit work, the internal resistance R0 and the pull-up resistance R1 of on-vehicle button are established ties, do the partial pressure through the internal resistance R0 of pull-up resistance R1 and on-vehicle button. The KEY diagnosis circuit outputs a voltage signal KEY _ ADC of the internal resistance R0 of the vehicle-mounted KEY to an AD port of an MCU of the vehicle networking equipment for AD detection, when the vehicle-mounted KEY is poorly connected, the internal resistance R0 of the vehicle-mounted KEY is larger than the internal resistance R0 of the vehicle-mounted KEY which is normally connected, and when the vehicle-mounted KEY leaks electricity to GND, the internal resistance R0 of the vehicle-mounted KEY is smaller than the internal resistance R0 of the vehicle-mounted KEY which is normally connected.
Therefore, the AD port of the MCU of the car networking device can detect the voltage signal KEY _ ADC, in this embodiment, the regulated voltage value provided by the regulated power supply is 3.3V, and the state of the car-mounted KEY is diagnosed according to the detected voltage signal KEY _ ADC, with the following diagnosis results:
when KEY _ ADC is 3.3V × R0/(R0+ R1), determining that the KEY connection is normal;
when KEY _ ADC >3.3V × R0/(R0+ R1), determining that the KEY connection is bad;
when KEY _ ADC <3.3V × R0/(R0+ R1), it is determined that the KEY pair leaks to GND.
The MCU diagnoses the state of the vehicle-mounted key according to the partial pressure of the internal resistance R0 of the vehicle-mounted key, so that a user or a technician can timely find and eliminate the fault of the vehicle-mounted key, the key of the vehicle-mounted equipment can be ensured to be in a good working state, the serious problem that the key cannot play a role in emergency is avoided, and the occurrence of safety accidents is effectively avoided.
With continued reference to fig. 1, in an embodiment of the present invention, the key diagnosis circuit 11 further includes a resistor R2, the resistor R2 is connected to the vehicle-mounted key and the pull-up resistor R1 at one end, and the other end is connected to the detection port of the MCU of the vehicle networking device. The resistor R2 is usually a resistor with a small resistance value, so the resistance value of the resistor R2 may not be taken into consideration for the divided voltage of the internal resistance R0 of the vehicle-mounted key, i.e., the divided voltage of the internal resistance R0 of the vehicle-mounted key is not affected by the resistance value of the resistor R2.
The utility model discloses an in the embodiment, on-vehicle button diagnosis circuit still includes button recognition circuit 12, button recognition circuit 12 includes the input, output and power end, on-vehicle button is connected to the input, pull-up resistance R1 and detection port, MCU's input interface is connected to the output, constant voltage power supply is connected to the power end, button recognition circuit 12 converts the key signal of on-vehicle button into voltage signal and provides MCU, wherein, MCU passes through voltage signal and confirms the key signal.
In this embodiment, if the voltage signal supplied to the MCU is at a low level, it represents that the vehicle-mounted key is in a pressed state, and if the voltage signal supplied to the MCU is at a high level, it represents that the vehicle-mounted key is in a reset state.
With reference to fig. 1, in an embodiment of the present invention, the key identification circuit 12 specifically includes a MOS transistor Q1, a triode Q2, a resistor R3, a resistor R4, a resistor R5, and a capacitor C1, wherein the resistor R3 is connected between the gate of the MOS transistor Q1 and the input terminal of the key identification circuit 12. The resistor R4 is connected between the drain of the MOS transistor Q1 and the ground, and the drain of the MOS transistor Q1 is also connected with the base of the triode Q2. The collector of the transistor Q2 is connected to the input interface (not shown) of the MCU, and the emitter is grounded. The resistor R5 is connected between the source of the MOS transistor Q1 and the input interface of the MCU, and the source of the MOS transistor Q1 is also connected with a regulated power supply. The capacitor C1 is connected between the gate of the MOS transistor Q1 and ground.
When the key signal received by the key identification circuit 12 is a key pressing signal, the MOS transistor Q1 is turned on, thereby driving the transistor Q2 to be turned on, and the output terminal of the key identification circuit 12 outputs a low level signal to the input interface of the MCU. When the key signal received by the key identification circuit 12 is a key reset signal, the MOS transistor Q1 is turned off, the triode Q2 is turned off, and the output terminal of the key identification circuit 12 outputs a high level signal to the input interface of the MCU.
IN this embodiment, the vehicle-mounted KEY is connected to the ground, after the vehicle-mounted KEY is pressed, a vehicle-mounted KEY input signal KEY _ IN is provided, the gate of the MOS transistor Q1 is at a low level, the MOS transistor Q1 is turned on, at this time, the triode Q2 is turned on, and the output end of the KEY identification circuit 12 outputs a low-level signal KEY _ OUT to the IO port of the MCU. After the vehicle-mounted KEY is reset, the gate of the MOS transistor Q1 is at a high level, the MOS transistor Q1 is turned off, at this time, the triode Q2 is turned off, and the output end of the KEY identification circuit 12 outputs a high-level signal KEY _ OUT to the IO port of the MCU. The capacitor C1 and the resistor R3 in the key identification circuit can filter interference of input signals.
In the embodiment, the input end of the key identification circuit and the key diagnosis circuit are respectively connected with the same vehicle-mounted key, and the wiring harness is input by using one key, so that the key diagnosis function and the key identification function are realized simultaneously, and the structure of the whole key diagnosis circuit is simpler.
The utility model relates to an embodiment, MCU can also pass through vehicle bus with the display instrument of car networking equipment and be connected, MCU can send the diagnostic result of the on-vehicle button state diagnosed through button diagnosis circuit 11 to the display instrument, shows the diagnostic result on the display instrument. The MCU may also transmit information on the pressed and reset states of the on-vehicle key identified by the key identification circuit 12 to the display instrument, and display information on the current position state of the key on the display instrument.
In the embodiment, the diagnosis result comprises normal connection and poor connection of the keys and the electricity leakage of the keys to GND (ground), the current position states of the keys comprise key pressing and key resetting, and the diagnosis result and the related information of the current position states of the keys are sent to the display instrument to be displayed, so that a user and a technician can conveniently check the states of the vehicle-mounted keys and eliminate problems.
In addition, the vehicle networking equipment MCU can also upload the diagnosis result to the high in the clouds, and the high in the clouds informs the user of the diagnosis result through modes such as sending short messages to communication equipment such as the mobile terminal of the user, so that the user can find out problems in time, and safety accidents are reduced.
Based on the same conception, the embodiment of the utility model provides a still provide a vehicle-mounted electronic equipment, this vehicle-mounted electronic equipment 14 is provided with the on-vehicle button diagnosis circuit 13 that introduces in any embodiment above.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principles of the present invention; such modifications and substitutions do not depart from the scope of the present invention.

Claims (6)

1. The vehicle-mounted key diagnosis circuit is characterized by comprising a key diagnosis circuit and a stabilized voltage power supply, wherein,
the voltage-stabilized power supply is configured to provide a stable voltage for the key diagnosis circuit;
the key diagnosis circuit comprises a pull-up resistor R1, wherein one end of the pull-up resistor R1 is connected with the voltage-stabilized power supply, and the other end of the pull-up resistor R1 is connected with the internal resistance of the vehicle-mounted key and the detection port of the MCU of the vehicle networking equipment;
the key diagnosis circuit is configured to provide the divided voltage of the internal resistance of the vehicle-mounted key to a detection port of the MCU, wherein the MCU diagnoses the state of the vehicle-mounted key according to the divided voltage of the internal resistance of the vehicle-mounted key.
2. The on-board key diagnosis circuit according to claim 1, further comprising:
the key identification circuit comprises an input end, an output end and a power supply end, wherein the input end is connected with the vehicle-mounted key, the pull-up resistor R1 and the detection port, the output end is connected with the input interface of the MCU, the power supply end is connected with the stabilized voltage power supply and is configured to convert a key signal of the vehicle-mounted key into a voltage signal and provide the voltage signal to the MCU, and the MCU determines the key signal through the voltage signal.
3. The on-board key diagnosis circuit according to claim 2, wherein the key identification circuit comprises: MOS transistor Q1, triode Q2, resistor R3, resistor R4, resistor R5 and capacitor C1, wherein,
the resistor R3 is connected between the grid of the MOS transistor Q1 and the input end of the key identification circuit;
the resistor R4 is connected between the drain of the MOS transistor Q1 and the ground, and the drain of the MOS transistor Q1 is also connected with the base of the triode Q2; the collector of the triode Q2 is connected with the input interface of the MCU, and the emitter is grounded;
the resistor R5 is connected between the source electrode of the MOS tube Q1 and the input interface of the MCU, and the source electrode of the MOS tube Q1 is also connected with the regulated power supply;
the capacitor C1 is connected between the gate of the MOS transistor Q1 and the ground;
the key signal received by the key identification circuit is a key pressing signal, the MOS tube Q1 is conducted, so that the triode Q2 is driven to be conducted, and the output end outputs a low level signal to the input interface of the MCU;
the key signal received by the key identification circuit is a key reset signal, the MOS tube Q1 is cut off, the triode Q2 is cut off, and the output end outputs a high-level signal to the input interface of the MCU.
4. The on-board key diagnosis circuit according to any one of claims 1 to 3,
the MCU is connected with a display instrument of the Internet of vehicles through a vehicle-mounted bus, and the MCU sends the diagnosis result of the vehicle-mounted key state to the display instrument, and the diagnosis result is displayed on the display instrument.
5. The on-board key diagnosis circuit according to claim 1, wherein the key diagnosis circuit further comprises:
and one end of the resistor R2 is connected with the vehicle-mounted key and the pull-up resistor R1, and the other end of the resistor R2 is connected with a detection port of the MCU of the vehicle networking equipment.
6. An in-vehicle electronic apparatus, characterized by comprising:
the vehicle-mounted electronic equipment body and the vehicle-mounted key diagnosis circuit as claimed in any one of claims 1 to 5, wherein the vehicle-mounted key diagnosis circuit is arranged on the vehicle-mounted electronic equipment body.
CN201920870681.5U 2019-06-11 2019-06-11 Vehicle-mounted key diagnosis circuit and vehicle-mounted electronic equipment Active CN210212295U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920870681.5U CN210212295U (en) 2019-06-11 2019-06-11 Vehicle-mounted key diagnosis circuit and vehicle-mounted electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920870681.5U CN210212295U (en) 2019-06-11 2019-06-11 Vehicle-mounted key diagnosis circuit and vehicle-mounted electronic equipment

Publications (1)

Publication Number Publication Date
CN210212295U true CN210212295U (en) 2020-03-31

Family

ID=69931145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920870681.5U Active CN210212295U (en) 2019-06-11 2019-06-11 Vehicle-mounted key diagnosis circuit and vehicle-mounted electronic equipment

Country Status (1)

Country Link
CN (1) CN210212295U (en)

Similar Documents

Publication Publication Date Title
US10347056B2 (en) Apparatus and method for monitoring vehicle ON/OFF state
CN110774907B (en) Detection and single wake-up circuit for charging CC signal
CN108357444A (en) Vehicle electronic device reserve battery state of emergency control switching circuit
CN210212295U (en) Vehicle-mounted key diagnosis circuit and vehicle-mounted electronic equipment
CN106965749A (en) Automobile speech warning device and system
EP4145153A1 (en) Switch state testing circuit, method and apparatus
US9714970B2 (en) Method for measuring the presence of a high-voltage and establishing the absence of voltage
CN208351322U (en) Hand-held type automobile diagnostic equipment
CN112485644B (en) Fault detection circuit, fault detection system and method
CN111489671B (en) Self-checking circuit for vehicle-mounted LVDS signal output
CN210222212U (en) Vehicle-mounted TBOX battery diagnosis circuit and vehicle-mounted electronic equipment
CN209987875U (en) Power supply device of automotive electronic product for taking power from automobile wiper sensor
CN112918409B (en) Power management system
CN207543081U (en) A kind of switching circuit of automobile bus K line communication levels
CN208255713U (en) The hand-held type automobile diagnostic equipment of KWP2000 communication protocol based on K line
KR102676505B1 (en) Diagnostic information transmitting apparatus and method for detecting pinmap of OBD connector
CN219266473U (en) Diagnosis circuit of vehicle-mounted emergency button
CN104835217B (en) A kind of interface circuit structure of automobile data recorder
EP2234278B1 (en) Method for operating a communications accessory device
CN219938326U (en) Switch signal control circuit
CN220924038U (en) Angular radar communication control circuit and vehicle control system
CN214540524U (en) OBD-II diagnostic device with freely switched communication circuit
CN216598958U (en) Sensor negative pole short-circuit protection circuit and vehicle
CN218917979U (en) Sensor simulation test circuit and system
CN220290093U (en) OBD diagnostic equipment serial ports multiplexing realization circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220325

Address after: 430051 No. b1336, chuanggu startup area, taizihu cultural Digital Creative Industry Park, No. 18, Shenlong Avenue, Wuhan Economic and Technological Development Zone, Wuhan, Hubei Province

Patentee after: Yikatong (Hubei) Technology Co.,Ltd.

Address before: No.c101, chuanggu start up area, taizihu cultural Digital Industrial Park, No.18 Shenlong Avenue, Wuhan Economic Development Zone, Hubei Province

Patentee before: HUBEI ECARX TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right