CN109360403B - Caravan water level sensor communication circuit based on single wire - Google Patents
Caravan water level sensor communication circuit based on single wire Download PDFInfo
- Publication number
- CN109360403B CN109360403B CN201811286199.3A CN201811286199A CN109360403B CN 109360403 B CN109360403 B CN 109360403B CN 201811286199 A CN201811286199 A CN 201811286199A CN 109360403 B CN109360403 B CN 109360403B
- Authority
- CN
- China
- Prior art keywords
- water level
- level sensor
- electrode
- resistor
- mcu
- 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
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 47
- 238000004891 communication Methods 0.000 title claims abstract description 13
- 238000011144 upstream manufacturing Methods 0.000 claims abstract description 30
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical compound [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 claims abstract description 16
- 229910052742 iron Inorganic materials 0.000 claims abstract description 8
- 239000003990 capacitor Substances 0.000 claims description 8
- 102100039435 C-X-C motif chemokine 17 Human genes 0.000 claims description 3
- 101000889048 Homo sapiens C-X-C motif chemokine 17 Proteins 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
Abstract
The invention relates to a communication circuit of a motor home water level sensor based on a single wire, which comprises an upstream functional module, a water level sensor and a motor home iron shell.
Description
Technical Field
The invention relates to communication among water level sensors of a motor home, in particular to a communication circuit of the water level sensors of the motor home based on a single wire.
Background
At present, in the application field of motor home, the traditional connection of a water tank water level sensor and an upstream functional module adopts a plurality of wires to connect: the method is defined as one public pole, a plurality of water level lines of each gear and 8-5 harness wires in total; or a serial communication mode of power supply, ground wire, data and CLK, and the total number of the wire harness wires is 4. Because the water level sensor is installed outside the vehicle (mounted on a roof bracket or hung on a chassis) and is far away from the electric distribution cabin of the motor home, the connecting wire harness needs to shuttle between the sheet metal component of the vehicle body and the wooden framework. The harness is required to be as compact as possible, and the smaller the number of wires is, the better the harness is from the aspects of installation and fixation, fault maintenance and manufacturing cost.
The scheme is generated by optimizing the wire harness to the maximum extent in order to best meet the application requirements.
Disclosure of Invention
The invention aims to provide a communication circuit of a water level sensor of a motor home based on a single wire, which reduces the number of wires between a water level sensor of a water tank and an upstream functional module, thereby reducing the installation and maintenance cost of the motor home.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the communication circuit of the car as a house water level sensor based on a single wire comprises an upstream functional module, a water level sensor and a car body iron shell, wherein the upstream functional module is connected with the water level sensor through the single wire; the iron shell of the car body is a ground electrode of which the public ground wire is connected with the upstream functional module and the water level sensor;
the upstream functional module comprises a first MCU, a MOS tube Q1, a triode Q2, a resistor R1, a resistor R2 and a resistor R3, wherein the drain electrode of the MOS tube Q1 is connected with a power supply VCC1, the source electrode is connected with a wire and is connected with a water level sensor through the wire, the grid electrode is connected with the collector electrode of the triode Q2, the base electrode of the triode Q2 is connected with an IO-PowerCom interface of the first MCU, and the emitter electrode is grounded; one end of the resistor R1 is connected with a wire, and the other end of the resistor R1 is connected with an IO-Data1 interface of the first MCU; one end of the resistor R2 is connected with the IO-Data2 interface of the first MCU, the other end of the resistor R2 is connected with a wire, and meanwhile, the end is grounded through the resistor R3;
the water level sensor comprises a second MCU, a triode Q3, a polar capacitor E1 and a diode D1, wherein the base electrode of the triode Q3 is connected with an IO-Data3 interface of the second MCU, the emitter electrode is grounded, and the collector electrode is connected with a lead and is connected with an upstream functional module through the lead; the negative electrode of the polar capacitor E1 is grounded, the positive electrode is connected with the power supply VCC2 on one hand, the negative electrode of the diode D1 on the other hand, and the positive electrode of the diode D1 is connected with a lead.
The model of the first MCU is MC9S08Dz60.
The model of the second MCU is MKE04Z8.
After the scheme is adopted, the invention realizes the common ground of the water level sensor and the upstream functional module by the iron shell of the vehicle body, and the power supply and the communication data between the upstream functional module and the water level sensor are concentrated on a single wire by utilizing time sequence multiplexing. When the upstream functional module supplies power to the water level sensor through a wire, the water level sensor carries out water level operation of the water tank and stores the water level operation in the second MCU; after the power supply is finished, the water level sensor sends out a predefined DATA waveform to the upstream functional module. According to the invention, the water level sensor and the upstream functional module are parallel or serial from multiple lines or 4 lines, so that the single line is simplified, the simple wire harness communication is realized, and the wiring cost in the process of installing or maintaining the motor home is reduced.
Drawings
FIG. 1 is a schematic circuit diagram of the present invention;
FIG. 2 is a timing diagram of the present invention.
Detailed Description
As shown in fig. 1, the invention discloses a communication circuit of a water level sensor of a motor home based on a single wire, which comprises an upstream functional module 1, a water level sensor 2 and a car body iron shell 3, wherein the car body iron shell 3 is used as a public ground wire to connect the upstream functional module 1 and the ground electrode of the water level sensor 2, and the upstream functional module 1 and the water level sensor 2 are connected through a single wire 4.
The upstream functional module 1 comprises a first MCU11, a MOS tube Q1, a triode Q2, a resistor R1, a resistor R2 and a resistor R3, wherein the drain electrode of the MOS tube Q1 is connected with a power supply VCC1, the source electrode is connected with a lead 4 and is connected with the water level sensor 2 through the lead 4, the grid electrode is connected with the collector electrode of the triode Q2, the base electrode of the triode Q2 is connected with the IO-PowerCom interface of the first MCU11, and the emitter electrode is grounded. One end of the resistor R1 is connected with a wire, and the other end of the resistor R1 is connected with an IO-Data1 interface of the first MCU; one end of the resistor R2 is connected with the IO-Data2 interface of the first MCU, the other end of the resistor R2 is connected with a wire, and meanwhile, the end of the resistor R2 is grounded through the resistor R3. In the upstream functional module 1, the first MCU11, the MOS transistor Q1 and the triode Q2 control the stable power supply time and the timing sequence of power supply intermittence of the lead; resistor R1 provides a stable pull-up level for the wire; the resistor R2 and the resistor R3 are used for monitoring the level change on the lead after the power supply is finished.
The water level sensor 2 comprises a second MCU21, a triode Q3, a polar capacitor E1 and a diode D1, wherein the base electrode of the triode Q3 is connected with an IO-Data3 interface of the second MCU, the emitter electrode is grounded, and the collector electrode is connected with a lead and is connected with the upstream functional module 1 through a lead 4. The negative electrode of the polar capacitor is grounded, the positive electrode is connected with the power supply VCC2 on the one hand, the negative electrode of the diode D1 on the other hand, and the positive electrode of the diode D1 is connected with a lead.
Referring to fig. 2 in combination with fig. 1, by time-series multiplexing, the power supply and communication data between the upstream function module 1 and the water level sensor 2 can be concentrated on a single wire 4. When the upstream functional module 1 supplies power to the water level sensor 2 through the wire 4, the IO-PowerCom interface of the first MCU11 of the upstream functional module 1 outputs a low level, the triode Q2 is turned off, the power VCC supplies power to the water level sensor 2 through the MOS tube and the wire 4 (time sequence 1), and at this time, the second MCU21 of the water level sensor 2 and a peripheral circuit (the peripheral circuit is in the prior art and will not be described in detail herein) perform the operation of the water level of the water tank and store in the second MCU 21.
When the first MCU11 of the upstream functional module 1 sets the IO-PowerCom interface to a high level, the transistor Q2 is turned on, and the power supply of the upstream functional module 1 is ended. After the power supply is finished, the polar capacitor E1 of the water level sensor 2 continues to supply power to the second MCU21, the supporting triode Q3 finishes the level conversion of the conducting wire, and the second MCU21 sends out a predefined DATA waveform (time sequence 2) to the upstream functional module 1 through the IO-Data3 interface. The polar capacitor E1 is kept discharged, and the second MCU21 naturally fails to power off (timing 3) until the next cycle power supply timing starts because the power supply voltage is lower than the lower limit of the minimum operating voltage.
The foregoing embodiments of the present invention are not intended to limit the technical scope of the present invention, and therefore, any minor modifications, equivalent variations and modifications made to the above embodiments according to the technical principles of the present invention still fall within the scope of the technical proposal of the present invention.
Claims (1)
1. A car as a house water level sensor communication circuit based on single wire, its characterized in that: the system comprises an upstream functional module, a water level sensor and a car body iron shell, wherein the upstream functional module is connected with the water level sensor through a single wire; the iron shell of the car body is a ground electrode of which the public ground wire is connected with the upstream functional module and the water level sensor;
the upstream functional module comprises a first MCU, a MOS tube Q1, a triode Q2, a resistor R1, a resistor R2 and a resistor R3, wherein the drain electrode of the MOS tube Q1 is connected with a power supply VCC1, the source electrode is connected with a wire and is connected with a water level sensor through the wire, the grid electrode is connected with the collector electrode of the triode Q2, the base electrode of the triode Q2 is connected with an IO-PowerCom interface of the first MCU, and the emitter electrode is grounded; one end of the resistor R1 is connected with a wire, and the other end of the resistor R1 is connected with an IO-Data1 interface of the first MCU; one end of the resistor R2 is connected with the IO-Data2 interface of the first MCU, the other end of the resistor R2 is connected with a wire, and meanwhile, the end is grounded through the resistor R3;
the water level sensor comprises a second MCU, a triode Q3, a polar capacitor E1 and a diode D1, wherein the base electrode of the triode Q3 is connected with an IO-Data3 interface of the second MCU, the emitter electrode is grounded, and the collector electrode is connected with a lead and is connected with an upstream functional module through the lead; the negative electrode of the polar capacitor E1 is grounded, the positive electrode is connected with a power supply VCC2 on one hand, the negative electrode of the diode D1 on the other hand, and the positive electrode of the diode D1 is connected with a lead;
the model of the first MCU is MC9S08Dz60; the model of the second MCU is MKE04Z8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811286199.3A CN109360403B (en) | 2018-10-31 | 2018-10-31 | Caravan water level sensor communication circuit based on single wire |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811286199.3A CN109360403B (en) | 2018-10-31 | 2018-10-31 | Caravan water level sensor communication circuit based on single wire |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109360403A CN109360403A (en) | 2019-02-19 |
CN109360403B true CN109360403B (en) | 2024-02-06 |
Family
ID=65347466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811286199.3A Active CN109360403B (en) | 2018-10-31 | 2018-10-31 | Caravan water level sensor communication circuit based on single wire |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109360403B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002330231A (en) * | 2001-04-27 | 2002-11-15 | Kouga Denshi Kk | Data transmitter and automatic meter-reading system using the same |
CN102044139A (en) * | 2009-10-21 | 2011-05-04 | 深圳市合信达控制系统有限公司 | Two-wire non-polar connected power supply and communication circuit |
CN201854277U (en) * | 2010-10-19 | 2011-06-01 | 曼瑞德自控系统(乐清)有限公司 | Single-wire communication circuit |
CN106356828A (en) * | 2016-08-24 | 2017-01-25 | 珠海格力电器股份有限公司 | Home bus communication system and processing method for home bus communication system |
CN107168901A (en) * | 2016-03-08 | 2017-09-15 | 德昌电机(深圳)有限公司 | Mongline two-way communication circuit |
CN207816404U (en) * | 2018-01-26 | 2018-09-04 | 厦门拓宝科技有限公司 | A kind of caravan device for detecting water level of water tank of anti-grounding interference |
CN207926616U (en) * | 2018-02-01 | 2018-09-28 | 四川华鹏电源有限公司 | A kind of meter bus communication circuit device |
CN209044864U (en) * | 2018-10-31 | 2019-06-28 | 厦门拓宝科技有限公司 | A kind of Novel limousine water level sensor communicating circuit based on solid conductor |
-
2018
- 2018-10-31 CN CN201811286199.3A patent/CN109360403B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002330231A (en) * | 2001-04-27 | 2002-11-15 | Kouga Denshi Kk | Data transmitter and automatic meter-reading system using the same |
CN102044139A (en) * | 2009-10-21 | 2011-05-04 | 深圳市合信达控制系统有限公司 | Two-wire non-polar connected power supply and communication circuit |
CN201854277U (en) * | 2010-10-19 | 2011-06-01 | 曼瑞德自控系统(乐清)有限公司 | Single-wire communication circuit |
CN107168901A (en) * | 2016-03-08 | 2017-09-15 | 德昌电机(深圳)有限公司 | Mongline two-way communication circuit |
CN106356828A (en) * | 2016-08-24 | 2017-01-25 | 珠海格力电器股份有限公司 | Home bus communication system and processing method for home bus communication system |
CN207816404U (en) * | 2018-01-26 | 2018-09-04 | 厦门拓宝科技有限公司 | A kind of caravan device for detecting water level of water tank of anti-grounding interference |
CN207926616U (en) * | 2018-02-01 | 2018-09-28 | 四川华鹏电源有限公司 | A kind of meter bus communication circuit device |
CN209044864U (en) * | 2018-10-31 | 2019-06-28 | 厦门拓宝科技有限公司 | A kind of Novel limousine water level sensor communicating circuit based on solid conductor |
Also Published As
Publication number | Publication date |
---|---|
CN109360403A (en) | 2019-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109360403B (en) | Caravan water level sensor communication circuit based on single wire | |
CN113741257A (en) | Current loop communication circuit and air conditioning unit | |
CN209057188U (en) | A kind of automobile electronic controller supply voltage delay unlatching protection circuit | |
CN101930232B (en) | Window glass lifter diagnosis system based on LIN bus | |
CN209044864U (en) | A kind of Novel limousine water level sensor communicating circuit based on solid conductor | |
CN209881104U (en) | Micromodule data center adopting bus duct rack top installation as tail-end power distribution | |
CN202679726U (en) | Energy saving lamp and control circuit thereof | |
CN106655727B (en) | Device and method for reducing power consumption of solar bypass switch circuit | |
CN104898490A (en) | Vehicle controller | |
CN210168055U (en) | K bus communication circuit of vehicle-mounted equipment | |
CN112595370A (en) | Temperature and humidity acquisition circuit based on single bus | |
CN209233115U (en) | A kind of electric machine controller of signal connection structure and its application between wiring board | |
CN203691374U (en) | Two-wire sensor interface circuit | |
CN201540596U (en) | Automobile mileage pricing system | |
CN202931242U (en) | Direct current motor speed regulating circuit of vehicle dust collector | |
CN108162808B (en) | Transition device for feed module of segmented continuous ground power supply system of electric vehicle | |
CN101226514B (en) | I/O port expansion circuit | |
CN213937947U (en) | Direct current power supply communication network system suitable for intelligent home environment | |
CN204548025U (en) | A kind of automobile remote controllers identity code coalignment | |
CN214202119U (en) | Magnetic switch integrated control circuit | |
CN220549023U (en) | CAN awakening circuit | |
CN102916629B (en) | Fan system | |
CN209560342U (en) | A kind of electrical heating vacuum boiler extension control device | |
CN203761355U (en) | Triode-control-based ECU power-off time-delay circuit | |
CN215398261U (en) | Automobile with a detachable front cover |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |