CN113067563A - PWM signal output and diagnostic circuit - Google Patents

PWM signal output and diagnostic circuit Download PDF

Info

Publication number
CN113067563A
CN113067563A CN202110276057.4A CN202110276057A CN113067563A CN 113067563 A CN113067563 A CN 113067563A CN 202110276057 A CN202110276057 A CN 202110276057A CN 113067563 A CN113067563 A CN 113067563A
Authority
CN
China
Prior art keywords
resistor
triode
signal
signal output
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.)
Pending
Application number
CN202110276057.4A
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.)
Beijing Idriverplus Technologies Co Ltd
Original Assignee
Chongqing Zhixing Information 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 Chongqing Zhixing Information Technology Co Ltd filed Critical Chongqing Zhixing Information Technology Co Ltd
Priority to CN202110276057.4A priority Critical patent/CN113067563A/en
Publication of CN113067563A publication Critical patent/CN113067563A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K7/00Modulating pulses with a continuously-variable modulating signal
    • H03K7/08Duration or width modulation ; Duty cycle modulation
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/08Modifications for protecting switching circuit against overcurrent or overvoltage
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0175Coupling arrangements; Interface arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Amplifiers (AREA)

Abstract

The present invention relates to a PWM signal output and diagnosis circuit, comprising: the circuit comprises a first triode, a second triode, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor and a capacitor; the base electrode of the first triode is connected with the first resistor in series and then is connected with the voltage signal input end; the voltage signal input end is connected with the second resistor in series and then is grounded; the emitter of the first triode is grounded; the first end of the collector of the first triode is connected with a third resistor in series and then is connected with a power supply; the second end of the collector of the first triode is connected with a fourth resistor in series and then is connected with the base of the second triode; an emitter of the second triode is connected with the fifth resistor in series and then is connected with the power supply; the collector of the second triode is connected with the PWM signal output end; one end of the sixth resistor is connected with the PWM signal output end, and the other end of the sixth resistor is connected with the seventh resistor in series and is grounded; and the capacitor is connected in parallel at two ends of the seventh resistor, and one end of the capacitor is connected with the signal acquisition end.

Description

PWM signal output and diagnostic circuit
Technical Field
The invention relates to the field of automobiles, in particular to a PWM signal output and diagnosis circuit.
Background
As the automotive industry continues to evolve, consumer demands for vehicles are increasing. Especially, the novel unmanned trolley has the advantage that the requirements that the car lamps have the effect of water-flowing lamps are met on the basis of the traditional requirements of the car lamps such as turning on and off, white lamps and red lamps.
The car lamp signal in the prior art does not have a running water lamp effect, does not have circuit diagnosis and circuit protection functions, and once a short circuit occurs, the circuit is easy to damage, so that the safety of a vehicle is influenced.
Disclosure of Invention
The invention aims to provide a PWM signal output and diagnosis circuit aiming at the defects of the prior art, which controls and outputs a PWM light signal through the combined drive of a PNP type triode and an NPN type triode, diagnoses and protects the generated PWM light signal, reduces the circuit damage probability and improves the vehicle driving safety.
To achieve the above object, the present invention provides a PWM signal output and diagnosis circuit, comprising: a signal output sub-circuit and a signal diagnosis sub-circuit;
the signal output sub-circuit includes: the circuit comprises a first triode, a second triode, a first resistor, a second resistor, a third resistor, a fourth resistor and a fifth resistor; the first triode is an NPN triode, and the second triode is a PNP triode;
the base electrode of the first triode is connected with the first resistor in series and then is connected with the voltage signal input end; the voltage signal input end is connected with the second resistor in series and then is grounded; the emitting electrode of the first triode is grounded; the first end of the collector of the first triode is connected with the third resistor in series and then is connected with a power supply; the second end of the collector of the first triode is connected with the base of the second triode after being connected with the fourth resistor in series;
an emitting electrode of the second triode is connected with the fifth resistor in series and then is connected with the power supply; the collector of the second triode is connected with the Pulse Width Modulation (PWM) signal output end;
the signal diagnosis sub-circuit comprises a sixth resistor, a seventh resistor and a capacitor;
one end of the sixth resistor is connected with the PWM signal output end, and the other end of the sixth resistor is connected with the seventh resistor in series and is grounded; the capacitor is connected in parallel at two ends of the seventh resistor, and one end of the capacitor is connected with the signal acquisition end;
when the voltage signal input end is at a first level, the first triode is in a saturation state, the collector voltage of the first triode is at a first voltage, the second triode is in an amplification state, and the PWM signal output end outputs the first level;
when the voltage signal input end is at a second level, the first triode is in a cut-off state, the collector voltage of the first triode is power voltage, the second triode is in a cut-off state, and the PWM signal output end outputs the second level;
and when the level signal acquired by the signal acquisition end is 0V or the level signal is a first level within a preset time period, the signal acquisition end generates an alarm signal.
Preferably, the signal diagnosis sub-circuit further comprises a diode;
one end of the diode is connected with the collector of the second triode, and the other end of the diode is grounded.
Further preferably, the diode is an electrostatic discharge (ESD) diode.
According to the PWM signal output and diagnosis circuit provided by the embodiment of the invention, the PNP type triode and the NPN type triode are combined to drive and control the output of the PWM light signal, and the generated PWM light signal is diagnosed and protected, so that the circuit damage probability is reduced, and the vehicle driving safety is improved.
Drawings
Fig. 1 is a circuit diagram of a PWM signal output and diagnostic circuit according to an embodiment of the present invention.
Detailed Description
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
According to the PWM signal output and diagnosis circuit provided by the invention, the PNP type triode and the NPN type triode are combined to drive and control the output of the PWM light signal, and the generated PWM light signal is diagnosed and protected, so that the circuit damage probability is reduced, and the vehicle driving safety is improved.
Fig. 1 is a circuit diagram of a PWM signal output and diagnosis circuit according to an embodiment of the present invention, and the following describes the technical solution of the present invention in detail with reference to fig. 1.
As shown in fig. 1, a PWM signal output and diagnosis circuit includes: a signal output sub-circuit 100 and a signal diagnostic sub-circuit 200.
The signal output sub-circuit 100 includes: the circuit comprises a first triode Q1, a second triode Q2, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a fifth resistor R5. The first transistor Q1 is an NPN transistor, and the second transistor Q2 is a PNP transistor.
The base of the first transistor Q1 is connected in series with the first resistor R1 and then connected to the voltage SIGNAL INPUT terminal SIGNAL _ INPUT. The voltage SIGNAL INPUT terminal SIGNAL _ INPUT is connected in series with the second resistor R2 and then is grounded to GND. The emitter of the first transistor Q1 is connected to ground GND. The first end of the collector of the first transistor Q1 is connected in series with the third resistor R3 and then connected to the power supply Vcc. The second end of the collector of the first transistor Q1 is connected in series with the fourth resistor R4 and then connected with the base of the second transistor Q2. The emitter of the second transistor Q2 is connected in series with the fifth resistor R5 and then connected to the power supply Vcc. The collector of the second transistor Q2 is connected to a Pulse Width Modulation (PWM) signal OUTPUT terminal PWM _ OUTPUT.
The voltage SIGNAL INPUT end SIGNAL _ INPUT is connected with a processor capable of generating high-frequency SIGNALs, a SIGNAL generator and a single chip microcomputer. The second resistor R2 is a pull-down resistor, and in order to avoid the distortion due to the excessively high SIGNAL frequency, the resistance of the second resistor R2 cannot be excessively large, and the level SIGNAL of the corresponding voltage SIGNAL INPUT terminal SIGNAL _ INPUT cannot be excessively high, so as to avoid the power borne by the second resistor R2 exceeding the maximum power borne. The first resistor R1 is a current-limiting resistor of the base of the first transistor Q1, so as to avoid burning out the first transistor Q1 due to excessive current. The third resistor R3 is a pull-up current limiting resistor of the first transistor Q1. The power supply voltage in the embodiment of the invention can be adjusted according to the requirement of the actual load on the level amplitude of the PWM signal.
The signal diagnosis sub-circuit 200 includes a sixth resistor R6, a seventh resistor R7, and a capacitor C1. One end of the sixth resistor R6 is connected to the PWM signal OUTPUT terminal PWM _ OUTPUT, and the other end is connected in series with the seventh resistor R7 and grounded GND. The capacitor C1 is connected in parallel to two ends of the seventh resistor R7, and one end of the capacitor C1 is connected to the signal acquisition end PWM _ AD. The resistance of the seventh resistor R7 cannot be too large, which may result in too high frequency distortion of the PWM signal.
In a preferred embodiment, the signal diagnosis sub-circuit 200 further includes a diode D1. One end of the diode D1 is connected to the collector of the second transistor Q2, and the other end is grounded to GND. Diode D1 is preferably an Electro-Static discharge (ESD) diode. The ESD diode can effectively prevent external static electricity from damaging an internal circuit.
The circuit configuration of the PWM signal output and diagnosis circuit according to the embodiment of the present invention is explained above, and the operation principle is explained below based on the circuit configuration.
When the voltage SIGNAL INPUT terminal SIGNAL _ INPUT is at the first level, the first transistor Q1 is in a saturation state, the collector voltage of the first transistor Q1 is the first voltage, i.e., the saturation voltage, which is about 0.4V, the base voltage of the second transistor Q2 is smaller than the emitter voltage, the second transistor Q2 is in an amplification state, and the PWM SIGNAL OUTPUT terminal PWM _ OUTPUT OUTPUTs the first level.
When the voltage SIGNAL INPUT terminal SIGNAL _ INPUT is at the second level, the first triode Q1 is in a cut-off state, the collector voltage of the first triode Q1 is the power voltage, the emitter voltage and the base voltage of the second triode Q2 are equal at this time, the second triode Q2 is in a cut-off state, and the PWM SIGNAL OUTPUT terminal PWM _ OUTPUT OUTPUTs the second level.
In the embodiment of the invention, the first level is high level, and the second level is low level.
The PWM SIGNAL OUTPUT by the PWM SIGNAL OUTPUT terminal PWM _ OUTPUT changes with the frequency and duty ratio of the SIGNAL INPUT by the voltage SIGNAL INPUT terminal SIGNAL _ INPUT, thereby achieving the effect of water lamp.
When the signal acquisition end PWM _ AD carries out AD acquisition on the PWM signal and the acquired level signal is 0V, the PWM signal output at the moment is indicated to be short, and the signal acquisition end PWM _ AD generates an alarm signal. When the level signal is at the first level in a preset time period, the short voltage of the PWM signal is indicated, and the signal acquisition end PWM _ AD generates an alarm signal. Otherwise, the PWM signal is normally output.
The diode and the triode in the embodiment of the invention can be replaced by other components which can realize the same function. The resistance values of the resistors in fig. 1 are all 100R, and can be adjusted according to actual conditions.
According to the PWM signal output and diagnosis circuit, the PNP type triode and the NPN type triode are combined to drive and control the output of the PWM light signal, and the generated PWM light signal is diagnosed and protected, so that the circuit damage probability is reduced, and the vehicle driving safety is improved.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (3)

1. A PWM signal output and diagnostic circuit, the circuit comprising: a signal output sub-circuit and a signal diagnosis sub-circuit;
the signal output sub-circuit includes: the circuit comprises a first triode, a second triode, a first resistor, a second resistor, a third resistor, a fourth resistor and a fifth resistor; the first triode is an NPN triode, and the second triode is a PNP triode;
the base electrode of the first triode is connected with the first resistor in series and then is connected with the voltage signal input end; the voltage signal input end is connected with the second resistor in series and then is grounded; the emitting electrode of the first triode is grounded; the first end of the collector of the first triode is connected with the third resistor in series and then is connected with a power supply; the second end of the collector of the first triode is connected with the base of the second triode after being connected with the fourth resistor in series;
an emitting electrode of the second triode is connected with the fifth resistor in series and then is connected with the power supply; the collector of the second triode is connected with the Pulse Width Modulation (PWM) signal output end;
the signal diagnosis sub-circuit comprises a sixth resistor, a seventh resistor and a capacitor;
one end of the sixth resistor is connected with the PWM signal output end, and the other end of the sixth resistor is connected with the seventh resistor in series and is grounded; the capacitor is connected in parallel at two ends of the seventh resistor, and one end of the capacitor is connected with the signal acquisition end;
when the voltage signal input end is at a first level, the first triode is in a saturation state, the collector voltage of the first triode is at a first voltage, the second triode is in an amplification state, and the PWM signal output end outputs the first level;
when the voltage signal input end is at a second level, the first triode is in a cut-off state, the collector voltage of the first triode is power voltage, the second triode is in a cut-off state, and the PWM signal output end outputs the second level;
and when the level signal acquired by the signal acquisition end is 0V or the level signal is a first level within a preset time period, the signal acquisition end generates an alarm signal.
2. The PWM signal output and diagnostic circuit according to claim 1, wherein the signal diagnostic sub-circuit further comprises a diode;
one end of the diode is connected with the collector of the second triode, and the other end of the diode is grounded.
3. The PWM signal output and diagnostic circuit according to claim 2, wherein the diode is an electrostatic discharge ESD diode.
CN202110276057.4A 2021-03-15 2021-03-15 PWM signal output and diagnostic circuit Pending CN113067563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110276057.4A CN113067563A (en) 2021-03-15 2021-03-15 PWM signal output and diagnostic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110276057.4A CN113067563A (en) 2021-03-15 2021-03-15 PWM signal output and diagnostic circuit

Publications (1)

Publication Number Publication Date
CN113067563A true CN113067563A (en) 2021-07-02

Family

ID=76560524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110276057.4A Pending CN113067563A (en) 2021-03-15 2021-03-15 PWM signal output and diagnostic circuit

Country Status (1)

Country Link
CN (1) CN113067563A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204290916U (en) * 2014-11-28 2015-04-22 广州视源电子科技股份有限公司 A kind of switching circuit
CN104811026A (en) * 2015-05-27 2015-07-29 成都德麦科技有限公司 Switch power supply
US20160352322A1 (en) * 2013-07-31 2016-12-01 Hewlett-Packard Development Company, L.P. Digital pulse width modulation control for load switch circuits
US9609713B1 (en) * 2015-12-23 2017-03-28 Zhuhai Shengchang Electronics Co., Ltd. Kind of pulse width dimming control circuit for LED phase cut dimming power supply
CN106655724A (en) * 2016-11-03 2017-05-10 广州视源电子科技股份有限公司 Power switch circuit
WO2017121110A1 (en) * 2016-01-13 2017-07-20 吉林航盛电子有限公司 Pedestrian sound warning device having active early-warning function for use in new-energy vehicle
CN208226561U (en) * 2018-06-20 2018-12-11 麦格纳电子(张家港)有限公司 A kind of Drive Protecting Circuit of vehicle electronic control unit
CN110636664A (en) * 2019-08-02 2019-12-31 惠州市德赛西威汽车电子股份有限公司 Indicator lamp driving circuit with diagnosis function
CN209994384U (en) * 2019-07-31 2020-01-24 厦门亿联网络技术股份有限公司 Single-wire half-duplex communication circuit
CN110768518A (en) * 2019-11-26 2020-02-07 深圳市欧瑞博科技有限公司 Power isolation circuit and intelligent door lock system
US20200137868A1 (en) * 2018-10-29 2020-04-30 Nuctech Company Limited Filament power supply for electron accelerator and electron accelerator
CN210517765U (en) * 2019-08-02 2020-05-12 北京智行者科技有限公司 NMOS transistor-based low-end drive output short-circuit protection circuit
CN111289882A (en) * 2020-03-30 2020-06-16 重庆长安新能源汽车科技有限公司 Push-pull output PWM open circuit detection circuit and method and vehicle
CN111988022A (en) * 2020-07-31 2020-11-24 重庆智行者信息科技有限公司 Automobile PWM output circuit

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160352322A1 (en) * 2013-07-31 2016-12-01 Hewlett-Packard Development Company, L.P. Digital pulse width modulation control for load switch circuits
CN204290916U (en) * 2014-11-28 2015-04-22 广州视源电子科技股份有限公司 A kind of switching circuit
CN104811026A (en) * 2015-05-27 2015-07-29 成都德麦科技有限公司 Switch power supply
US9609713B1 (en) * 2015-12-23 2017-03-28 Zhuhai Shengchang Electronics Co., Ltd. Kind of pulse width dimming control circuit for LED phase cut dimming power supply
WO2017121110A1 (en) * 2016-01-13 2017-07-20 吉林航盛电子有限公司 Pedestrian sound warning device having active early-warning function for use in new-energy vehicle
CN106655724A (en) * 2016-11-03 2017-05-10 广州视源电子科技股份有限公司 Power switch circuit
CN208226561U (en) * 2018-06-20 2018-12-11 麦格纳电子(张家港)有限公司 A kind of Drive Protecting Circuit of vehicle electronic control unit
US20200137868A1 (en) * 2018-10-29 2020-04-30 Nuctech Company Limited Filament power supply for electron accelerator and electron accelerator
CN209994384U (en) * 2019-07-31 2020-01-24 厦门亿联网络技术股份有限公司 Single-wire half-duplex communication circuit
CN110636664A (en) * 2019-08-02 2019-12-31 惠州市德赛西威汽车电子股份有限公司 Indicator lamp driving circuit with diagnosis function
CN210517765U (en) * 2019-08-02 2020-05-12 北京智行者科技有限公司 NMOS transistor-based low-end drive output short-circuit protection circuit
CN110768518A (en) * 2019-11-26 2020-02-07 深圳市欧瑞博科技有限公司 Power isolation circuit and intelligent door lock system
CN111289882A (en) * 2020-03-30 2020-06-16 重庆长安新能源汽车科技有限公司 Push-pull output PWM open circuit detection circuit and method and vehicle
CN111988022A (en) * 2020-07-31 2020-11-24 重庆智行者信息科技有限公司 Automobile PWM output circuit

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
NUNO M. A. FREIRE等: "A Fault-Tolerant Direct Controlled PMSG Drive for Wind Energy Conversion Systems", 《 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS 》 *
刘渊: "某涡扇发动机智能容错控制系统设计及半物理验证", 《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅱ辑》 *
李茁等: "复杂环境下的激光雷达目标物实时检测方法", 《激光杂志》 *

Similar Documents

Publication Publication Date Title
JP4483751B2 (en) Power supply reverse connection protection circuit
US7282809B2 (en) Interface circuit between a direct-current voltage source and a circuit for driving a load, particularly for use in motor-vehicles
CN112019003A (en) Load driving circuit with full diagnosis function built by discrete components
CN113067563A (en) PWM signal output and diagnostic circuit
CN217935448U (en) Chip starting circuit, controller, electronic equipment and vehicle
US9920735B2 (en) Drive control circuit, and ignition device for internal combustion engine
CN112350709A (en) Multi-protection current input interface circuit
CN208226561U (en) A kind of Drive Protecting Circuit of vehicle electronic control unit
CN215498249U (en) Circuit for limiting current of driving tube when power supply and ground wire are reversely connected
CN210119681U (en) Self-holding output driving circuit device
JP7257164B2 (en) clamp circuit
CN211606871U (en) Starting protection module driven by LED vehicle lamp
CN218550243U (en) Automobile-used LED lamp control and protection circuit and vehicle
JPS62238469A (en) Frequency switch
CN216915764U (en) Analog current control circuit based on rain-proof short circuit interference
CN212677433U (en) High-end switching circuit with output short-circuit protection, car lamp and vehicle
CN219067856U (en) Alarm signal output circuit for brushless motor controller
CN211819969U (en) PWM drive circuit
CN220693124U (en) Load driving circuit
CN215154253U (en) Low-side output circuit with current limiting function
CN212556124U (en) Triode protection circuit for interface, instrument and automobile
US11581887B2 (en) Overcurrent protection circuit
US6194951B1 (en) Method and device for diving an integrated power output stage
JP6894957B2 (en) False output prevention circuit
CN210839510U (en) Fault protection circuit and fault protection device

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
TA01 Transfer of patent application right

Effective date of registration: 20210810

Address after: B4-006, maker Plaza, 338 East Street, Huilongguan town, Changping District, Beijing 100096

Applicant after: Beijing Idriverplus Technology Co.,Ltd.

Address before: 401122 No.1, 1st floor, building 3, No.21 Yunzhu Road, Yubei District, Chongqing

Applicant before: Chongqing Zhixing Information Technology Co.,Ltd.

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: B4-006, maker Plaza, 338 East Street, Huilongguan town, Changping District, Beijing 100096

Applicant after: Beijing Idriverplus Technology Co.,Ltd.

Address before: B4-006, maker Plaza, 338 East Street, Huilongguan town, Changping District, Beijing 100096

Applicant before: Beijing Idriverplus Technology Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20210702

RJ01 Rejection of invention patent application after publication