CN214067627U - Control circuit, PCB and electronic device - Google Patents

Control circuit, PCB and electronic device Download PDF

Info

Publication number
CN214067627U
CN214067627U CN202023225883.6U CN202023225883U CN214067627U CN 214067627 U CN214067627 U CN 214067627U CN 202023225883 U CN202023225883 U CN 202023225883U CN 214067627 U CN214067627 U CN 214067627U
Authority
CN
China
Prior art keywords
transceiver
flash
control circuit
signal
serial port
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
CN202023225883.6U
Other languages
Chinese (zh)
Inventor
韩莉勤
刘园园
胡卓敏
杨春雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vitesco Automotive Wuhu Co Ltd
Continental Automotive Body Electronic System Wuhu Co Ltd
Original Assignee
Continental Automotive Body Electronic System Wuhu 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 Continental Automotive Body Electronic System Wuhu Co Ltd filed Critical Continental Automotive Body Electronic System Wuhu Co Ltd
Priority to CN202023225883.6U priority Critical patent/CN214067627U/en
Application granted granted Critical
Publication of CN214067627U publication Critical patent/CN214067627U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The utility model provides a control circuit, including controller and transceiver, the controller has serial ports and writes signal input end WSI with a brush, WSI is used for the input to come from the signal of writing with a brush of equipment, control circuit still includes logic or circuit or controllable switch, when writing with a brush the signal is effective, the signal of output pin SOT can not send the sending pin TX of transceiver, the controller writes with a brush the procedure through the serial ports; otherwise the controller communicates with the transceiver TR via a serial port. The utility model also provides a PCB and electron device. The utility model provides a control circuit, PCB and electron device sets up logic or circuit or controllable switch between the output pin SOT of controller serial port and the sending terminal TX of transceiver, when the signal of writing with a brush is effective, the controller writes with a brush the procedure through the serial port; otherwise, the controller performs K-line communication or LIN communication through the serial port, so that the programming controller program and the K-line communication or LIN communication can share a pair of serial ports.

Description

Control circuit, PCB and electronic device
Technical Field
The utility model relates to an automotive filed, concretely relates to control circuit, PCB and electron device.
Background
If the control circuit has a communication function, the communication needs to occupy a pair of serial ports of the controller, and generally, the refresh of the controller program also needs to occupy a pair of serial ports. As the functions of the control circuit become more complex, the interface resources become more and more strained.
Disclosure of Invention
Aiming at the problems in the prior art, the utility model aims to solve the problem of providing a control circuit, a logic or circuit or a controllable switch is arranged between an output pin SOT of a serial port of a controller and a sending end TX of a transceiver, when a flash signal is effective, the controller writes a program through the serial port; otherwise, the controller performs K-line communication or LIN communication through the serial port, so that the programming controller program and the K-line communication or LIN communication can share a pair of serial ports.
The utility model provides a control circuit, including controller and transceiver, the controller has serial ports and the signal input part WSI of writing with a brush, and the signal input part WSI of writing with a brush is used for the input to come from the signal of writing with a brush of equipment of writing with a brush, control circuit still includes logic or circuit or controllable switch, and the signal of writing with a brush through logic or circuit or controllable switch control serial ports output pin SOT can send the transmission pin TX of transceiver or not, and when the signal of writing with a brush was effective, the signal of serial ports output pin SOT can not send the transmission pin TX of transceiver, and the controller writes with a brush through the serial ports; otherwise, the signal of the output pin SOT of the serial port can be sent to the sending pin TX of the transceiver, and the controller is communicated with the transceiver TR through the serial port.
Further, the output pin SOT is connected to a first input IN1 of the or circuit, the flash signal input WSI is connected to a second input IN2 of the or circuit, an output OT of the or circuit is connected to a transmit pin TX of the transceiver, and the flash signal is active high.
Further, the first input terminal IN1 of the or circuit is connected to the power supply positive terminal VCC through a first resistor R1, and the flash signal input terminal WSI is connected to the second input terminal IN2 of the or gate through a voltage dividing circuit.
Furthermore, the input end of the controllable switch is connected with the output pin SOT of the serial port, the output end of the controllable switch is connected with the sending pin TX of the transceiver, and the flash signal is connected to the control end of the controllable switch.
Further, the controllable switch comprises a triode or a field effect transistor.
Further, the transceiver is a K-wire communication transceiver or a LIN transceiver.
Furthermore, the control circuit further comprises a flash port for connecting a wiring harness from the flash device, an input pin SIN of the serial port is connected with a receiving terminal LRX of the flash port, an output pin SOT of the serial port is connected with a sending terminal LTX of the flash port, and a flash signal input end WSI is connected with a flash signal terminal LWS of the flash port.
The utility model also provides a PCB, including above-mentioned control circuit.
The utility model also provides an electronic device, including above-mentioned PCB.
Further, the electronic device is an instrument, an infotainment system or a vehicle body control module.
Compared with the prior art, the utility model provides a control circuit, PCB and electron device has following beneficial effect: a logic OR circuit or a controllable switch is arranged between an output pin SOT of a serial port of the controller and a sending end TX of the transceiver, and when the flash signal is effective, the controller writes a program through the serial port; otherwise, the controller performs K-line communication or LIN communication through the serial port, so that the programming controller program and the K-line communication or LIN communication can share a pair of serial ports.
Drawings
Fig. 1 is a schematic diagram of a control circuit according to an embodiment of the present invention.
Detailed Description
As shown in fig. 1, the control circuit of an embodiment of the present invention is used for a meter and is disposed on a PCB of the meter. In other embodiments, it may also be used, for example, in an infotainment system or in a body control module.
The control circuit in this embodiment includes a controller MCU and a transceiver TR, where the transceiver TR is a K-wire communication transceiver, and in other embodiments, the transceiver may also be a LIN transceiver.
The controller MCU is provided with a serial port and a flash signal input end WSI, the serial port comprises a receiving pin SIN and an output pin SOT, and the flash signal input end WSI is used for inputting a flash signal from the flash device D.
The control circuit further includes a logic or circuit, in this embodiment, the logic or circuit is an or gate, and in other embodiments, the logic or circuit may also be a logic or circuit composed of discrete components.
The output pin SOT is connected to a first input terminal IN1 of the or gate, the first input terminal IN1 of the or gate is connected to a power supply positive electrode VCC through a first resistor R1, the flash signal is connected to a second input terminal IN2 of the or gate, the output terminal OT of the or gate is connected to a transmission pin TX of the transceiver TR, and the flash signal input terminal WSI of the controller is connected to the second input terminal IN2 of the or gate through a voltage dividing circuit.
The flash signal is active high.
The control circuit further comprises a brushing port used for connecting a wire harness from a brushing device, an input pin SIN of the serial port is connected with a receiving terminal LRX of the brushing port, an output pin SOT of the serial port is connected with a sending terminal LTX of the brushing port, and a brushing signal input end WSI is connected with a brushing signal terminal LWS of the brushing port.
When the flash device is connected to the flash port, the flash signal terminal LWS of the flash port is at a high level, i.e., the flash signal is active.
At this time, the controller MCU detects that the input end WSI of the flash signal is at a high level, and enters a state of a flash program.
The flush signal is high, the second input terminal IN2 of the or-gate is high, and the output terminal OT of the or-gate outputs high to the transmit pin TX of the transceiver TR, so that the signal of the output pin SOT of the serial port cannot be transmitted to the transmit pin TX of the transceiver, that is, the controller cannot communicate with the transceiver TR through the serial port, but through the serial port flush program.
When the flash device is disconnected from the flash port, the flash signal terminal LWS of the flash port is suspended, and the controller MCU works normally and cannot enter the state of a flash program. The second input terminal IN2 of the or-gate is low, the signal at the output terminal OT of the or-gate is the same as the signal at the output pin SOT of the serial port, and the signal at the output pin SOT can be sent to the transmit pin TX of the transceiver, i.e. the controller can communicate with the transceiver TR through the serial port.
By arranging a logic or circuit between an output pin SOT of a serial port of the controller and a sending end TX of the transceiver, when the flash signal is effective, the controller writes a program through the serial port; otherwise, the controller communicates with the transceiver TR through a serial port, so that the controller program and communication can share a pair of serial ports.
An input/output pin K of the transceiver TR is connected to a power supply positive electrode V1 through a fourth resistor R4, the port voltage is considered to be higher than the K line working voltage, the port voltage is connected with an output end KL through a field effect transistor M, the output end KL is connected with a K communication line, and the field effect transistor M plays a role in reverse protection.
A transient voltage suppression diode T, also referred to as a TVS transistor, may be disposed between the input/output pin K of the transceiver TR and ground to protect the control circuit from voltage spikes introduced by the K communication line KL.
A voltage dependent resistor R6 and a filter capacitor C1 are further arranged between the output end KL and the ground.
In another embodiment, the control circuit further includes a controllable switch, in this embodiment, the controllable switch is a field effect transistor, and in other embodiments, the controllable switch may also be a switching circuit formed by a triode or other discrete components.
The flash signal is connected to the control end of the controllable switch, namely to the grid of the field effect transistor, the source of the field effect transistor is connected to the output pin SOT of the serial port, and the drain is connected to the transmission pin TX of the transceiver.
When the flash signal is active, for example, at a low level, the fet is turned off, the signal at the output pin SOT cannot be transmitted to the transmission pin TX of the transceiver, and the controller cannot communicate with the transceiver TR via the serial port.
And the controller detects that the flashing signal terminal LWS is at a low level, enters a state of a flashing program, and the controller flashes the program.
Although the present invention has been described with reference to the preferred embodiments, the present invention is not limited thereto. Various changes and modifications can be made by one skilled in the art without departing from the spirit and scope of the invention, and the scope of the invention is to be determined by the appended claims.

Claims (10)

1. A control circuit is characterized by comprising a controller and a transceiver, wherein the controller is provided with a serial port and a flash signal input end WSI, the flash signal input end WSI is used for inputting a flash signal from flash equipment, the control circuit further comprises a logic OR circuit or a controllable switch, the flash signal controls whether a signal of an output pin SOT of the serial port can be sent to a sending pin TX of the transceiver through the logic OR circuit or the controllable switch, when the flash signal is effective, the signal of the output pin SOT of the serial port cannot be sent to the sending pin TX of the transceiver, and the controller writes a program through the serial port; otherwise, the signal of the output pin SOT of the serial port can be sent to the sending pin TX of the transceiver, and the controller is communicated with the transceiver TR through the serial port.
2. Control circuit according to claim 1, characterized IN that the output pin SOT is connected to a first input IN1 of the logical or circuit, the flash signal input WSI is connected to a second input IN2 of the logical or circuit, the output OT of the logical or circuit is connected to a transmit pin TX of the transceiver, the flash signal being active high.
3. The control circuit of claim 2, wherein the first input terminal IN1 of the or logic circuit is connected to the power supply positive terminal VCC through a first resistor R1, and the refresh signal input terminal WSI is connected to the second input terminal IN2 of the or gate via a voltage dividing circuit.
4. The control circuit of claim 1, wherein the input terminal of the controllable switch is connected to the SOT of the serial port, the output terminal of the controllable switch is connected to the TX pin of the transceiver, and the flash signal is connected to the control terminal of the controllable switch.
5. The control circuit of claim 4, wherein the controllable switch comprises a triode or a field effect transistor.
6. The control circuit of claim 1, wherein the transceiver is a K-wire communication transceiver or a LIN transceiver.
7. The control circuit of claim 1, wherein the control circuit further comprises a flash port for connecting a wire harness from a flash device, an input pin SIN of the serial port is connected to a receiving terminal LRX of the flash port, an output pin SOT of the serial port is connected to a transmitting terminal LTX of the flash port, and a flash signal input terminal WSI is connected to a flash signal terminal LWS of the flash port.
8. A PCB comprising the control circuit of any of claims 1-7.
9. An electronic device, characterized in that the electronic device comprises the PCB of claim 8.
10. The electronic device of claim 9, wherein the electronic device is an instrument, an infotainment system, or a body control module.
CN202023225883.6U 2020-12-28 2020-12-28 Control circuit, PCB and electronic device Active CN214067627U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202023225883.6U CN214067627U (en) 2020-12-28 2020-12-28 Control circuit, PCB and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202023225883.6U CN214067627U (en) 2020-12-28 2020-12-28 Control circuit, PCB and electronic device

Publications (1)

Publication Number Publication Date
CN214067627U true CN214067627U (en) 2021-08-27

Family

ID=77387811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202023225883.6U Active CN214067627U (en) 2020-12-28 2020-12-28 Control circuit, PCB and electronic device

Country Status (1)

Country Link
CN (1) CN214067627U (en)

Similar Documents

Publication Publication Date Title
US9502889B2 (en) Controller area network node transceiver
CN105812014B (en) Method for controlling controller area network transceiver circuit and apparatus thereof
CN105141491B (en) RS485 communication circuit and method for realizing spontaneous self-receiving
US4797582A (en) Bidirectional interface circuit having a unipolar port and a bipolar port for logic signals
CN109600288B (en) Isolation circuit and electronic control unit of controller area network CAN signal
CN214067627U (en) Control circuit, PCB and electronic device
CN104038207B (en) A kind of switching circuit and electronic equipment
CN106647344A (en) Motor vehicle driving module and control unit
CN214851274U (en) CAN bus communication circuit and CAN bus communication device
CN209447019U (en) RS485 equipment connects circuit and system
CN107517053A (en) A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly
CN106372025A (en) Bus-type communication circuit
US20090102506A1 (en) Adapter
CN210348476U (en) Circuit for realizing RS 485-like bus connection based on RS232 level and data transmission device
KR102526974B1 (en) Apparatus for controlling pn relay for vehicle
CN207039564U (en) A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly
CN113242639B (en) Soft and hard dual-control and mutual isolation protection circuit of automobile instrument alarm lamp and working method
CN220830449U (en) Isolation circuit and electronic controller
CN219225344U (en) Communication isolator and air conditioning system
CN213213461U (en) Single-wire communication circuit capable of receiving and transmitting
CN220064804U (en) Single-wire-controlled RS485-RS232 switching circuit
CN214929515U (en) Wake-up circuit, PCB and electronic device
CN220139568U (en) CAN communication circuit, circuit board and air conditioner
CN108988840B (en) Single-wire bidirectional wake-up circuit and vehicle
CN212112460U (en) High-voltage-resistant 485 interface circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant