CN106347523B - Trailer compartment identification device based on 1-Wire and method - Google Patents

Trailer compartment identification device based on 1-Wire and method Download PDF

Info

Publication number
CN106347523B
CN106347523B CN201610860632.4A CN201610860632A CN106347523B CN 106347523 B CN106347523 B CN 106347523B CN 201610860632 A CN201610860632 A CN 201610860632A CN 106347523 B CN106347523 B CN 106347523B
Authority
CN
China
Prior art keywords
wire
resistance
equipment
relay
data lines
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
CN201610860632.4A
Other languages
Chinese (zh)
Other versions
CN106347523A (en
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.)
Shanghai Is Moved As Communication Technology Co Ltd By Shares
Original Assignee
Shanghai Is Moved As Communication Technology Co Ltd By Shares
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 Shanghai Is Moved As Communication Technology Co Ltd By Shares filed Critical Shanghai Is Moved As Communication Technology Co Ltd By Shares
Priority to CN201610860632.4A priority Critical patent/CN106347523B/en
Publication of CN106347523A publication Critical patent/CN106347523A/en
Application granted granted Critical
Publication of CN106347523B publication Critical patent/CN106347523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D63/00Motor vehicles or trailers not otherwise provided for
    • B62D63/06Trailers
    • B62D63/08Component parts or accessories
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

A kind of trailer compartment identification device based on 1 Wire, including one be arranged on trailer headstock main equipment, one be arranged in trailer compartment secondary equipment, a relay, the main equipment connected with secondary equipment by ground wire;One 1 Wire chips are respectively set in the main equipment and secondary equipment;It is separately connected one 1 Wire data lines in the main equipment and secondary equipment, connect a pilot in the pair equipment, 1 Wire data lines on the main equipment, 1 Wire data lines in secondary equipment, the pilot in secondary equipment the other end be connected on the relay.It using the present invention, realizes when cornering lamp is opened, main equipment and secondary equipment are closed;When cornering lamp is closed, main equipment and secondary equipment are opened.When cornering lamp is closed, 1 Wire chips of main equipment read the ID of 1 Wire chips in secondary equipment, realize the real time monitoring to compartment.

Description

Trailer compartment identification device based on 1-Wire and method
Technical field
The present invention relates to the identification fields of trailer compartment, and in particular to a kind of trailer compartment identification device based on 1-Wire And method.
Background technology
With the rapid development of vehicle-mounted Internet of Things, more and more vehicle electronics products be used to extend the related work(of vehicle Can, correlation function includes the functions such as vehicle location, trailer alarm and compartment monitoring.
There are certain separation relations between trailer compartment and headstock, because this separation relation causes trailer to rear end vehicle The monitoring deficiency in compartment, the exception of trailer carriage after cannot effectively finding, there are the risks that compartment is stolen.And trailer is because often The problem of needing replacing trunk, being easy to happen misplaced compartment.
In order to avoid the above problem, conventional method is to use manual method regular check at present, therefore to staff For it is comparable cumbersome, waste of manpower while, also increases the difficulty of company management.
Invention content
The trailer compartment identification based on 1-Wire that It is an object of the present invention to solve the deficiency of the existing technology and provide a kind of Device and method, can be in the case where not influencing trailer compartment and headstock circuit connecting mode, using turning lamp driver, effectively Monitoring and label of the realization to trunk.
The purpose of the present invention is what is be achieved through the following technical solutions:
The present invention provides a kind of trailer compartment identification device based on 1-Wire, including one be arranged on trailer headstock Secondary equipment that main equipment, one are arranged in trailer compartment, a relay, the main equipment are connected with secondary equipment by ground wire; A 1-Wire chips are respectively set in the main equipment and secondary equipment;
A 1-Wire data lines are separately connected on the main equipment and secondary equipment, connecting a control in the pair equipment leads Line, the 1-Wire data lines on the main equipment, the 1-Wire data lines in secondary equipment, the pilot in secondary equipment it is another End is connected on the relay;
The cornering lamp of trailer is connect with a high voltage power supply and the relay respectively by conducting wire, the turning of the cornering lamp One end of lamp power cord is connect with the relay, and the other end is connect with the high voltage power supply;The cornering lamp power cord and institute The 1-Wire data lines for stating main equipment are connected;
In the relay, connected by a conducting wire between the cornering lamp power cord and pilot, at described turn It is connected with a magnetic coil on conducting wire between curved lamp power cord and pilot;The 1-Wire data lines of the main equipment connect One end of relay is connect with a conducting wire, and the end of conducting wire is provided with a switch, the switch can be connected to the cornering lamp or The 1-Wire data lines of the main equipment.
A kind of above-mentioned trailer compartment identification device based on 1-Wire, wherein the 1-Wire chips in the main equipment For the 1-Wire chips DS2482 of MAXIM, the 1-Wire chip DS2431 that the 1-Wire chips in the pair equipment are MAXIM, The 1-Wire chips DS2482 is used to read the ID number of the 1-Wire chips DS2431 in secondary equipment by 1-Wire data lines.
Above-mentioned a kind of trailer compartment identification device based on 1-Wire a, wherein shutdown is set in the main equipment Circuit, the breaking circuit are connect with 1-Wire chips, the relay in the main equipment respectively by 1-Wire data lines;Institute State 1-Wire data line and cornering lamp power supply of the breaking circuit for when detecting that the high voltage power supply is opened, disconnecting main equipment The connection of line.
Above-mentioned a kind of trailer compartment identification device based on 1-Wire, wherein the main equipment further includes a MCU, institute The 1-Wire chips stated in main equipment are connect by iic bus with the MCU, and the MCU exports result by serial ports and sends to Exterior terminal equipment.
A kind of above-mentioned trailer compartment identification device based on 1-Wire, wherein the breaking circuit include resistance R101, Resistance R102, resistance R104, voltage-stabiliser tube D101, triode Q105, metal-oxide-semiconductor Q104;The resistance R101, resistance R102, voltage stabilizing Pipe D101 is connected in series with, and the resistance R101 is connect with ground wire, and the ground level of the triode Q105 is connected to resistance R101, resistance On conducting wire between R102, the emitter and collector of the triode Q105 is connect with ground wire, resistance R104 respectively;It is described The grid of metal-oxide-semiconductor Q104 is connected on the conducting wire between the triode Q105, resistance R104, the drain electrode of the metal-oxide-semiconductor Q104 It is connect respectively with the voltage-stabiliser tube D101, the ends DATA with source electrode;The relay is connected to described by 1-Wire data lines On conducting wire between voltage-stabiliser tube D101 and metal-oxide-semiconductor Q104.
A kind of above-mentioned trailer compartment identification device based on 1-Wire, wherein one switching of setting in the secondary equipment Circuit, the switching circuit are connect with 1-Wire chips, the relay in the secondary equipment respectively by 1-Wire data lines;Institute Switching circuit is stated to connect with the relay by the pilot;For the switching circuit for controlling relay, switching is secondary Connection between the 1-Wire data lines of equipment, cornering lamp and cornering lamp power cord.
A kind of above-mentioned trailer compartment identification device based on 1-Wire, wherein the switching circuit include resistance R107, Resistance R109, resistance R103, resistance R108, resistance R105, resistance R106, triode Q102, voltage-stabiliser tube D102, voltage-stabiliser tube D103, voltage-stabiliser tube D104, metal-oxide-semiconductor Q101, metal-oxide-semiconductor Q103;The resistance R107 and resistance R109 are connected in series with, the resistance R103, resistance R108, voltage-stabiliser tube D102 are connected in series with, and the resistance R107, resistance R103 are connect with ground wire, the resistance R109 The other end be connected on the conducting wire between resistance R108 and voltage-stabiliser tube D102;The grid of the metal-oxide-semiconductor Q101 is connected to R107 On conducting wire between resistance R109, the drain electrode of the metal-oxide-semiconductor Q101 and source electrode connect with the ends RELAY_CTRL, ground wire respectively It connects;The ground level of the triode Q102 is connected on the conducting wire between the resistance R103 and resistance R108, the triode The emitter and collector of Q102 is connect with ground wire, resistance R105 respectively;The grid of the metal-oxide-semiconductor Q103 is connected to resistance R105 On conducting wire between triode Q102, the drain electrode of the metal-oxide-semiconductor Q103 and source electrode respectively with the 1-Wire chips of secondary equipment, Line connects;The resistance R106 is separately connected 1-Wire chips and the ends 1-WIRE of secondary equipment;The voltage-stabiliser tube D103 and MOS Pipe Q103, secondary equipment 1-Wire chips between conductor in parallel connection;The voltage-stabiliser tube D104 respectively with ground wire, the grid of Q103 Conducting wire connection on extremely;The relay is connect by 1-Wire data lines with the ends 1-WIRE, and the relay passes through control Conducting wire processed is connect with the ends RELAY_CTRL.
The trailer compartment recognition methods based on 1-Wire that the present invention also provides a kind of, using above-mentioned based on 1-Wire's Trailer compartment identification device is identified, and at least includes the following steps:
S100, when trailer is turned, the 1-Wire data lines on the main equipment are disconnected with cornering lamp power cord;
S200, when trailer is turned, the switching circuit control the switch and the secondary equipment 1-Wire data lines, Connection between cornering lamp;The cornering lamp flicker;
S300, when trailer is not turned, the relay disconnects the cornering lamp power cord of cornering lamp and cornering lamp, is connected to On the 1-Wire data lines of secondary equipment;1-Wire data lines on main equipment are connect with cornering lamp power cord;The 1- of main equipment Wire chips read the ID of the 1-Wire chips in secondary equipment;
The main equipment is internally integrated associated cars data, is transmitted by iic bus with the 1-Wire chips of main equipment The ID come is compared, and with the ID of trailer compartment match, result is output to terminal device by the MCU by serial ports.
Further, the step S100 specifically includes following steps:
When trailer is turned, the high voltage power supply of cornering lamp is opened, and on network 1-WIRE is high-voltage electricity on the breaking circuit, Higher than voltage-stabiliser tube D101 reverse turn-on voltages, logic high, the metal-oxide-semiconductor Q104 grid are generated on the triode Q105 ground levels Extremely upper voltage is 0, and metal-oxide-semiconductor Q104 is closed, and network DATA and network 1-WIRE are disconnected, the 1-Wire data lines on the main equipment It is disconnected with cornering lamp power cord.
Further, the step S200 specifically includes following steps:
When trailer is turned, the high voltage power supply of cornering lamp is opened, and the switch in the relay is located at the position on the right, with The 1-Wire data lines of secondary equipment connect;
The high voltage power supply of initial turn-on cornering lamp on the ends 1-WIRE in switching circuit, the voltage on network 1-WIRE are higher than Voltage-stabiliser tube D102 reverse turn-on voltages, the voltage in the base stage of triode Q102 are logic high, and triode Q102 is opened; The grid of the metal-oxide-semiconductor Q103 becomes low level, and metal-oxide-semiconductor Q103 is closed;The GND of the 1-Wire chips of secondary equipment is disconnected, 1- Wire chips are stopped, and network 1-WIRE is stopped;
The grid of the metal-oxide-semiconductor Q101 is high level, and metal-oxide-semiconductor Q101 is opened, and the voltage of pilot is 0 at this time, control External relay is powered;It is described to switch the position for being allocated to the left side after relay power, it is connect with pilot, turn on automatically turns Curved lamp and cornering lamp power cord, make cornering lamp be connected to high voltage power supply, cornering lamp is bright;
The connection for simultaneously switching off the 1-Wire data lines and cornering lamp power cord of secondary equipment, after disconnection, the pair equipment Tension discharge on 1-Wire data lines is to 0V;The metal-oxide-semiconductor Q101, triode Q102, metal-oxide-semiconductor Q103 logic level can be with Reduction, pilot becomes floating state and is high-voltage electricity, and relay power-off disconnects the company between cornering lamp and high voltage power supply It connects, cornering lamp goes out;
It when the high voltage power supply is opened, repeats the above steps, the cornering lamp keeps flicker.
Further, the step S300 specifically includes following steps:
When trailer is not turned, the high voltage power supply of cornering lamp is closed, and on external connection network 1-WIRE is low on breaking circuit Piezoelectricity, is less than voltage-stabiliser tube D101 reverse turn-on voltages, is logic low on the triode Q105 ground levels, and triode Q105 is closed It closes, voltage is logic high on the metal-oxide-semiconductor Q104 grids, and metal-oxide-semiconductor Q104 is opened, at this time network DATA and network 1-WIRE It connects, transmits 1-Wire data-signals;
Simultaneously the switching circuit network 1-WIRE on voltage be less than voltage-stabiliser tube D102 reverse turn-on voltages, described three Voltage in the base stage of pole pipe Q102 is low level, and triode Q102 is in off state;Then the grid of the metal-oxide-semiconductor Q103 is height Level, metal-oxide-semiconductor Q103 are opened, and 1-Wire chips and the ground wire of secondary equipment are connected, 1-Wire chips normal work;It is described at this time The grid of metal-oxide-semiconductor Q101 is low level, and metal-oxide-semiconductor Q101 is closed, and pilot is floating state, then the control terminal of relay at this time It is powered, the relay keeps the connected state of the signal of main equipment and the 1-Wire data lines of secondary equipment, the 1- of main equipment Wire chips constantly read the ID number of the 1-Wire chips in secondary equipment by 1-Wire data lines.
Therefore, when the voltage of pilot is 0, the cornering lamp power cord of cornering lamp is connected to turning by relay On lamp, cornering lamp power cord and the 1-Wire data lines of secondary equipment is made to disconnect;Simultaneously the 1-Wire data lines on main equipment with turn Curved lamp power cord disconnects.When pilot be floating state when, relay by the cornering lamp power cord of cornering lamp with Cornering lamp disconnects, and is connected on the 1-Wire data lines of secondary equipment;1-Wire data lines on main equipment connect with cornering lamp power cord It connects.It realizes when cornering lamp is opened, main equipment and secondary equipment are closed;When cornering lamp is closed, main equipment and pair Equipment is opened.
Therefore, when cornering lamp is closed, the 1-Wire chips DS2482 of main equipment reads the 1-Wire in secondary equipment The ID of chip DS2431 realizes that the real time monitoring to compartment, main equipment are internally integrated associated cars data, can be with 1-Wire cores Piece DS2482 is compared by the ID that IIC is sent, and realizes that the matching of trailer ID, last MCU are defeated by serial ports by result Go out to terminal device.
In conclusion the invention has the advantages that and advantageous effect:
1, one secondary equipment is set on each trailer compartment, the 1-Wire chips of each pair equipment have individual ID number, Realize the label to each compartment;
2, it when cornering lamp is closed, by reading the ID number of the 1-Wire chips in secondary equipment, realizes to rear car Compartment automation in place is checked, monitors the situation in rear car compartment in real time;
3, installation circuit can be reduced to greatest extent, and the present invention is realized using headstock with the existing cornering lamp cable in compartment Communication, there is no the additional wiring for increasing cable connection and protection problems, to reduce the cumbersome of installation, increase equipment fortune Capable reliability;
4, main equipment is exported using serial ports as a result, multiple terminal equipment can be output to, such as vehicle-mounted PDA, vehicle-mounted tracker Deng.
Description of the drawings
Fig. 1 is the structure diagram of the trailer compartment identification device the present invention is based on 1-Wire;
Fig. 2 is the principle frame that the main equipment of the trailer compartment identification device the present invention is based on 1-Wire is connect with other devices Figure;
Fig. 3 is the principle frame that the secondary equipment of the trailer compartment identification device the present invention is based on 1-Wire is connect with other devices Figure;
Fig. 4 is that the present invention is based on the breaking circuit schematic diagrames in the main equipment of the trailer compartment identification device of 1-Wire;
Fig. 5 is that the present invention is based on the switching circuit schematic diagrames in the secondary equipment of the trailer compartment identification device of 1-Wire.
Specific implementation mode
The specific implementation mode of the present invention is described in further detail below in conjunction with the accompanying drawings.
The present invention provides a kind of trailer compartment identification device and method based on 1-Wire, refers to Fig. 1, described device Including one be arranged on trailer headstock main equipment, one be arranged in trailer compartment secondary equipment, a relay, the main equipment It is connected by ground wire with secondary equipment.
A 1-Wire chips are respectively set in the main equipment and secondary equipment, the 1-Wire chips in the main equipment are The 1-Wire chips DS2482 of MAXIM company, the 1-Wire chips in the pair equipment are the 1-Wire chips of MAXIM company DS2431, the 1-Wire chips DS2431 in secondary equipment have unique ID number.1-Wire chips DS2482 in the main equipment ID number for reading the 1-Wire chips DS2431 in secondary equipment by 1-Wire data lines.
Fig. 1 is referred to, a 1-Wire data lines are separately connected on the main equipment and secondary equipment, are connected in the pair equipment One pilot, the 1-Wire data lines on the main equipment, the 1-Wire data lines in secondary equipment, the control in secondary equipment are led The other end of line is connected on the relay.
The cornering lamp of trailer is connect with a high voltage power supply and the relay respectively by conducting wire, the turning of the cornering lamp One end of lamp power cord is connect with the relay, and the other end is connect with the high voltage power supply.The cornering lamp power cord and institute The 1-Wire data lines for stating main equipment are connected.
In the relay, connected by a conducting wire between the cornering lamp power cord and pilot, at described turn It is connected with a resistance on conducting wire between curved lamp power cord and pilot.The 1-Wire data lines of the main equipment connect relay One end of device is connect with a conducting wire, the end of conducting wire is provided with a switch, the switch can be connected to the cornering lamp or described The 1-Wire data lines of main equipment.
Refer to Fig. 2, the main equipment further includes a MCU, the 1-Wire chips in the main equipment by iic bus with The MCU connections, the MCU export result by serial ports and send exterior terminal equipment to.
One breaking circuit is set in the main equipment, the breaking circuit by 1-Wire data lines respectively with the master 1-Wire chips, relay connection in equipment;The breaking circuit is used to, when detecting that the high voltage power supply is opened, disconnect The connection of the 1-Wire data lines and cornering lamp power cord of main equipment prevents the high voltage of high voltage power supply from damaging main equipment.
Fig. 4 is referred to, the breaking circuit includes resistance R101, resistance R102, resistance R104, voltage-stabiliser tube D101, three poles Pipe Q105, metal-oxide-semiconductor Q104.The resistance R101, resistance R102, voltage-stabiliser tube D101 are connected in series with, the resistance R101 and ground wire Connection, the ground level of the triode Q105 are connected on the conducting wire between resistance R101, resistance R102, the triode Q105's Emitter and collector is connect with ground wire, resistance R104 respectively;The grid of the metal-oxide-semiconductor Q104 is connected to the triode On conducting wire between Q105, resistance R104, the drain electrode of the metal-oxide-semiconductor Q104 and source electrode respectively with the voltage-stabiliser tube D101, one The ends DATA connect.The relay is connected to leading between the voltage-stabiliser tube D101 and metal-oxide-semiconductor Q104 by 1-Wire data lines On line.
Fig. 3 is referred to, a switching circuit is set in the secondary equipment, the switching circuit passes through 1-Wire data lines point It is not connect with 1-Wire chips, the relay in the secondary equipment;The switching circuit by the pilot with it is described after Electric appliance connects.The switching circuit switches the 1-Wire data lines, cornering lamp and cornering lamp electricity of secondary equipment for controlling relay Connection between the line of source.
Fig. 5 is referred to, the switching circuit includes resistance R107, resistance R109, resistance R103, resistance R108, resistance R105, resistance R106, triode Q102, voltage-stabiliser tube D102, voltage-stabiliser tube D103, voltage-stabiliser tube D104, metal-oxide-semiconductor Q101, metal-oxide-semiconductor Q103.The resistance R107 and resistance R109 are connected in series with, and the resistance R103, resistance R108, voltage-stabiliser tube D102 are connected in series with, The resistance R107, resistance R103 are connect with ground wire, and the other end of the resistance R109 is connected to resistance R108 and voltage-stabiliser tube On conducting wire between D102;The grid of the metal-oxide-semiconductor Q101 is connected on the conducting wire between R107 and resistance R109, the MOS The drain electrode of pipe Q101 and source electrode are connect with the ends RELAY_CTRL, ground wire respectively;The ground level of the triode Q102 is connected to institute State on the conducting wire between resistance R103 and resistance R108, the emitter and collector of the triode Q102 respectively with ground wire, electricity Hinder R105 connections;The grid of the metal-oxide-semiconductor Q103 is connected on the conducting wire between resistance R105 and triode Q102, the MOS The drain electrode of pipe Q103 and source electrode are connect with 1-Wire chips, the ground wire of secondary equipment respectively;The resistance R106 is separately connected pair and sets Standby 1-Wire chips and the ends 1-WIRE;The voltage-stabiliser tube D103 and metal-oxide-semiconductor Q103, secondary equipment 1-Wire chips between Conductor in parallel;The voltage-stabiliser tube D104 respectively with ground wire, Q103 grid on conducting wire connect.The relay passes through 1-Wire Data line is connect with the ends 1-WIRE, and the relay is connect by pilot with the ends RELAY_CTRL
Refer to Fig. 1, relay default conditions and secondary equipment, the connection status of main equipment and relay as shown in Figure 1, Pilot is floating state at this time.
Refer to Fig. 1, Fig. 2 and Fig. 4, the breaking circuit of main equipment is as shown in figure 4, in Fig. 4, the breaking circuit of main equipment Network DATA on figure is the 1-Wire data lines of main equipment, and the network 1-WIRE on breaking circuit figure is connected to external relay Device, breaking circuit control the metal-oxide-semiconductor between this 2 networks control cornering lamp power cord and main equipment 1-Wire data lines it Between break-make.
When trailer is turned, the high voltage power supply of cornering lamp is opened, and on network 1-WIRE is high-voltage electricity on breaking circuit, at this time Voltage is higher than voltage-stabiliser tube D101 reverse turn-on voltages, to make to generate logic high on triode Q105 ground levels, metal-oxide-semiconductor at this time Voltage is 0 on Q104 grids, and metal-oxide-semiconductor Q104 is closed, and network DATA and network 1-WIRE are disconnected at this time, the 1-Wire on main equipment Data line is disconnected with cornering lamp power cord.
When trailer is not turned, the high voltage power supply of cornering lamp is closed, and on external connection network 1-WIRE is low on breaking circuit Piezoelectricity, at this time voltage be less than voltage-stabiliser tube D101 reverse turn-on voltages, be logic low, triode on triode Q105 ground levels Q105 is closed, and voltage is logic high on metal-oxide-semiconductor Q104 grids at this time, and metal-oxide-semiconductor Q104 is opened, at this time network DATA and network 1-WIRE is connected, and transmits 1-Wire data-signals.
Fig. 1, Fig. 3 and 5 are referred to, the switching circuit in secondary equipment is as shown in figure 5, the ends 1-WIRE on switching circuit figure are logical 1-Wire data lines connection relay is crossed, the ends RELAY_CTRL on switching circuit figure connect relay by pilot.
Fig. 1 is referred to, when trailer is turned, the high voltage power supply of cornering lamp is opened, and the switch in relay is positioned at the right Position is connect with the 1-Wire data lines of secondary equipment.Fig. 5 is referred to, at this point, initially being connect on the ends 1-WIRE on switching circuit figure The high voltage power supply of logical cornering lamp, the voltage on network 1-WIRE is higher than voltage-stabiliser tube D102 reverse turn-on voltages at this time, in triode Voltage in the base stage of Q102 is logic high, and Q102 is opened.The grid of metal-oxide-semiconductor Q103 becomes low level, metal-oxide-semiconductor at this time Q103 is closed;The GND of 1-Wire chips U102 is disconnected, and 1-Wire chips U102 is stopped, and network 1-WIRE is stopped.
Meanwhile the grid of metal-oxide-semiconductor Q101 is also high level at this time, metal-oxide-semiconductor Q101 is opened, and the voltage of pilot becomes at this time It is 0, control external relay is powered.It is described to switch the position for being allocated to the left side after relay power, it is connect with pilot, from It is dynamic to connect cornering lamp and cornering lamp power cord, so that cornering lamp is connected to high voltage power supply, cornering lamp is bright.
Meanwhile being disconnected the connection of the 1-Wire data lines and cornering lamp power cord of secondary equipment, after disconnection, secondary equipment Voltage on 1-Wire data lines can be discharged to 0V.Hereafter, the logic level of metal-oxide-semiconductor Q101, triode Q102, metal-oxide-semiconductor Q103 It can decrease, pilot becomes floating state and is high voltage, and relay can power off, and be then turned off cornering lamp and high-voltage electricity Connection between source, cornering lamp go out.
When high voltage power supply is opened, the above process can repeat always, and cornering lamp can then keep flickering always.
Fig. 1, Fig. 3 and Fig. 5 are referred to, when trailer is not turned, the high voltage power supply of cornering lamp is closed, and height is not present at this time It presses, the voltage on network 1-WIRE is less than voltage-stabiliser tube D102 reverse turn-on voltages, at this time the voltage in the base stage of triode Q102 For low level, triode Q102 is in off state, then the grid of metal-oxide-semiconductor Q103 is high level, and metal-oxide-semiconductor Q103 is opened, 1-Wire It connects to chip DS2431, chip normal work.
Meanwhile the grid of metal-oxide-semiconductor Q101 is low level at this time, metal-oxide-semiconductor Q101 is closed, and pilot is floating shape at this time State, then the control terminal of relay is powered at this time, and relay can keep the signal of main equipment and the 1-Wire data lines of secondary equipment Connected state, the 1-Wire chips DS2482 of main equipment constantly remove to read the 1-Wire cores in secondary equipment by 1-Wire data lines The ID number of piece DS2431.
Therefore, when the voltage of pilot is 0, the cornering lamp power cord of cornering lamp is connected to turning by relay On lamp, cornering lamp power cord and the 1-Wire data lines of secondary equipment is made to disconnect;Simultaneously the 1-Wire data lines on main equipment with turn Curved lamp power cord disconnects.When pilot be floating state when, relay by the cornering lamp power cord of cornering lamp with Cornering lamp disconnects, and is connected on the 1-Wire data lines of secondary equipment;1-Wire data lines on main equipment connect with cornering lamp power cord It connects.It realizes when cornering lamp is opened, main equipment and secondary equipment are closed;When cornering lamp is closed, main equipment and pair Equipment is opened.
Therefore, when cornering lamp is closed, the 1-Wire chips DS2482 of main equipment reads the 1-Wire in secondary equipment The ID of chip DS2431 realizes that the real time monitoring to compartment, main equipment are internally integrated associated cars data, can be with 1-Wire cores Piece DS2482 is compared by the ID that IIC is sent, and realizes that the matching of trailer ID, last MCU are defeated by serial ports by result Go out to terminal device.
In conclusion the invention has the advantages that and advantageous effect:
1, one secondary equipment is set on each trailer compartment, the 1-Wire chips of each pair equipment have individual ID number, Realize the label to each compartment;
2, it when cornering lamp is closed, by reading the ID number of the 1-Wire chips in secondary equipment, realizes to rear car Compartment automation in place is checked, monitors the situation in rear car compartment in real time;
3, installation circuit can be reduced to greatest extent, and the present invention is realized using headstock with the existing cornering lamp cable in compartment Communication, there is no the additional wiring for increasing cable connection and protection problems, to reduce the cumbersome of installation, increase equipment fortune Capable reliability;
4, main equipment is exported using serial ports as a result, multiple terminal equipment can be output to, such as vehicle-mounted PDA, vehicle-mounted tracker Deng.
Embodiment described above is merely to illustrate the technological thought and feature of the present invention, in the art its object is to make Technical staff can understand the content of the present invention and implement it accordingly, cannot only with the present embodiment come limit the present invention patent model It encloses, i.e., it is all according to same changes or modifications made by disclosed spirit, it still falls in the scope of the claims of the present invention.

Claims (8)

1. a kind of trailer compartment identification device based on 1-Wire, which is characterized in that the master on trailer headstock is arranged including one Secondary equipment that equipment, one are arranged in trailer compartment, a relay, the main equipment are connected with secondary equipment by ground wire;Institute It states in main equipment and secondary equipment and a 1-Wire chips is respectively set;
It is separately connected a 1-Wire data lines on the main equipment and secondary equipment, a pilot, institute are connected in the pair equipment State the other end point of the 1-Wire data lines on main equipment, the 1-Wire data lines in secondary equipment, the pilot in secondary equipment It is not connected on the relay;
The cornering lamp of trailer is connect with a high voltage power supply and the relay respectively by conducting wire, the cornering lamp electricity of the cornering lamp One end of source line is connect with the relay, and the other end is connect with the high voltage power supply;The cornering lamp power cord and the master The 1-Wire data lines of equipment are connected;
In the relay, connected by a conducting wire between the cornering lamp power cord and pilot, in the cornering lamp A magnetic coil is connected on conducting wire between power cord and pilot;The 1-Wire data lines of the main equipment connect relay One end of device is connect with a conducting wire, the end of conducting wire is provided with a switch, the switch can be connected to the cornering lamp or described The 1-Wire data lines of main equipment.
2. a kind of trailer compartment identification device based on 1-Wire according to claim 1, which is characterized in that the master sets The 1-Wire chips DS2482 that 1-Wire chips in standby are MAXIM, the 1- that the 1-Wire chips in the pair equipment are MAXIM Wire chips DS2431, the 1-Wire chips DS2482 are used to pass through the 1-Wire cores in the secondary equipment of 1-Wire data lines reading The ID number of piece DS2431.
3. a kind of trailer compartment identification device based on 1-Wire according to claim 1, which is characterized in that in the master One breaking circuit is set in equipment, the breaking circuit by 1-Wire data lines respectively with the 1-Wire cores in the main equipment Piece, relay connection;The breaking circuit is used to, when detecting that the high voltage power supply is opened, disconnect the 1-Wire numbers of main equipment According to the connection of line and cornering lamp power cord.
4. a kind of trailer compartment identification device based on 1-Wire according to claim 3, which is characterized in that the master sets Standby further includes a MCU, and the 1-Wire chips in the main equipment are connect by iic bus with the MCU, and the MCU passes through string Mouth output result sends exterior terminal equipment to.
5. a kind of trailer compartment identification device based on 1-Wire according to claim 3, which is characterized in that the shutdown Circuit includes resistance R101, resistance R102, resistance R104, voltage-stabiliser tube D101, triode Q105, metal-oxide-semiconductor Q104;The resistance R101, resistance R102, voltage-stabiliser tube D101 are connected in series with, and the resistance R101 is connect with ground wire, the ground level of the triode Q105 Be connected on the conducting wire between resistance R101, resistance R102, the emitter and collector of the triode Q105 respectively with ground wire, Resistance R104 connections;The grid of the metal-oxide-semiconductor Q104 is connected on the conducting wire between the triode Q105, resistance R104, institute The drain electrode and source electrode for stating metal-oxide-semiconductor Q104 are connect with the voltage-stabiliser tube D101, the ends DATA respectively;The relay passes through 1-Wire Data line is connected on the conducting wire between the voltage-stabiliser tube D101 and metal-oxide-semiconductor Q104.
6. a kind of trailer compartment identification device based on 1-Wire according to claim 4, which is characterized in that in the pair One switching circuit is set in equipment, the switching circuit by 1-Wire data lines respectively with the 1-Wire cores in the secondary equipment Piece, relay connection;The switching circuit is connect by the pilot with the relay;The switching circuit is for controlling Relay processed switches the connection between the 1-Wire data lines, cornering lamp and cornering lamp power cord of secondary equipment.
7. a kind of trailer compartment identification device based on 1-Wire according to claim 6, which is characterized in that the switching Circuit includes resistance R107, resistance R109, resistance R103, resistance R108, resistance R105, resistance R106, triode Q102, voltage stabilizing Pipe D102, voltage-stabiliser tube D103, voltage-stabiliser tube D104, metal-oxide-semiconductor Q101, metal-oxide-semiconductor Q103;The resistance R107 and resistance R109 series connection connect It connecing, the resistance R103, resistance R108, voltage-stabiliser tube D102 are connected in series with, and the resistance R107, resistance R103 are connect with ground wire, The other end of the resistance R109 is connected on the conducting wire between resistance R108 and voltage-stabiliser tube D102;The grid of the metal-oxide-semiconductor Q101 Pole is connected on the conducting wire between R107 and resistance R109, the drain electrode of the metal-oxide-semiconductor Q101 and source electrode respectively with a RELAY_ The ends CTRL, ground wire connection;The ground level of the triode Q102 is connected on the conducting wire between the resistance R103 and resistance R108, The emitter and collector of the triode Q102 is connect with ground wire, resistance R105 respectively;The grid of the metal-oxide-semiconductor Q103 connects On conducting wire between resistance R105 and triode Q102, the drain electrode of the metal-oxide-semiconductor Q103 and the source electrode 1- with secondary equipment respectively Wire chips, ground wire connection;The resistance R106 is separately connected 1-Wire chips and the ends 1-WIRE of secondary equipment;The voltage stabilizing Pipe D103 and metal-oxide-semiconductor Q103, secondary equipment 1-Wire chips between conductor in parallel connection;The voltage-stabiliser tube D104 respectively with ground Line, Q103 grid on conducting wire connection;The relay is connect by 1-Wire data lines with the ends 1-WIRE, it is described after Electric appliance is connect by pilot with the ends RELAY_CTRL.
8. a kind of trailer compartment recognition methods based on 1-Wire, which is characterized in that any described using claim 6~7 Trailer compartment identification device based on 1-Wire is identified, and at least includes the following steps:
S100, when trailer is turned, the 1-Wire data lines on the main equipment are disconnected with cornering lamp power cord;
S200, when trailer is turned, the switching circuit controls the 1-Wire data lines of the switch and the secondary equipment, turning Connection between lamp;The cornering lamp flicker;
S300, when trailer is not turned, the relay disconnects the cornering lamp power cord of cornering lamp and cornering lamp, is connected to pair and sets On standby 1-Wire data lines;1-Wire data lines on main equipment are connect with cornering lamp power cord;The 1-Wire cores of main equipment Piece reads the ID of the 1-Wire chips in secondary equipment;
The main equipment is internally integrated associated cars data, is sent by iic bus with the 1-Wire chips of main equipment ID is compared, and with the ID of trailer compartment match, result is output to terminal device by the MCU by serial ports.
CN201610860632.4A 2016-09-28 2016-09-28 Trailer compartment identification device based on 1-Wire and method Active CN106347523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610860632.4A CN106347523B (en) 2016-09-28 2016-09-28 Trailer compartment identification device based on 1-Wire and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610860632.4A CN106347523B (en) 2016-09-28 2016-09-28 Trailer compartment identification device based on 1-Wire and method

Publications (2)

Publication Number Publication Date
CN106347523A CN106347523A (en) 2017-01-25
CN106347523B true CN106347523B (en) 2018-08-14

Family

ID=57865560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610860632.4A Active CN106347523B (en) 2016-09-28 2016-09-28 Trailer compartment identification device based on 1-Wire and method

Country Status (1)

Country Link
CN (1) CN106347523B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109383374B (en) * 2018-10-23 2022-01-07 侯静阳 Safety early warning braking system for truck

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1680762A1 (en) * 2003-11-07 2006-07-19 Slieve Mish Inventions Limited Tracking of containers
US7463150B2 (en) * 2005-10-28 2008-12-09 3M Innovative Properties Company Vehicle identification tag and methods of verifying the validity of a vehicle identification tag
CN201028276Y (en) * 2007-03-13 2008-02-27 重庆安运科技有限公司 Gas cylinder electric identity card for vehicle using compressed natural gas based on 1-thread technology
CN201319196Y (en) * 2008-12-03 2009-09-30 上海交海信息科技有限公司 Front-body/vehicle-body/driver synchronized recognition system for container road transportation
CN102829826A (en) * 2012-08-27 2012-12-19 大连理工大学 Wireless sensor network technology based container monitoring system
CN104820653B (en) * 2015-04-27 2017-11-21 无锡必创传感科技有限公司 A kind of digital bus system and its slave unit physical location automatic identifying method
CN105249989B (en) * 2015-08-31 2018-10-26 深圳市红源资产管理有限公司 Ultrasonic probe recognition methods based on monobus communication and ultrasonic medical equipment
CN105654268B (en) * 2016-04-07 2021-10-22 福建农林大学 Visual management system and method for loading and unloading positions of logistics goods yard
CN206155619U (en) * 2016-09-28 2017-05-10 上海移为通信技术股份有限公司 Trailer bed recognition device based on 1 wire

Also Published As

Publication number Publication date
CN106347523A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN101937222B (en) Board level testing system
CN102231595B (en) Drive circuit of insulated gate bipolar transistor
CN103293985A (en) Zero-power-consumption standby circuit
CN107591859A (en) A kind of wireless charging receives controller guard method and device
CN109287056A (en) A kind of single-fire-wire electronic switch
CN106347523B (en) Trailer compartment identification device based on 1-Wire and method
CN105159222B (en) Remote start control circuit for master-slave industrial control equipment
US9629222B2 (en) Digital addressable lighting interface short protection circuit
CN206155619U (en) Trailer bed recognition device based on 1 wire
CN210167853U (en) Distribution automation terminal
CN104251530B (en) A kind of air-conditioning communication bus distribution protection device and method
CN207184027U (en) A kind of USB interface is to vehicle power short-circuit protection circuit
CN213423736U (en) System for adding non-connection function to mechanical switch button and keeping original wiring
CN102820789A (en) Alternating current zero and live wire identification conversion circuit
CN210807214U (en) Circuit structure for realizing ultralow standby power consumption by utilizing optical coupler of switching device
CN107884666A (en) MBUS bus short circuits detect circuit and its detection method
CN102832078A (en) Contactor control device, contactor control system and contactor control method
CN104347313A (en) Realization method of relay driving module applied to elevator control system
CN104301643B (en) A kind of television set LLC topology direct low-power consumption standby circuits
CN208182396U (en) A kind of third party's elevator control system
CN112909892A (en) Air conditioner electrical safety control method and system
CN213907010U (en) DALI bus transmission distance extension control system
CN104570818A (en) Automatic power supply system
CN104354660B (en) Electric energy distribution circuit for automobile
CN202818119U (en) Circuit for identifying and converting AC zero and live wire

Legal Events

Date Code Title Description
C06 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