CN102880483A - Serial port programming and watchdog compatible circuit of electric driving controller of electric vehicle - Google Patents

Serial port programming and watchdog compatible circuit of electric driving controller of electric vehicle Download PDF

Info

Publication number
CN102880483A
CN102880483A CN201210288661XA CN201210288661A CN102880483A CN 102880483 A CN102880483 A CN 102880483A CN 201210288661X A CN201210288661X A CN 201210288661XA CN 201210288661 A CN201210288661 A CN 201210288661A CN 102880483 A CN102880483 A CN 102880483A
Authority
CN
China
Prior art keywords
enable signal
programming
circuit
serial ports
watchdog
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.)
Granted
Application number
CN201210288661XA
Other languages
Chinese (zh)
Other versions
CN102880483B (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.)
Hefei JEE Power System Co Ltd
Original Assignee
Anhui JEE Automation Equipment 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 Anhui JEE Automation Equipment Co Ltd filed Critical Anhui JEE Automation Equipment Co Ltd
Priority to CN201210288661.XA priority Critical patent/CN102880483B/en
Publication of CN102880483A publication Critical patent/CN102880483A/en
Application granted granted Critical
Publication of CN102880483B publication Critical patent/CN102880483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses a serial port programming and watchdog compatible circuit of an electric driving controller of an electric vehicle. The serial port programming and watchdog compatible circuit is characterized by comprising an external serial port programming enable signal end, a signal conversion circuit and a watchdog shielding circuit, wherein when a serial port is required to be used for programming, the external serial port programming enable signal end is directly connected to a serial port programming 12V ground enable signal; the signal conversion circuit converts the serial port programming 12V ground enable signal into a 3.3V ground enable signal and an enable signal which can be received by a serial port programming enable pin in a digital signal processor (DSP) master control chip to identify a programming instruction; the 3.3V ground enable signal serves as a watchdog shielding signal, and a programming function is normally realized by shielding a watchdog function; and when an external serial port programming enable signal disappears, a design function of a watchdog is recovered. By adoption of the serial port programming and watchdog compatible circuit of the electric driving controller of the electric vehicle, a hardware DSP serial port programming circuit is compatible with a watchdog compatible circuit in a hardware circuit of a pure electric vehicle motor controller.

Description

Electric automobile electricity driving governor serial ports programming and house dog compatible circuit
Technical field
The present invention relates to a kind of serial ports programming and house dog compatible circuit that is applied in the electric automobile electricity driving governor.
Background technology
In numerous DSP control circuits, need to carry out program burn writing to dsp chip, in order to reach the control purpose, normally carry out programming by JTAG and serial ports dual mode; And in some important product; as in the electric machine controller of electric automobile; need to add necessary watchdog circuit; monitor at any time the whether normally operation of DSP program; when program fleet or other faults occurring; use watchdog circuit that DSP is resetted, remove rapidly fault, with the security of protection vehicle.In electric automobile, the performance of car load and the safety of human pilot of directly having influence on whether working properly of controller, therefore, the adding watchdog circuit is most important in controller.In the prior art, do not have program that watchdog circuit is carried out " feeding dog " operation after the PCB circuit board machines, therefore it resets to DSP always, can't carry out the programming program this moment to DSP.
Summary of the invention
The present invention is for avoiding the existing weak point of above-mentioned prior art, a kind of electric automobile electricity driving governor serial ports programming and house dog compatible circuit are provided, so that in the hardware circuit of controller for motor of pure electric vehicle, hardware DSP serial ports programming circuit can coexist with watchdog circuit, after serial ports programming program is complete, house dog can recover again normal operation, avoid in some control circuit, because the existence of watchdog circuit can't be carried out program burn writing to its main control chip by serial ports.
The present invention is that the technical solution problem adopts following technical scheme:
Electric automobile electricity driving governor serial ports programming of the present invention and house dog compatible circuit include:
One outside serial ports programming enable signal end when needs use serial ports to carry out programming, directly accesses the ground enable signal of serial ports programming 12V at described outside serial ports programming enable signal end;
One signaling conversion circuit is that ground enable signal with described serial ports programming 12V converts the enable signal that serial ports programming enable pin can receive in the ground enable signal of 3.3V and the DSP main control chip to, with identification programming instruction;
One house dog screened circuit is that ground enable signal with described 3.3V is as the house dog shielded signal, by the shielding watchdog function, so that the programming function is normally finished; And when externally serial ports programming enable signal disappears, recover the design function of house dog.
Described signaling conversion circuit is set to, the signal conversion buffer circuit that the ground enable signal WR of outside serial ports programming enable signal end 12V forms by current-limiting resistance R1, filter capacitor C1 and optical coupling isolator U1 converts the ground enable signal BOOT_EN of 3.3V to, is linked into the control pin of house dog screened circuit with the ground enable signal BOOT_EN of described 3.3V; Access resistance R 5 and the R6 of setting that connect between the end pin of described 3.3V supply voltage and ground enable signal BOOT_EN, with the resistance of resistance R 5 resistances much larger than resistance R 6, between resistance R 5 and R6, obtain to be similar to the leg signal BOOT_ENXF of ground enable signal BOOT_EN, and described leg signal BOOT_ENXF is accessed the serial ports programming enable pin of main control chip DSP.
Described house dog screened circuit is comprised of triode Q1, watchdog chip U2 and corresponding pull-up resistor R2, R3, R4 and filter capacitor C2, C3; The ground enable signal BOOT_EN of described signaling conversion circuit 3.3V connects the base stage of triode Q1, with the base stage of the described triode Q1 control pin as the house dog screened circuit, spill over end 8 pin of watchdog chip U2
Figure BDA00002011204300021
Connect the emitter of triode Q1, reset signal input end 1 pin Connect the collector of triode.
Compared with the prior art, beneficial effect of the present invention is embodied in:
The present invention has realized house dog and serial ports programming coexistence, and it realizes simple, and required device is few, and function-stable is normal.
Description of drawings
Fig. 1 is system chart of the present invention;
Fig. 2 is signaling conversion circuit circuit theory diagrams among the present invention;
Fig. 3 is house dog screened circuit schematic diagram among the present invention.
Embodiment
Referring to Fig. 1, electric automobile electricity driving governor serial ports programming and house dog compatible circuit include in the present embodiment:
One outside serial ports programming enable signal end, when needs used serial ports to carry out programming, externally serial ports programming enable signal end directly accessed the ground enable signal of serial ports programming 12V;
One signaling conversion circuit is that ground enable signal with serial ports programming 12V converts the enable signal that serial ports programming enable pin can receive in the ground enable signal of 3.3V and the DSP main control chip to, with identification programming instruction;
One house dog screened circuit is that ground enable signal with 3.3V is as the house dog shielded signal, by the shielding watchdog function, so that the programming function is normally finished; And when externally serial ports programming enable signal disappears, recover the design function of house dog.
In the implementation, as shown in Figure 2:
Signaling conversion circuit is set to, the signal conversion buffer circuit that the ground enable signal WR of outside serial ports programming enable signal end 12V forms by current-limiting resistance R1, filter capacitor C1 and optical coupling isolator U1 converts the ground enable signal BOOT_EN of 3.3V to, is linked into the control pin of house dog screened circuit with the ground enable signal BOOT_EN of 3.3V; Access resistance R 5 and the R6 of setting that connect between the end pin of 3.3V supply voltage and ground enable signal BOOT_EN, with the resistance of resistance R 5 resistances much larger than resistance R 6, between resistance R 5 and R6, obtain to be similar to the leg signal BOOT_ENXF of ground enable signal BOOT_EN, and leg signal BOOT_ENXF is accessed the serial ports programming enable pin of main control chip DSP.
Referring to Fig. 3, the house dog screened circuit is comprised of triode Q1, watchdog chip U2 and corresponding pull-up resistor R2, R3, R4 and filter capacitor C2, C3; The ground enable signal BOOT_EN of signaling conversion circuit 3.3V connects the base input end of triode Q1, with the base stage of the triode Q1 control pin as the house dog screened circuit, spill over end 8 pin of watchdog chip U2
Figure BDA00002011204300023
Connect the emitter of triode Q1, reset signal input end 1 pin
Figure BDA00002011204300024
Connect the collector of triode.Be linked into the base stage of the triode Q1 of watchdog circuit when enable signal, triode Q1 is turn-offed, so just shielded the normal serviceability of house dog, thus can be the correctly complete programming of assurance program.
Fig. 2 illustrates, the outside serial ports programming of WR enable signal, it is the earth signal of 12V, by the signal conversion buffer circuit that current-limiting resistance R1, R5, R6, filter capacitor C1 and optical coupling isolator U1 form, converts the ground enable signal BOOT_EN of 3.3V to through light-coupled isolation; When not carrying out serial ports programming program, WR is the 12V high level, not conducting of optical coupling isolator U1, so the control signal BOOT_EN of house dog output control circuit is the 3.3V high level, triode Q1 is in conducting state like this, spill over 8 pin of watchdog chip
Figure BDA00002011204300031
With reset signal input end 1 pin
Figure BDA00002011204300032
Be communicated with, at this moment, if the WDI pin of house dog does not carry out it " hello dog " operation, 8 pin
Figure BDA00002011204300033
Will overflow, feed back to 1 pin by triode Q1
Figure BDA00002011204300034
End, and then at 7 pin of watchdog chip
Figure BDA00002011204300035
Will export reset signal, this reset signal is directly received on the reset pin of main control chip DSP, thereby DSP is resetted, and realizes defencive function; When outside serial ports programming request was arranged, WR was the earth signal of 12V, optical coupling isolator U1 conducting this moment, and BOOT_ENXF, BOOT_EN are low level, like this, triode Q1 closes, when at this moment, not carrying out " feeding dog " operation at the WDI of watchdog chip pin, 8 pin
Figure BDA00002011204300036
The signal that overflows can not feed back to 1 pin
Figure BDA00002011204300037
End, therefore, at 7 pin
Figure BDA00002011204300038
End can not exported reset signal, so DSP can work this moment, normally programming of program, after programming finishes, the outside enable signal of WR disappears, and not conducting of optical coupling isolator U1 is so BOOT_EN is the 3.3V high level, triode Q1 conducting, and then the watchdog circuit serviceability of bringing into normal play.

Claims (3)

1. the driving governor serial ports programming of electric automobile electricity and house dog compatible circuit is characterized in that including:
One outside serial ports programming enable signal end when needs use serial ports to carry out programming, directly accesses the ground enable signal of serial ports programming 12V at described outside serial ports programming enable signal end;
One signaling conversion circuit is that ground enable signal with described serial ports programming 12V converts the enable signal that serial ports programming enable pin can receive in the ground enable signal of 3.3V and the DSP main control chip to, with identification programming instruction;
One house dog screened circuit is that ground enable signal with described 3.3V is as the house dog shielded signal, by the shielding watchdog function, so that the programming function is normally finished; And when externally serial ports programming enable signal disappears, recover the design function of house dog.
2. electric automobile according to claim 1 electricity driving governor serial ports programming and house dog compatible circuit is characterized in that:
Described signaling conversion circuit is set to, the signal conversion buffer circuit that the ground enable signal WR of outside serial ports programming enable signal end 12V forms by current-limiting resistance R1, filter capacitor C1 and optical coupling isolator U1 converts the ground enable signal BOOT_EN of 3.3V to, is linked into the control pin of house dog screened circuit with the ground enable signal BOOT_EN of described 3.3V; Access resistance R 5 and the R6 of setting that connect between the end pin of described 3.3V supply voltage and ground enable signal BOOT_EN, with the resistance of resistance R 5 resistances much larger than resistance R 6, between resistance R 5 and R6, obtain to be similar to the leg signal BOOT_ENXF of ground enable signal BOOT_EN, and described leg signal BOOT_ENXF is accessed the serial ports programming enable pin of main control chip DSP.
3. electric automobile according to claim 2 electricity driving governor serial ports programming and house dog compatible circuit is characterized in that:
Described house dog screened circuit is comprised of triode Q1, watchdog chip U2 and corresponding pull-up resistor R2, R3, R4 and filter capacitor C2, C3; The ground enable signal BOOT_EN of described signaling conversion circuit 3.3V connects the base stage of triode Q1, with the base stage of the described triode Q1 control pin as the house dog screened circuit, spill over end 8 pin of watchdog chip U2
Figure FDA00002011204200011
Connect the emitter of triode Q1, reset signal input end 1 pin
Figure FDA00002011204200012
Connect the collector of triode.
CN201210288661.XA 2012-08-14 2012-08-14 Serial port programming and watchdog compatible circuit of electric driving controller of electric vehicle Active CN102880483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210288661.XA CN102880483B (en) 2012-08-14 2012-08-14 Serial port programming and watchdog compatible circuit of electric driving controller of electric vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210288661.XA CN102880483B (en) 2012-08-14 2012-08-14 Serial port programming and watchdog compatible circuit of electric driving controller of electric vehicle

Publications (2)

Publication Number Publication Date
CN102880483A true CN102880483A (en) 2013-01-16
CN102880483B CN102880483B (en) 2015-07-01

Family

ID=47481822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210288661.XA Active CN102880483B (en) 2012-08-14 2012-08-14 Serial port programming and watchdog compatible circuit of electric driving controller of electric vehicle

Country Status (1)

Country Link
CN (1) CN102880483B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103676728A (en) * 2013-11-27 2014-03-26 奇瑞汽车股份有限公司 Watchdog circuit system for electronic control unit of automobile
CN104063252A (en) * 2014-07-02 2014-09-24 中国科学院长春光学精密机械与物理研究所 Program burning and backward-reading method with watchdog circuit and based on DSP chip
CN105700915A (en) * 2015-12-31 2016-06-22 北京经纬恒润科技有限公司 Method and device integrating watchdog function and monitoring software programming function
CN109522247A (en) * 2019-01-04 2019-03-26 南京亚派科技股份有限公司 It is a kind of to there is line writing and double without line writing to select switching circuit based on serial ports
CN112433589A (en) * 2020-10-30 2021-03-02 天津航空机电有限公司 Double-margin DSP anti-reset locking circuit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488102A (en) * 2009-03-03 2009-07-22 福建师范大学 Control circuit of watchdog in embedded system
CN201828797U (en) * 2010-06-24 2011-05-11 王玉梅 Circuit for preventing resetting of central processing unit (CPU) in programming process of digital signal processor (DSP) chip
CN102081558A (en) * 2011-01-24 2011-06-01 北京北大千方科技有限公司 Watchdog circuit in on-board unit and on-board unit
CN102214124A (en) * 2011-06-08 2011-10-12 深圳市理邦精密仪器股份有限公司 Watchdog reset control system
CN202815812U (en) * 2012-08-14 2013-03-20 安徽巨一自动化装备有限公司 Compatible circuits of serial port serial port programming and watchdog for electric automobile electric drive controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488102A (en) * 2009-03-03 2009-07-22 福建师范大学 Control circuit of watchdog in embedded system
CN201828797U (en) * 2010-06-24 2011-05-11 王玉梅 Circuit for preventing resetting of central processing unit (CPU) in programming process of digital signal processor (DSP) chip
CN102081558A (en) * 2011-01-24 2011-06-01 北京北大千方科技有限公司 Watchdog circuit in on-board unit and on-board unit
CN102214124A (en) * 2011-06-08 2011-10-12 深圳市理邦精密仪器股份有限公司 Watchdog reset control system
CN202815812U (en) * 2012-08-14 2013-03-20 安徽巨一自动化装备有限公司 Compatible circuits of serial port serial port programming and watchdog for electric automobile electric drive controller

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103676728A (en) * 2013-11-27 2014-03-26 奇瑞汽车股份有限公司 Watchdog circuit system for electronic control unit of automobile
CN103676728B (en) * 2013-11-27 2016-09-07 奇瑞新能源汽车技术有限公司 Watchdog circuit system for electronic control unit of automobile
CN104063252A (en) * 2014-07-02 2014-09-24 中国科学院长春光学精密机械与物理研究所 Program burning and backward-reading method with watchdog circuit and based on DSP chip
CN104063252B (en) * 2014-07-02 2017-07-14 中国科学院长春光学精密机械与物理研究所 Program burn writing with watchdog circuit and read-back approach based on dsp chip
CN105700915A (en) * 2015-12-31 2016-06-22 北京经纬恒润科技有限公司 Method and device integrating watchdog function and monitoring software programming function
CN105700915B (en) * 2015-12-31 2019-02-19 北京经纬恒润科技有限公司 A kind of method and apparatus for taking into account watchdog function and monitoring of software programming function
CN109522247A (en) * 2019-01-04 2019-03-26 南京亚派科技股份有限公司 It is a kind of to there is line writing and double without line writing to select switching circuit based on serial ports
CN112433589A (en) * 2020-10-30 2021-03-02 天津航空机电有限公司 Double-margin DSP anti-reset locking circuit
CN112433589B (en) * 2020-10-30 2022-11-01 天津航空机电有限公司 Double-margin DSP anti-reset locking circuit

Also Published As

Publication number Publication date
CN102880483B (en) 2015-07-01

Similar Documents

Publication Publication Date Title
CN102880483B (en) Serial port programming and watchdog compatible circuit of electric driving controller of electric vehicle
CN104044464B (en) A kind of sensor power output protection isolation circuit
CN202815812U (en) Compatible circuits of serial port serial port programming and watchdog for electric automobile electric drive controller
CN203368616U (en) Automatic power supply system based on HDMI interfaces
CN202306218U (en) Programming circuit of automobile electronic controller
US9529756B2 (en) Method and terminal for starting universal serial USB state machine
CN201425723Y (en) Switch of dual hard disk power lines
CN100547873C (en) A kind of protection circuit for interface signal hot-plug
CN203224778U (en) High-safety-performance ECU architecture for electric car
CN201374247Y (en) Control protection circuit of automatic winding machine
CN109344022A (en) The multi-functional downloading debugging apparatus of one kind and adjustment method
CN204331370U (en) Single Chip Microcomputer (SCM) program cd-rom recorder and system
CN203773348U (en) High-speed isolation protective circuit for online debugging tool
CN207782685U (en) A kind of electric tail gate control device
CN204288210U (en) A kind of onboard system based on USB (universal serial bus) isolation
CN202351699U (en) Detecting circuit of automobile switching value signal
CN205049686U (en) A fault finding device for cutting off power supply tripping operation circuit
CN105528323B (en) USB and CAN multiplex circuit based on STM32F103
CN205563547U (en) USB and CAN multiplex circuit based on STM32F103
CN103326338A (en) Anti-interference protective circuit
CN204203679U (en) Watchdog timer circuit
CN210428425U (en) General DSP chip debugging interface equipment
CN202677385U (en) Interface circuit for application upgrade
JP2014130582A (en) Motherboard
CN205038053U (en) Motor vehicle abs tester

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Liu Lei

Inventor after: Sun Chunzhe

Inventor after: Gui Xingxing

Inventor after: Xu Yi

Inventor after: Chi Shihong

Inventor after: Zhao Qianjian

Inventor before: Lin Juguang

Inventor before: Wang Shuwang

Inventor before: Liu Lei

Inventor before: Sun Chunzhe

Inventor before: Gui Xingxing

Inventor before: Xu Yi

Inventor before: Chi Shihong

Inventor before: Zhao Qianjian

COR Change of bibliographic data
TR01 Transfer of patent right

Effective date of registration: 20160829

Address after: Baohe Industrial District of Hefei City, Anhui province 230051 Shanghai Road East Dalian Road

Patentee after: HEFEI JUYI POWER SYSTEM CO., LTD.

Address before: 230051 Anhui Province, Hefei City Industrial Park, Baohe Jianghuai heavy industry base

Patentee before: Anhui Jee Automation Equipment Co., Ltd.