TWI430064B - Electronic control apparatus for vehicle - Google Patents

Electronic control apparatus for vehicle Download PDF

Info

Publication number
TWI430064B
TWI430064B TW99131189A TW99131189A TWI430064B TW I430064 B TWI430064 B TW I430064B TW 99131189 A TW99131189 A TW 99131189A TW 99131189 A TW99131189 A TW 99131189A TW I430064 B TWI430064 B TW I430064B
Authority
TW
Taiwan
Prior art keywords
microcomputer
threshold voltage
voltage
equal
vehicle
Prior art date
Application number
TW99131189A
Other languages
Chinese (zh)
Other versions
TW201115289A (en
Inventor
Taichi Yuuki
Keiji Kiyohara
Original Assignee
Keihin Corp
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 Keihin Corp filed Critical Keihin Corp
Publication of TW201115289A publication Critical patent/TW201115289A/en
Application granted granted Critical
Publication of TWI430064B publication Critical patent/TWI430064B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Microcomputers (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)
  • Power Sources (AREA)

Description

車輛用電子控制裝置(一)Electronic control device for vehicles (1) 發明領域Field of invention

本發明係有關於一種車輛用電子控制裝置,尤其係關於一種可檢測裝設在其內部之微電腦的驅動電壓之變化,來實現最佳動作狀態者。The present invention relates to an electronic control device for a vehicle, and more particularly to a device that can detect a change in a driving voltage of a microcomputer installed therein to achieve an optimum operating state.

發明背景Background of the invention

近年,使用有一種車輛用電子控制裝置,其係將裝載在微電腦內部以檢測微電腦之驅動電壓的電壓監視電路,作為配置在微電腦外部之單體零件而具備者。該車輛用電子控制裝置具有如下之構成:當微電腦之驅動電壓脫離預定範圍時,電壓監視電路將重設(reset)訊號輸入微電腦之重設端子,藉此重設微電腦之程式處理。In recent years, there has been used an electronic control device for a vehicle, which is a voltage monitoring circuit that is mounted inside a microcomputer to detect a driving voltage of the microcomputer, and is provided as a single component disposed outside the microcomputer. The electronic control device for a vehicle has a configuration in which when the driving voltage of the microcomputer is out of a predetermined range, the voltage monitoring circuit resets the reset signal to the reset terminal of the microcomputer, thereby resetting the program processing of the microcomputer.

具體而言,專利文獻1揭示一種具備監視電路15之微電腦異常監視裝置,前述監視電路15係檢測從微電腦控制裝置12持續輸出的時脈訊號,並在檢測出時脈訊號之消失或頻率異常時,藉由將重設訊號輸入微電腦控制裝置12之重設端子,來重設微電腦控制裝置12之程式處理者。該監視電路15係連同電壓監視電路16一起儲存在一個封包內,並作為通用IC而附設在微電腦控制裝置12之外部。Specifically, Patent Document 1 discloses a microcomputer abnormality monitoring device including a monitoring circuit 15 that detects a clock signal continuously output from the microcomputer control device 12 and detects that the clock signal disappears or the frequency is abnormal. The program processor of the microcomputer control device 12 is reset by inputting the reset signal to the reset terminal of the microcomputer control device 12. The monitoring circuit 15 is stored in a package together with the voltage monitoring circuit 16, and is attached to the outside of the microcomputer control device 12 as a general-purpose IC.

先行技術文獻Advanced technical literature 專利文獻Patent literature

專利文獻1:特開平9-258821號公報Patent Document 1: Japanese Patent Publication No. 9-258821

然而,依據本發明者之檢討,在該專利文獻1之構成中,包含電壓監視電路及監視電路之通用IC係配置在微電腦控制裝置外部之單體零件,因而在利用零件件數削減之小型化或低成本化方面,尚有改良的空間。However, according to the review of the inventors of the present invention, the general-purpose IC including the voltage monitoring circuit and the monitoring circuit is a single component that is disposed outside the microcomputer control device, and thus the number of components is reduced. Or there is room for improvement in terms of cost reduction.

本發明係用以解決上述課題者,其目的在於提供一種車輛用電子控制裝置,其係可檢測驅動電壓之變化而實現最佳動作狀態,並可實現小型化及低成本化者。The present invention has been made to solve the above problems, and an object of the invention is to provide an electronic control device for a vehicle that can detect a change in a driving voltage to achieve an optimum operating state, and can be reduced in size and cost.

為達成上述目的,本發明之具備有微電腦之車輛用電子控制裝置的第1特徵在於:前述微電腦具備:判別電路,係判別前述微電腦之驅動電壓是否在可進行車輛用電子控制裝置之控制動作的第1閾值電壓以上,並判別前述微電腦之前述驅動電壓是否在可進行微電腦本身之動作的第2閾值電壓以上、且未滿前述第1閾值電壓者;控制許可部,係當藉由前述判別電路判別出前述驅動電壓為前述第1閾值電壓以上時,許可前述微電腦之前述控制動作者;及軟重設部,係當藉由前述判別電路判別出前述驅動電壓為前述第2閾值電壓以上、且未滿前述第1閾值電壓時,禁止前述微電腦之前述控制動作者。In order to achieve the above object, the electronic control device for a vehicle equipped with a microcomputer according to the present invention is characterized in that the microcomputer includes a determination circuit for determining whether or not the driving voltage of the microcomputer is capable of performing a control operation of the electronic control device for a vehicle. And determining whether the driving voltage of the microcomputer is equal to or higher than a second threshold voltage capable of operating the microcomputer itself and not exceeding the first threshold voltage; and the control permission unit is configured by the discriminating circuit When it is determined that the driving voltage is equal to or greater than the first threshold voltage, the control operator of the microcomputer is permitted; and the soft resetting unit determines that the driving voltage is equal to or higher than the second threshold voltage by the determining circuit. When the first threshold voltage is not exceeded, the aforementioned control actor of the microcomputer is prohibited.

又,本發明之第2特徵在於:除了前述第1特徵之外,前述微電腦另具備監視計時器(watchdog timer),其係執行計時動作,且在計時到達預定時間之時機,重設前述微電腦者;前述軟重設部係在前述驅動電壓在第2閾值電壓以上、且未滿前述第1閾值電壓之間,每隔預定週期重設前述監視計時器之計時時間。According to a second aspect of the present invention, in addition to the first feature, the microcomputer further includes a watchdog timer that performs a timekeeping operation and resets the microcomputer when the timing reaches a predetermined time. The soft reset unit resets the time period of the watchdog timer every predetermined period between when the drive voltage is equal to or higher than the second threshold voltage and less than the first threshold voltage.

又,本發明之第3特徵在於:除了前述第1或第2特徵之外,前述軟重設部,係當前述驅動電壓在成為前述第1閾值電壓以上之後下降到前述第1閾值電壓以下時,再次禁止前述微電腦之前述控制動作。According to a third aspect of the present invention, in the soft reset portion, the soft reset portion is lower than the first threshold voltage when the drive voltage is equal to or higher than the first threshold voltage. The above-mentioned control action of the aforementioned microcomputer is again prohibited.

又,本發明之第4特徵在於:除了前述第1~3特徵之任一者之外,前述軟重設部,係當前述驅動電壓在成為前述第1閾值電壓以上之後下降到前述第1閾值電壓以下時,執行軟重設處理而進行前述微電腦之初始化,此外,當前述驅動電壓再次成為前述第1閾值電壓以上的大小時,前述控制許可部會使前述微電腦之控制動作從初始狀態開始。According to a fourth aspect of the present invention, in the soft reset portion, the soft reset portion is lowered to the first threshold value after the driving voltage is equal to or higher than the first threshold voltage. When the voltage is equal to or lower than the voltage, the microcomputer is initialized by the soft reset processing. When the drive voltage is equal to or greater than the first threshold voltage, the control permission unit starts the control operation of the microcomputer from the initial state.

依據以上之本發明之車輛用電子控制裝置,由於微電腦具備有:判別電路,係判別微電腦之驅動電壓是否在可進行車輛用電子控制裝置之控制動作的第1閾值電壓以上,並判別微電腦之驅動電壓是否在可進行微電腦本身之動作的第2閾值電壓以上、且未滿第1閾值電壓者;控制許可部,係當藉由判別電路判別出驅動電壓為第1閾值電壓以上時,許可微電腦之控制動作者;及軟重設部,係當藉由判別電路判別出驅動電壓為第2閾值電壓以上、且未滿第1閾值電壓時,禁止微電腦之控制動作者;因此,可提供一種檢測驅動電壓之變化而實現最佳動作狀態,並實現小型化及低成本化之車輛用電子控制裝置。According to the above-described electronic control device for a vehicle of the present invention, the microcomputer includes a discriminating circuit for discriminating whether or not the driving voltage of the microcomputer is equal to or higher than a first threshold voltage at which the control operation of the electronic control unit for the vehicle can be performed, and discriminating the driving of the microcomputer. Whether the voltage is equal to or higher than the second threshold voltage that can operate the microcomputer itself and is less than the first threshold voltage; and the control permission unit permits the microcomputer to be determined when the determination circuit determines that the driving voltage is equal to or higher than the first threshold voltage. The control actor and the soft reset unit prohibit the control of the microcomputer when the drive circuit determines that the drive voltage is equal to or higher than the second threshold voltage and is less than the first threshold voltage; therefore, a detection drive can be provided. An electronic control device for a vehicle that achieves an optimal operating state with a change in voltage and is reduced in size and cost.

又,由於該微電腦另具備監視計時器,其係執行計時動作,且在計時到達預定時間之時機,重設微電腦者;且軟重設部係在驅動電壓在第2閾值電壓以上、且未滿第1閾值電壓之間,每隔預定週期重設監視計時器之計時時間者;因此,可實現更進一步之小型化及低成本化,並排除來自監視計時器之不必要的重設訊號。Further, since the microcomputer further includes a watchdog timer, the timer operation is performed, and the microcomputer is reset when the timing reaches a predetermined time; and the soft reset portion is such that the drive voltage is equal to or higher than the second threshold voltage. The time period of the watchdog timer is reset every predetermined period between the first threshold voltages. Therefore, further miniaturization and cost reduction can be achieved, and unnecessary reset signals from the watchdog timer can be eliminated.

又,由於該軟重設部係當驅動電壓在成為第1閾值電壓以上之後下降到第1閾值電壓以下時,再次禁止微電腦之控制動作者,因此可檢測出驅動電壓啟動後的降低,而實現最佳動作狀態。In addition, when the drive voltage falls below the first threshold voltage after the drive voltage becomes equal to or higher than the first threshold voltage, the control unit of the microcomputer is again prohibited, so that the reduction after the start of the drive voltage can be detected. The best action state.

又,由於軟重設部係當驅動電壓在成為第1閾值電壓以上之後下降到第1閾值電壓以下時,執行軟重設處理而進行微電腦之初始化,此外,當驅動電壓再次成為第1閾值電壓以上的大小時,控制許可部會使微電腦之控制動作從初始狀態開始,因此可實現更進一步之小型化及低成本化,並檢測出驅動電壓的種種變化而實現最佳動作狀態。In addition, when the drive voltage drops below the first threshold voltage after the drive voltage is equal to or higher than the first threshold voltage, the soft reset process performs soft reset processing to initialize the microcomputer, and when the drive voltage becomes the first threshold voltage again In the case of the above size, the control permission unit starts the control operation of the microcomputer from the initial state, so that further miniaturization and cost reduction can be achieved, and various changes in the drive voltage can be detected to achieve an optimum operation state.

圖式簡單說明Simple illustration

第1圖係顯示本發明實施形態之車輛用電子控制裝置之微電腦構成的方塊圖。Fig. 1 is a block diagram showing the configuration of a microcomputer of the electronic control unit for a vehicle according to the embodiment of the present invention.

第2圖係顯示本發明實施形態之車輛用電子控制裝置之微電腦處理流程的流程圖。Fig. 2 is a flow chart showing the flow of microcomputer processing of the electronic control unit for a vehicle according to the embodiment of the present invention.

第3圖係顯示用以說明第2圖所示之處理的對微電腦之驅動電壓之軟重設處理、及硬重設處理之時機的時序圖。Fig. 3 is a timing chart showing timings of soft reset processing for the driving voltage of the microcomputer and hard reset processing for explaining the processing shown in Fig. 2.

用以實施發明之形態Form for implementing the invention

以下,適當地參考圖式,來詳細說明本發明實施形態之車輛用電子控制裝置。Hereinafter, the electronic control device for a vehicle according to the embodiment of the present invention will be described in detail with reference to the drawings.

第1圖係顯示本實施形態之車輛用電子控制裝置之微電腦構成的方塊圖。Fig. 1 is a block diagram showing the configuration of a microcomputer of the electronic control unit for a vehicle of the embodiment.

如第1圖所示,車輛用電子控制裝置具有微電腦M,微電腦M係內建有:第1驅動電壓監視電路1、第2驅動電壓監視電路2、硬重設部3、CPU(Central Processing Unit:中央處理單元)4、及監視計時器5。又,第1驅動電壓監視電路1及第2驅動電壓監視電路2合併稱為判別電路。As shown in Fig. 1, the electronic control unit for a vehicle includes a microcomputer M, and the microcomputer M system includes a first drive voltage monitoring circuit 1, a second drive voltage monitoring circuit 2, a hard reset unit 3, and a CPU (Central Processing Unit). : Central processing unit) 4, and watchdog timer 5. Further, the first drive voltage monitoring circuit 1 and the second drive voltage monitoring circuit 2 are collectively referred to as a discrimination circuit.

具體而言,第1驅動電壓監視電路1係監視微電腦M的驅動電壓,並判別微電腦M的驅動電壓是否在可進行微電腦M之控制動作(亦即,可進行車輛用電子控制裝置之對車輛的控制動作)之第1閾值電壓Vdet1(例如4.30±0.20V)以上,而將輸出訊號SI1往CPU4予以輸出者。較詳細而言,微電腦M之第1閾值電壓Vdet1以上的驅動電壓,係對應於CPU4可發揮其所有功能而動作之一般動作區域。而,在該一般動作區域中之微電腦M的驅動電壓之上限值為電源電壓。Specifically, the first driving voltage monitoring circuit 1 monitors the driving voltage of the microcomputer M, and determines whether or not the driving voltage of the microcomputer M is in a control operation of the microcomputer M (that is, the vehicle electronic control device can be used for the vehicle). The first threshold voltage Vdet1 (for example, 4.30±0.20 V) of the control operation is outputted to the CPU 4 by the output signal SI1. More specifically, the drive voltage of the first threshold voltage Vdet1 or more of the microcomputer M corresponds to a general operation region in which the CPU 4 can perform all of its functions. On the other hand, the upper limit of the driving voltage of the microcomputer M in the normal operation region is the power supply voltage.

又,第2驅動電壓監視電路2係監視微電腦M的驅動電壓,並判別微電腦M的驅動電壓是否在可進行微電腦M本身動作的第2閾值電壓Vdet0(例如2.85±0.15V)以上,而將輸出訊號SI2往硬重設部3予以輸出者。較詳細而言,微電腦M之第2閾值電壓Vdet0以上、且未滿第1閾值電壓Vdet1之驅動電壓,係對應於CPU4本身可動作、但其功能可能會受限制之動作區域。In addition, the second driving voltage monitoring circuit 2 monitors the driving voltage of the microcomputer M, and determines whether or not the driving voltage of the microcomputer M is equal to or higher than the second threshold voltage Vdet0 (for example, 2.85±0.15 V) in which the microcomputer M itself can operate. The signal SI2 is output to the hard reset unit 3. More specifically, the driving voltage of the second threshold voltage Vdet0 of the microcomputer M or less and less than the first threshold voltage Vdet1 corresponds to an operation region in which the CPU 4 itself can operate but its function may be limited.

又,硬重設部3包含硬重設電路3a及電壓檢出電路3b,且具有構成係可因應從第2驅動電壓監視電路2所送出之輸出訊號SI2,對CPU4送出重設訊號SI3,而指示CPU4執行車輛用電子控制裝置之硬體重設處理(以下稱為硬重設處理)。該硬重設處理係將CPU4所執行之微電腦M予以初始化之處理。Further, the hard reset unit 3 includes the hard reset circuit 3a and the voltage detecting circuit 3b, and has a configuration in which the reset signal SI3 is sent to the CPU 4 in response to the output signal SI2 sent from the second drive voltage monitoring circuit 2. The CPU 4 is instructed to execute a hard weight setting process (hereinafter referred to as a hard reset process) of the electronic control device for a vehicle. This hard reset processing is a process of initializing the microcomputer M executed by the CPU 4.

又,CPU4包含控制許可部4a及軟重設部4b來作為功能區塊,並具有構成係因應從第1驅動電壓監視電路1所送出之輸出訊號SI1,控制許可部4a許可微電腦M之控制動作(亦即對裝設車輛用電子控制裝置之車輛的各種設備之控制動作),而軟重設部4b則指示執行限制CPU4動作之軟體重設處理(以下稱為軟重設處理)。該軟重設處理係一種可容許CPU4本身之動作,但由CPU4對車輛各種設備之控制輸出不會送出,並禁止對車輛各種設備之控制的處理。又,該軟重設處理係亦包含下述處理者,即:當微電腦M的驅動電壓在成為第1閾值電壓以上後下降到第1閾值電壓Vdet1以下時,在禁止對車輛各種設備之控制之前,將微電腦M予以初始化。Further, the CPU 4 includes the control permission unit 4a and the soft reset unit 4b as functional blocks, and has a configuration in response to the output signal SI1 sent from the first drive voltage monitoring circuit 1, and the control permission unit 4a permits the control operation of the microcomputer M. (That is, the control operation of various devices of the vehicle in which the vehicle electronic control device is installed), and the soft reset unit 4b instructs execution of soft weight setting processing (hereinafter referred to as soft reset processing) that restricts the operation of the CPU 4. The soft reset processing is an operation that allows the CPU 4 itself to operate, but the control output of the various devices of the vehicle by the CPU 4 is not sent out, and the control of the various devices of the vehicle is prohibited. In addition, the soft reset processing system includes a processor that, when the driving voltage of the microcomputer M falls below the first threshold voltage Vdet1 after being equal to or higher than the first threshold voltage, before the control of various devices of the vehicle is prohibited , initialize the microcomputer M.

又,監視計時器(WDT:Watch Dog Timer)5具有構成係可執行計時動作,並在計時到達預定時間之時機,對CPU4送出指示重設程式處理等之重設訊號SI4。又,CPU4係對監視計時器5送出WDT訊號SI5,而可每隔預定週期重設監視計時器5之計時。Further, the watchdog timer (WDT: Watch Dog Timer) 5 has a configuration that performs a timer operation, and sends a reset signal SI4 indicating the reset program processing or the like to the CPU 4 at the timing when the timer reaches a predetermined time. Further, the CPU 4 sends the WDT signal SI5 to the watchdog timer 5, and resets the timing of the watchdog timer 5 every predetermined period.

接著,再連同參考第2圖及第3圖,來詳細說明在以上構成之車輛用電子控制裝置之微電腦M的處理。該處理係主要由電子控制裝置之CPU4來執行之處理。Next, the processing of the microcomputer M of the electronic control unit for a vehicle having the above configuration will be described in detail with reference to FIGS. 2 and 3. This processing is mainly performed by the CPU 4 of the electronic control unit.

第2圖係顯示本實施形態之車輛用電子控制裝置之微電腦之處理流程的流程圖,第3圖係顯示用以說明第2圖所示之處理的對微電腦之驅動電壓之軟重設處理、及硬重設處理之時機的時序圖。又,第3圖中,橫軸為時間t,縱軸為微電腦之驅動電壓V。2 is a flowchart showing a processing flow of a microcomputer of the electronic control unit for a vehicle according to the embodiment, and FIG. 3 is a view showing a soft reset processing for driving voltage of the microcomputer for explaining the processing shown in FIG. And the timing diagram of the timing of the hard reset processing. Further, in Fig. 3, the horizontal axis represents time t, and the vertical axis represents the driving voltage V of the microcomputer.

第2圖所示之流程圖係以裝設有車輛用電子控制裝置之車輛的點火開關(省略圖示)從關狀態切換到開狀態之時機來開始,接著處理進入步驟S1之處理。The flowchart shown in FIG. 2 is started when the ignition switch (not shown) of the vehicle equipped with the electronic control device for the vehicle is switched from the off state to the on state, and then the process proceeds to step S1.

在步驟S1之處理中,對此次處理開始之後的點火開關之開/關狀態進行判別,若判別出點火開關呈開狀態,則進入步驟S2。另一方面,若點火開關呈關狀態,則結束微電腦M之處理,不執行步驟S2以後之處理。In the process of step S1, the on/off state of the ignition switch after the start of the process is determined, and if it is determined that the ignition switch is in the on state, the process proceeds to step S2. On the other hand, if the ignition switch is in the off state, the processing of the microcomputer M is ended, and the processing from step S2 onward is not performed.

在步驟S2之處理中,第2驅動電壓監視電路2會判別微電腦M的驅動電壓是否成為第2閾值電壓Vdet0以上。而且,在判別之結果為微電腦M的驅動電壓成為第2閾值電壓Vdet0以上之第3圖顯示之時刻T1中,處理將進入下一個步驟S3。又,當微電腦M的驅動電壓未滿第2閾值電壓Vdet0時,重複步驟S2之處理,且如第3圖所示,CPU4維持在硬重設狀態。In the process of step S2, the second drive voltage monitoring circuit 2 determines whether or not the drive voltage of the microcomputer M is equal to or higher than the second threshold voltage Vdet0. When the result of the determination is that the driving voltage of the microcomputer M is at the time T1 shown in the third figure of the second threshold voltage Vdet0 or more, the processing proceeds to the next step S3. Moreover, when the driving voltage of the microcomputer M is less than the second threshold voltage Vdet0, the processing of step S2 is repeated, and as shown in FIG. 3, the CPU 4 is maintained in the hard reset state.

在步驟S3之處理中,由於第2驅動電壓監視電路2往硬重設部3送出表示微電腦M的驅動電壓成為閾值電壓Vdet0以上之輸出訊號SI2,硬重設部3會停止對CPU4送出重設訊號SI3,而解除CPU4之硬重設處理。同時,由於第1驅動電壓監視電路1往CPU4送出表示微電腦M的驅動電壓未滿第1閾值電壓Vdet1範圍之輸出訊號SI1,CPU4之軟重設部4b雖會容許CPU4本身之動作,但由CPU4對車輛各種設備之控制輸出不會送出地執行禁止對車輛各種設備之控制的軟重設處理。在此,CPU4係藉由將對監視計時器5之WDT訊號SI5予以送出,並每隔預定週期重設監視計時器5之計時,來禁止監視計時器5之重設處理。藉此,結束步驟S3之處理,且處理進入下一個步驟S4。In the process of the step S3, the second driving voltage monitoring circuit 2 sends the output signal SI2 indicating that the driving voltage of the microcomputer M becomes the threshold voltage Vdet0 or more to the hard reset unit 3, and the hard reset unit 3 stops the resetting of the CPU 4 Signal SI3, and the hard reset processing of CPU4 is released. At the same time, the first drive voltage monitoring circuit 1 sends an output signal SI1 indicating that the drive voltage of the microcomputer M is less than the first threshold voltage Vdet1, and the soft reset unit 4b of the CPU 4 allows the operation of the CPU 4 itself, but by the CPU 4 A soft reset process that prohibits control of various devices of the vehicle is not performed on the control output of various devices of the vehicle. Here, the CPU 4 disables the reset processing of the watchdog timer 5 by sending the WDT signal SI5 to the watchdog timer 5 and resetting the count of the watchdog timer 5 every predetermined period. Thereby, the processing of step S3 is ended, and the processing proceeds to the next step S4.

在步驟S4之處理中,第1驅動電壓監視電路1會判別微電腦M的驅動電壓是否成為第1閾值電壓Vdet1以上。而且,在判別之結果為微電腦M的驅動電壓成為閾值電壓Vdet1以上之第3圖顯示之時刻T2中,處理將進入下一個步驟S5。又,當微電腦M的驅動電壓未滿閾值電壓Vdet1時,重複步驟S4之處理。In the process of step S4, the first drive voltage monitoring circuit 1 determines whether or not the drive voltage of the microcomputer M is equal to or higher than the first threshold voltage Vdet1. When the result of the determination is that the driving voltage of the microcomputer M is equal to or higher than the threshold voltage Vdet1, the time T2 shown in the third figure is displayed, the processing proceeds to the next step S5. Moreover, when the driving voltage of the microcomputer M is less than the threshold voltage Vdet1, the processing of step S4 is repeated.

在步驟S5之處理中,由於第1驅動電壓監視電路1往CPU4送出表示微電腦M的驅動電壓成為第1閾值電壓Vdet1以上之輸出訊號SI1,因此CPU4之控制許可部4a會許可微電腦M之控制動作(亦即,對裝設車輛用電子控制裝置之車輛之各種設備的一般控制動作)。藉此,開始一般控制處理,而結束步驟S5之處理,且處理將進入下一個步驟S6之處理。In the process of the step S5, the first drive voltage monitoring circuit 1 sends the output signal SI1 indicating that the drive voltage of the microcomputer M becomes the first threshold voltage Vdet1 or more to the CPU 4, so that the control permission unit 4a of the CPU 4 permits the control action of the microcomputer M. (That is, the general control operation of various devices of the vehicle in which the electronic control device for the vehicle is installed). Thereby, the general control processing is started, and the processing of step S5 is ended, and the processing proceeds to the processing of the next step S6.

在步驟S6之處理中,第1驅動電壓監視電路1會判別微電腦M的驅動電壓是否在第1閾值電壓Vdet1以上。而且,在判別之結果為微電腦M的驅動電壓成為未滿第1閾值電壓Vdet1之第3圖顯示之時刻T3中,為了產生軟重設處理作為對一般控制處理之中斷處理(interrupt processing),處理將進入下一個步驟S7。又,當驅動電壓在閾值電壓Vdet1以上時,重複步驟S6之處理。In the process of step S6, the first drive voltage monitoring circuit 1 determines whether or not the drive voltage of the microcomputer M is equal to or higher than the first threshold voltage Vdet1. In the case where the result of the determination is that the drive voltage of the microcomputer M is at the time T3 at which the third map is less than the first threshold voltage Vdet1, the soft reset processing is generated as the interrupt processing for the general control processing. It will proceed to the next step S7. Moreover, when the driving voltage is equal to or higher than the threshold voltage Vdet1, the processing of step S6 is repeated.

在步驟S7之處理中,由於第1驅動電壓監視電路1往CPU4送出表示微電腦M的驅動電壓成為未滿第1閾值電壓Vdet1之輸出訊號SI1,因此CPU4之軟重設部4b在微電腦M之初始化處理執行以後,雖會再次容許CPU4本身之動作,但由CPU4對車輛各種設備之控制輸出不會送出,並禁止對車輛各種設備之控制,而返回步驟S1。In the process of the step S7, the first drive voltage monitoring circuit 1 sends the output signal SI1 indicating that the drive voltage of the microcomputer M is less than the first threshold voltage Vdet1 to the CPU 4, so the soft reset portion 4b of the CPU 4 is initialized at the microcomputer M. After the execution of the process, the operation of the CPU 4 itself is allowed again, but the control output of the various devices of the vehicle is not sent by the CPU 4, and the control of various devices of the vehicle is prohibited, and the process returns to step S1.

又,附帶一提,如上述之步驟S6以後之處理,第1驅動電壓監視電路1判別微電腦M的驅動電壓是否在第1閾值電壓Vdet1以上,且在其判別結果為驅動電壓成為未滿第1閾值電壓Vdet1之第3圖顯示之時刻T3中,對一般控制處理產生軟重設處理作為中斷處理,進行微電腦M之初始化處理,並且禁止微電腦M之一般控制的情況下,若微電腦M的驅動電壓又再次成為第1閾值電壓Vdet1以上,則如第3圖顯示之時刻T4所示,將開始微電腦M之一般控制。In addition, as described above, the first driving voltage monitoring circuit 1 determines whether or not the driving voltage of the microcomputer M is equal to or higher than the first threshold voltage Vdet1, and the result of the determination is that the driving voltage is less than the first. In the time T3 shown in the third diagram of the threshold voltage Vdet1, the soft reset processing is performed as the interrupt processing for the general control processing, the initialization processing of the microcomputer M is performed, and the general control of the microcomputer M is prohibited, and the driving voltage of the microcomputer M is used. When the first threshold voltage Vdet1 is again set, the general control of the microcomputer M is started as indicated by the time T4 shown in FIG.

之後,第1驅動電壓監視電路1判別微電腦M的驅動電壓是否在第1閾值電壓Vdet1以上,且在其判別結果為驅動電壓成為未滿第1閾值電壓Vdet1之第3圖顯示之時刻T5中,對一般控制處理產生軟重設處理作為中斷處理的情況下,亦可考量到驅動電壓進一步下降,在第3圖顯示之時刻T6中,第2驅動電壓監視電路2判別驅動電壓成為未滿第2閾值電壓Vdet0之情況。After that, the first driving voltage monitoring circuit 1 determines whether or not the driving voltage of the microcomputer M is equal to or higher than the first threshold voltage Vdet1, and at the time T5 when the determination result is that the driving voltage is less than the first threshold voltage Vdet1. When the soft reset processing is performed as the interrupt processing in the normal control processing, the driving voltage may be further decreased. At the timing T6 shown in FIG. 3, the second driving voltage monitoring circuit 2 determines that the driving voltage is less than the second. The case of the threshold voltage Vdet0.

此時,CPU4之軟重設部4b會解除軟重設處理,並且,硬重設部3會將重設訊號SI3送出至CPU4,再度開始硬重設處理。At this time, the soft reset unit 4b of the CPU 4 releases the soft reset processing, and the hard reset unit 3 sends the reset signal SI3 to the CPU 4, and starts the hard reset processing again.

而且,在第2驅動電壓監視電路2再次判別微電腦M的驅動電壓成為第2閾值電壓Vdet0以上之第3圖顯示之時刻T7中,硬重設部3會解除硬重設處理,且CPU4之軟重設部4b會再度開始軟重設處理。之後,在第1驅動電壓監視電路1判別微電腦M的驅動電壓在第1閾值電壓Vdet1以上為止,該軟重設處理都會持續,且CPU4之控制許可部4a會在判別為第1閾值電壓Vdet1以上之時機,使CPU4之程式處理再度開始,並許可微電腦M的一般控制動作(亦即,對裝設車輛用電子控制裝置之車輛之各種設備的一般控制動作)When the second drive voltage monitoring circuit 2 determines again that the drive voltage of the microcomputer M is equal to or higher than the second threshold voltage Vdet0, the hard reset unit 3 cancels the hard reset process, and the CPU 4 softens. The reset unit 4b restarts the soft reset process. After the first driving voltage monitoring circuit 1 determines that the driving voltage of the microcomputer M is equal to or higher than the first threshold voltage Vdet1, the soft reset processing continues, and the control permission unit 4a of the CPU 4 determines that the first threshold voltage Vdet1 or higher At the timing, the program processing of the CPU 4 is resumed, and the general control operation of the microcomputer M (that is, the general control action of various devices of the vehicle in which the electronic control device for the vehicle is installed) is permitted.

依據以上之本實施型態之車輛用電子控制裝置,由於微電腦具備有:判別電路,係判別微電腦之驅動電壓是否在可進行車輛用電子控制裝置之控制動作的第1閾值電壓以上,並判別微電腦之驅動電壓是否在可進行微電腦本身之動作的第2閾值電壓以上、且未滿第1閾值電壓者;控制許可部,係當藉由判別電路判別出驅動電壓為第1閾值電壓以上時,許可微電腦之控制動作者;及軟重設部,係當藉由判別電路判別出驅動電壓為第2閾值電壓以上、且未滿第1閾值電壓時,禁止微電腦之控制動作者;因此,可提供一種檢測驅動電壓之變化而實現最佳動作狀態,並實現小型化及低成本化之車輛用電子控制裝置。According to the electronic control device for a vehicle of the present embodiment, the microcomputer includes a determination circuit for discriminating whether the driving voltage of the microcomputer is equal to or higher than a first threshold voltage at which the control operation of the electronic control unit for the vehicle can be performed, and discriminating the microcomputer. Whether the driving voltage is equal to or higher than the second threshold voltage that can operate the microcomputer itself and is less than the first threshold voltage; and the control permission unit determines that the driving voltage is equal to or higher than the first threshold voltage by the determination circuit. The control unit of the microcomputer; and the soft reset unit, when the discriminating circuit determines that the driving voltage is equal to or higher than the second threshold voltage and less than the first threshold voltage, prohibits the control of the microcomputer; therefore, it is possible to provide a An electronic control device for a vehicle that realizes an optimum operating state by detecting a change in driving voltage and achieves downsizing and cost reduction.

又,由於該微電腦另具備監視計時器,其係執行計時動作,且在計時到達預定時間之時機,重設微電腦者;且軟重設部係在驅動電壓在第2閾值電壓以上、且未滿第1閾值電壓之間,每隔預定週期重設監視計時器之計時時間者;因此,可實現更進一步之小型化及低成本化,並排除來自監視計時器之不必要的重設訊號。Further, since the microcomputer further includes a watchdog timer, the timer operation is performed, and the microcomputer is reset when the timing reaches a predetermined time; and the soft reset portion is such that the drive voltage is equal to or higher than the second threshold voltage. The time period of the watchdog timer is reset every predetermined period between the first threshold voltages. Therefore, further miniaturization and cost reduction can be achieved, and unnecessary reset signals from the watchdog timer can be eliminated.

又,由於該軟重設部係當驅動電壓在成為第1閾值電壓以上之後下降到第1閾值電壓以下時,再次禁止微電腦之控制動作者,因此可檢測出驅動電壓啟動後的降低,而實現最佳動作狀態。In addition, when the drive voltage falls below the first threshold voltage after the drive voltage becomes equal to or higher than the first threshold voltage, the control unit of the microcomputer is again prohibited, so that the reduction after the start of the drive voltage can be detected. The best action state.

又,由於軟重設部係當驅動電壓在成為第1閾值電壓以上之後下降到第1閾值電壓以下時,執行軟重設處理而進行微電腦之初始化,此外,當驅動電壓再次成為第1閾值電壓以上的大小時,控制許可部會使微電腦之控制動作從初始狀態開始,因此可實現更進一步之小型化及低成本化,並檢測出驅動電壓的種種變化而實現最佳動作狀態。又,本發明係構成要素之種類、配置、及個數等並非限於前述實施形態者,可將其構成要素適宜地置換成可達到同等作用效果者等,在不脫離發明之要旨的範圍內適宜地進行變更。In addition, when the drive voltage drops below the first threshold voltage after the drive voltage is equal to or higher than the first threshold voltage, the soft reset process performs soft reset processing to initialize the microcomputer, and when the drive voltage becomes the first threshold voltage again In the case of the above size, the control permission unit starts the control operation of the microcomputer from the initial state, so that further miniaturization and cost reduction can be achieved, and various changes in the drive voltage can be detected to achieve an optimum operation state. In addition, the type, the arrangement, the number, and the like of the components of the present invention are not limited to the above-described embodiments, and the constituent elements thereof may be appropriately replaced with those having the same effect, and may be suitably within the scope of the gist of the invention. Make changes.

產業上之可利用性Industrial availability

如以上,在本發明中,可提供一種車輛用電子控制裝置,其係可檢測驅動電壓之變化而實現最佳動作狀態,並可實現小型化及低成本化之車輛用電子控制裝置者,從其通用普及的特性看來,可期待為可廣泛地適用在車輛等之電子控制裝置者。As described above, according to the present invention, it is possible to provide an electronic control device for a vehicle which is capable of detecting a change in the driving voltage and achieving an optimum operating state, and is capable of achieving a reduction in size and cost of the electronic control device for a vehicle. The general-purpose characteristics are expected to be widely applicable to electronic control devices such as vehicles.

1...第1驅動電壓監視電路1. . . First driving voltage monitoring circuit

2...第2驅動電壓監視電路2. . . Second driving voltage monitoring circuit

3...硬重設部3. . . Hard reset

3a...硬重設電路3a. . . Hard reset circuit

3b...電壓檢出電路3b. . . Voltage detection circuit

4...CPU4. . . CPU

4a...控制許可部4a. . . Control Licensing Department

4b...軟重設部4b. . . Soft reset

5...監視計時器5. . . Watchdog timer

12...微電腦控制裝置12. . . Microcomputer control device

15...監視電路15. . . Monitoring circuit

16...電壓監視電路16. . . Voltage monitoring circuit

M...微電腦M. . . Microcomputer

SI1...輸出訊號SI1. . . Output signal

SI2...輸出訊號SI2. . . Output signal

SI3...重設訊號SI3. . . Reset signal

SI4...重設訊號SI4. . . Reset signal

SI5...WDT訊號SI5. . . WDT signal

T1~7...時刻T1~7. . . time

Vdet1...第1閾值電壓Vdet1. . . First threshold voltage

Vdet0...第2閾值電壓Vdet0. . . Second threshold voltage

第1圖係顯示本發明實施形態之車輛用電子控制裝置之微電腦構成的方塊圖。Fig. 1 is a block diagram showing the configuration of a microcomputer of the electronic control unit for a vehicle according to the embodiment of the present invention.

第2圖係顯示本發明實施形態之車輛用電子控制裝置之微電腦處理流程的流程圖。Fig. 2 is a flow chart showing the flow of microcomputer processing of the electronic control unit for a vehicle according to the embodiment of the present invention.

第3圖係顯示用以說明第2圖所示之處理的對微電腦之驅動電壓之軟重設處理、及硬重設處理之時機的時序圖。Fig. 3 is a timing chart showing timings of soft reset processing for the driving voltage of the microcomputer and hard reset processing for explaining the processing shown in Fig. 2.

1...第1驅動電壓監視電路1. . . First driving voltage monitoring circuit

2...第2驅動電壓監視電路2. . . Second driving voltage monitoring circuit

3...硬重設部3. . . Hard reset

3a...硬重設電路3a. . . Hard reset circuit

3b...電壓檢出電路3b. . . Voltage detection circuit

4...CPU4. . . CPU

4a...控制許可部4a. . . Control Licensing Department

4b...軟重設部4b. . . Soft reset

5...監視計時器5. . . Watchdog timer

M...微電腦M. . . Microcomputer

SI1...輸出訊號SI1. . . Output signal

SI2...輸出訊號SI2. . . Output signal

Claims (3)

一種車輛用電子控制裝置,係具備有微電腦者,其特徵在於:前述微電腦具備:判別電路,係判別前述微電腦之驅動電壓是否在可進行車輛用電子控制裝置之控制動作的第1閾值電壓以上,並判別前述微電腦之前述驅動電壓是否在可進行微電腦本身之動作的第2閾值電壓以上、且未滿前述第1閾值電壓者;控制許可部,係當藉由前述判別電路判別出前述驅動電壓為前述第1閾值電壓以上時,許可前述微電腦之前述控制動作者;及軟重設部,係當藉由前述判別電路,判別出前述驅動電壓從未滿前述第2閾值之狀態變為前述第2閾值以上之狀態、且為前述第2閾值電壓以上而未滿前述第1閾值電壓之狀態時,禁止前述微電腦之前述控制動作,另一方面,當藉由前述判別電路,判別出前述驅動電壓在從未滿前述第1閾值電壓之狀態變為前述第1閾值電壓以上之狀態後、下降到未滿前述第1閾值電壓之狀態時,進行前述微電腦之初使化,此外,當藉由前述判別電路,判別出前述驅動電壓再次變為前述第1閾值電壓以上之大小的狀態時,前述控制許可部可執行使前述微電腦之控制動作從初始狀態開始的軟體重設處理。 An electronic control device for a vehicle is provided with a microcomputer, wherein the microcomputer includes a determination circuit that determines whether or not a driving voltage of the microcomputer is equal to or greater than a first threshold voltage at which a control operation of the electronic control device for a vehicle can be performed. And determining whether the driving voltage of the microcomputer is equal to or higher than a second threshold voltage that can operate the microcomputer itself, and is less than the first threshold voltage; and the control permission unit determines that the driving voltage is determined by the determining circuit When the first threshold voltage is equal to or higher than the first threshold voltage, the control operator of the microcomputer is permitted; and the soft reset unit determines that the driving voltage has not changed from the second threshold to the second state by the determination circuit. When the threshold value is equal to or higher than the second threshold voltage and less than the first threshold voltage, the control operation of the microcomputer is prohibited. On the other hand, the determination circuit determines that the driving voltage is After the state in which the first threshold voltage is not full is changed to the state above the first threshold voltage, When the state of the first threshold voltage is less than the first threshold voltage, the microcomputer is initialized, and when the determination circuit determines that the driving voltage is equal to or greater than the first threshold voltage, The control permission unit may perform soft weight setting processing for starting the control operation of the microcomputer from the initial state. 如申請專利範圍第1項之車輛用電子控制裝置,其中前 述微電腦另具備監視計時器(watchdog timer),其係執行計時動作,且在計時到達預定時間之時機,重設前述微電腦者;前述軟重設部係在前述驅動電壓在第2閾值電壓以上、且未滿前述第1閾值電壓之間,每隔預定週期重設前述監視計時器之計時時間。 For example, the electronic control device for a vehicle of claim 1 is the former The microcomputer further includes a watchdog timer that performs a timekeeping operation and resets the microcomputer when the timing reaches a predetermined time. The soft reset unit is configured such that the driving voltage is equal to or higher than a second threshold voltage. And between the first threshold voltages, the timing of the monitoring timer is reset every predetermined period. 如申請專利範圍第1項之車輛用電子控制裝置,其中前述軟重設部,係當前述驅動電壓在成為前述第1閾值電壓以上之後下降到未滿前述第1閾值電壓時,再次禁止前述微電腦之前述控制動作。The electronic control unit for a vehicle according to the first aspect of the invention, wherein the soft reset unit disables the microcomputer again when the drive voltage drops below the first threshold voltage after the drive voltage is equal to or higher than the first threshold voltage. The aforementioned control action.
TW99131189A 2009-09-18 2010-09-15 Electronic control apparatus for vehicle TWI430064B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009218098A JP5374295B2 (en) 2009-09-18 2009-09-18 Electronic control device for vehicle

Publications (2)

Publication Number Publication Date
TW201115289A TW201115289A (en) 2011-05-01
TWI430064B true TWI430064B (en) 2014-03-11

Family

ID=43758656

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99131189A TWI430064B (en) 2009-09-18 2010-09-15 Electronic control apparatus for vehicle

Country Status (4)

Country Link
JP (1) JP5374295B2 (en)
CN (1) CN102498015B (en)
TW (1) TWI430064B (en)
WO (1) WO2011034053A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103597273A (en) * 2011-06-14 2014-02-19 奥斯兰姆施尔凡尼亚公司 Edge-lit light panel having a downlight within a lined indentation in the panel

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5750282B2 (en) * 2011-03-29 2015-07-15 株式会社ケーヒン Electronic control unit
WO2014182307A1 (en) 2013-05-10 2014-11-13 Roller Bearing Company Of America, Inc. Double row preloaded ball bearing with spacer balls
JP6220232B2 (en) * 2013-11-08 2017-10-25 日立オートモティブシステムズ株式会社 Vehicle control device
CN103885563A (en) * 2014-03-31 2014-06-25 浙江知祺电力自动化有限公司 Management circuit for self-powered microprocessor protection device microprocessor
JP6320828B2 (en) * 2014-04-09 2018-05-09 新電元工業株式会社 VEHICLE ELECTRONIC CONTROL DEVICE AND METHOD FOR CONTROLLING VEHICLE ELECTRONIC CONTROL DEVICE
WO2018131380A1 (en) * 2017-01-16 2018-07-19 日立オートモティブシステムズ株式会社 Vehicle control device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04373010A (en) * 1991-06-21 1992-12-25 Pioneer Electron Corp Reset circuit
JP3056014B2 (en) * 1993-03-23 2000-06-26 株式会社東海理化電機製作所 Vehicle load control device
KR960014146B1 (en) * 1994-08-24 1996-10-14 대우전자 주식회사 Resetting apparatus for microcomputer
JPH0869059A (en) * 1994-08-31 1996-03-12 Fuji Xerox Co Ltd Image scanner
JP2003032089A (en) * 2001-07-18 2003-01-31 Matsushita Electric Ind Co Ltd Microcomputer with built-in reset function
US20030140261A1 (en) * 2002-01-24 2003-07-24 Minoru Takasaki Control apparatus
JP2008158824A (en) * 2006-12-25 2008-07-10 Nidec Copal Corp Electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103597273A (en) * 2011-06-14 2014-02-19 奥斯兰姆施尔凡尼亚公司 Edge-lit light panel having a downlight within a lined indentation in the panel

Also Published As

Publication number Publication date
TW201115289A (en) 2011-05-01
WO2011034053A1 (en) 2011-03-24
JP5374295B2 (en) 2013-12-25
CN102498015A (en) 2012-06-13
JP2011063231A (en) 2011-03-31
CN102498015B (en) 2014-08-13

Similar Documents

Publication Publication Date Title
TWI430064B (en) Electronic control apparatus for vehicle
JP5576264B2 (en) Charger
JP5739290B2 (en) Electronic control unit
JP2008152678A (en) Electronic control device
JP2010279188A (en) Overcurrent protection circuit
US20170134637A1 (en) Lighting device that is capable of connecting to electronic apparatus, and control method therefor
US20180157617A1 (en) Electronic apparatus, image forming apparatus, and control method and program therefor
US10606703B2 (en) Monitoring circuit
US6952357B2 (en) Power supply control apparatus
JP2007041824A (en) Resetting circuit for electronic control unit
EP2860634A1 (en) Electronic device
JP7447840B2 (en) power control device
JP5769403B2 (en) Monitoring device and electronic device
JP7143797B2 (en) Power control device for in-vehicle camera module
JP5892616B2 (en) Power switch short circuit protection circuit, power switch control method and control program
KR101405905B1 (en) Method for avoiding unwanted reset in two IC having different power on reset voltage range
JP4412141B2 (en) Power supply start / stop control circuit
US10536141B2 (en) Semiconductor device
TWI612419B (en) Handheld device and method for detecting component condition
JP2008152621A (en) Microcomputer
JP4160968B2 (en) Interface circuit and information processing apparatus using the same
JP2011176398A (en) Oscillation stop detection circuit
JP2016001943A (en) Power unit
JP2009239774A (en) Input device of contact point signal
JP2012069063A (en) P-run signal output device and incorporated control device