JPH031284A - Constant setting device of microcomputer - Google Patents
Constant setting device of microcomputerInfo
- Publication number
- JPH031284A JPH031284A JP1052612A JP5261289A JPH031284A JP H031284 A JPH031284 A JP H031284A JP 1052612 A JP1052612 A JP 1052612A JP 5261289 A JP5261289 A JP 5261289A JP H031284 A JPH031284 A JP H031284A
- Authority
- JP
- Japan
- Prior art keywords
- microcomputer
- oscillation
- circuit
- frequency
- signal
- 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
Links
- 230000010355 oscillation Effects 0.000 claims abstract description 69
- 238000002485 combustion reaction Methods 0.000 description 10
- 239000003990 capacitor Substances 0.000 description 9
- 230000000630 rising effect Effects 0.000 description 9
- 239000000446 fuel Substances 0.000 description 8
- 238000002347 injection Methods 0.000 description 8
- 239000007924 injection Substances 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 239000003795 chemical substances by application Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
- Microcomputers (AREA)
- Control By Computers (AREA)
- Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、マイクロコンピュータが制御すべき制御態様
を示す定数(以下、「制御定数jという)をマイクロコ
ンピュータへ設定するマイクロコンピュータの定数設定
装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a constant setting device for a microcomputer that sets a constant (hereinafter referred to as "control constant j") indicating a control mode to be controlled by a microcomputer in a microcomputer.
従来の技術
内燃機関の燃料噴射制御などを行うエンジン制御装置に
は、マイクロコンピュータが設けられており、前記マイ
クロコンピュータ内に設定される制御定数に基づいて燃
料噴射時間や内燃機関の回転速度などが定められ、エン
ジン制御が行われる。BACKGROUND ART An engine control device that controls fuel injection of an internal combustion engine is equipped with a microcomputer, and the fuel injection time, rotational speed of the internal combustion engine, etc. are determined based on control constants set in the microcomputer. and engine control is performed.
前記エンジン制御装置は、はとんど車種に関係なく同一
の回路構造が印刷された配線基板上にマイクロコンピュ
ータや他の電子部品などが搭載されて構成されている。The engine control device is generally constructed by mounting a microcomputer and other electronic components on a wiring board on which the same circuit structure is printed regardless of the type of vehicle.
しかし、−aに前記エンジン制御はたとえば車種毎によ
って異なるため、各車種環に前記エンジン制(鐸を行う
マイクロコンピュータ内に設定される制御定数が異なっ
て構成される。したがって、マイクロコンピュータに車
種特有の制御定数を設定し確定していたのでは、車種が
異なれば前記エンジン制御袋!内に搭載されるマイクロ
コンピュータもまた異なることになり、同一のマイクロ
コンピュータを異なる車種同士で共用することができな
い。However, -a, since the engine control differs depending on the car model, the control constants set in the microcomputer that performs the engine control are configured differently for each car model. If the control constants were set and fixed, the microcomputers installed in the engine control bag would be different for different car models, and the same microcomputer could not be shared between different car models. .
したがって、従来から、車種に関係なく前記マイクロコ
ンピュータ内には選択されるべき制御定数をメモリ内に
複数ストアし、前記マイクロコンピユータの入力端子へ
与えられる信号を各車種毎に切換えることによって、そ
れぞれ各車種特有の制御定数をマイクロコンピュータ内
に設定するように構成している。前記構成によって車種
にこだわることなく、同一のマイクロコンピュータを搭
載することができ、エンジン制御装置の製造工程の作業
性が捗る。Therefore, conventionally, the microcomputer stores a plurality of control constants to be selected in memory regardless of the vehicle type, and by switching the signal applied to the input terminal of the microcomputer for each vehicle type, each control constant is stored in memory. It is configured so that control constants specific to the vehicle type are set in the microcomputer. With the above configuration, the same microcomputer can be installed regardless of the vehicle type, and the workability of the manufacturing process of the engine control device is improved.
第4図は、従来の定数設定装置1の簡略化した構成を示
すブロック図である。定数設定装置1は、マイクロコン
ピュータ2と前記マイクロコンピュータ内の制御定数を
設定するための抵抗や配線ラインを含んで構成している
。前記マイクロコンピュータ2内において設定される制
御定数に基づいて、たとえば内燃機関3の燃料噴射制御
などが行われる。FIG. 4 is a block diagram showing a simplified configuration of the conventional constant setting device 1. As shown in FIG. The constant setting device 1 includes a microcomputer 2 and a resistor and wiring line for setting control constants in the microcomputer. Based on control constants set in the microcomputer 2, fuel injection control of the internal combustion engine 3, etc., is performed, for example.
マイクロコンピュータ2は、供給される駆動電圧Vcc
によって駆動する。前記マイクロコンピュータ2の入出
力端子において、定数設定用端子ADJ1.ADJ2は
、それぞれ駆動電圧Vecのラインと抵抗R1,R2を
介して接続されている。また前記端子ADJI AD
J2にはそれぞれジャンパ線の接続のための端子Jll
、J21が接続されている。また、マイクロコンピュー
タ2には基準電位である接地電位Vssが接続されてい
る。接地電位Vssと接続される端子J12、J22と
前記端子Jll、J21とにおいてそれぞれ対向する端
子間ではジャンパ線Jl、J2が接続可能であるように
、前記各端子は配線基板上において形成されている。The microcomputer 2 receives the supplied driving voltage Vcc.
Driven by. Among the input/output terminals of the microcomputer 2, constant setting terminals ADJ1. ADJ2 is connected to the drive voltage Vec line via resistors R1 and R2, respectively. In addition, the terminal ADJI AD
Each J2 has a terminal Jll for connecting a jumper wire.
, J21 are connected. Further, the microcomputer 2 is connected to a ground potential Vss which is a reference potential. The terminals are formed on the wiring board so that jumper wires Jl and J2 can be connected between opposing terminals of the terminals J12 and J22 connected to the ground potential Vss and the terminals Jll and J21, respectively. .
前記構成によって5ジャンパMJIの有無に基づいて定
数設定用端子ADJIにはハイ/ローレベルの信号が入
力され、同様に、ジャンパ線J2の有無に基づいて定数
設定用端子ADJ2には、ハイ/ローレベルの信号が入
力される。すなわち、前記定数設定用端子ADJI、A
DJ2にはそれぞれ2通りのレベル信号の入力が可能で
あるので、計4通りの組合わせの信号をジャンパ線Jl
、J2に基づいて入力することができる。With the above configuration, a high/low level signal is input to the constant setting terminal ADJI based on the presence or absence of the 5 jumper MJI, and similarly, a high/low level signal is input to the constant setting terminal ADJ2 based on the presence or absence of the jumper J2. A level signal is input. That is, the constant setting terminal ADJI, A
Since it is possible to input two types of level signals to each DJ2, a total of four combinations of signals can be input to the jumper wire Jl.
, J2.
したがって、マイクロコンピュータ2内には4種類の制
御定数の設定が可能となる。すなわち、マイクロコンピ
ュータ2内の図示しないメモリに4種類の制御定数をス
トアし、各車種に基づいてジャンパ線Jl、J2の接続
を定めることによって、定数設定用端子ADJI、AD
J2への入力信号に対応して制御定数がメモリ内から指
定され、各車種特有の制(鐸定数を設定することができ
る。Therefore, four types of control constants can be set in the microcomputer 2. That is, by storing four types of control constants in a memory (not shown) in the microcomputer 2 and determining the connection of jumper wires Jl and J2 based on each vehicle type, constant setting terminals ADJI and AD
Control constants are designated from within the memory in response to the input signal to J2, and it is possible to set a control constant specific to each vehicle type.
発明が解決しようとする課題
上述の定数設定装置1においては、定数設定用端子AD
JI、ADJ2にはそれぞれハイレベルもしくはローレ
ベルの2通りの信号しか入力することができない、した
がって、前記従来例においては4種類の定数を想定して
いるので2個の端子数で賄うことができるけれども、よ
り多数の制御定数を設定するためには、より多くの端子
を必要とする。しかし、マイクロコンピュータには、他
の複数の制御信号が入力/出力すべぎ端子を確保する必
要があり、前述のように選択すべき制御定数の増加にl
Pい定数設定用端子を増加することは。Problems to be Solved by the Invention In the constant setting device 1 described above, the constant setting terminal AD
Only two types of signals, high level or low level, can be input to JI and ADJ2, respectively. Therefore, in the conventional example, four types of constants are assumed, so the number of terminals can be sufficient as two. However, in order to set a larger number of control constants, more terminals are required. However, in a microcomputer, it is necessary to secure input/output terminals for multiple other control signals.
It is possible to increase the number of constant setting terminals.
他の制御信号を入力/出力させる端子数不足を招き、実
用的ではない。This results in an insufficient number of terminals for inputting/outputting other control signals, which is not practical.
本発明の目的は、上述の問題点を解決するためのもので
あり、1個の入力端子で複数の制御定数を設定すること
ができるマイクロコンピュータの定数設定装置を提供す
ることである。An object of the present invention is to solve the above-mentioned problems, and to provide a constant setting device for a microcomputer that can set a plurality of control constants using one input terminal.
課題を解決するための手段
本発明は、入力端子を有し、前記入力端子へ与えられる
信号の周波数に対応した制御定数を用いて演算するマイ
クロコンピュータと、
周波数が可変である発振信号を前記入力端子へ与える発
振回路と、
前記発振回路の発振周波数を設定するための手段とを含
むことを特徴とするマイクロコンピュータの定数設定装
置である。Means for Solving the Problems The present invention provides a microcomputer that has an input terminal and performs calculations using a control constant that corresponds to the frequency of a signal applied to the input terminal; A constant setting device for a microcomputer, characterized in that it includes an oscillation circuit applied to a terminal, and means for setting an oscillation frequency of the oscillation circuit.
作 用
本発明のマイクロコンピュータの設定定数装置によれば
、発振周波数を設定するための手段によって発振回路の
発振周波数が設定される。前記発振回路は設定された発
振周波数を有する発振信号をマイクロコンピュータに備
わる入力端子I\与える。前記マイクロコンピュータは
、前記入力端子へ与えられる信号の周波数に対応した制
(卸定数に基づいて演算が行われる。Function: According to the microcomputer setting constant device of the present invention, the oscillation frequency of the oscillation circuit is set by the means for setting the oscillation frequency. The oscillation circuit provides an oscillation signal having a set oscillation frequency to an input terminal I\ of the microcomputer. The microcomputer performs calculations based on a constant that corresponds to the frequency of the signal applied to the input terminal.
したがって、発振回路からの周波数信号の発振周波数を
変化することによってマイクロコンピュータ内に設定さ
れる制御定数が変化するので、入力端子の数を最小限に
節約することができる。Therefore, by changing the oscillation frequency of the frequency signal from the oscillation circuit, the control constants set in the microcomputer are changed, so the number of input terminals can be minimized.
実施例
第1図は、本発明の一実施例である定数設定装置10の
簡略化した構成を示すブロック図である。Embodiment FIG. 1 is a block diagram showing a simplified configuration of a constant setting device 10 which is an embodiment of the present invention.
定数設定装置10は、マイクロコンピュータ11と前記
マイクロコンピュータ11へ周波数が可変される発振信
号を与える発振回路12とを含んで構成する。The constant setting device 10 includes a microcomputer 11 and an oscillation circuit 12 that provides an oscillation signal whose frequency is variable to the microcomputer 11.
マイクロコンピュータ11は、駆動電圧Vccが供給さ
れることによって駆動し、たとえば内燃機関13の燃料
噴射制御などを後述のように設定される制御定数に基づ
いて行う、また、マイクロコンピュータ11の基準電位
は接地電位Vssである。The microcomputer 11 is driven by being supplied with a drive voltage Vcc, and performs, for example, fuel injection control of the internal combustion engine 13 based on control constants set as described below.The reference potential of the microcomputer 11 is The ground potential is Vss.
発振回路12は、たとえばオペランプなどの比較回路1
4と前記比較回路171周辺に配置される抵抗R3〜R
8およびコンデンサCIとを含んで構成する。前記比較
回路14の正入力端子には、駆動電圧Vccのラインか
ら接地電位へ向けて直列に接続される抵抗R3,R4の
接続点が接続され、さらに正帰還用の抵抗R5を介して
前記比較回路14の出力端子へ接続される。一方、前記
比較回路14の負入力端子は、コンデンサC1を介して
接地電位へ接続され、また直列に接続される抵抗R6〜
R8を介して前記比較回路14の出力端子へ接続される
。The oscillation circuit 12 is a comparator circuit 1 such as an operational lamp, for example.
4 and resistors R3 to R arranged around the comparison circuit 171.
8 and a capacitor CI. The positive input terminal of the comparison circuit 14 is connected to the connection point of resistors R3 and R4 connected in series from the line of the drive voltage Vcc to the ground potential, and further connected to the positive input terminal of the comparison circuit 14 via a positive feedback resistor R5. It is connected to the output terminal of circuit 14. On the other hand, the negative input terminal of the comparator circuit 14 is connected to the ground potential via the capacitor C1, and the resistors R6 to R6 are connected in series.
It is connected to the output terminal of the comparison circuit 14 via R8.
直列に接続される各抵抗R6〜R8のそれぞれの端部に
は、各抵抗の両端を短絡するジャンパ線J6〜J8を接
続するための端子JOI〜JO4がそれぞれ接続され、
各端子Jot〜JO4はそれぞれ前記発振回路12が構
成される配線基板上においてジャンパ線J6〜J8が接
続可能に形成されている。したがって、前記端子JOI
〜J04の予め定められる端子間にジャンパ線J 6〜
J8を接続することによって、直列に接続される抵抗R
6〜R8の自戒抵抗が変化する。Terminals JOI to JO4 for connecting jumper wires J6 to J8 that short-circuit both ends of each resistor are connected to each end of each of the resistors R6 to R8 connected in series, respectively,
Each of the terminals Jot to JO4 is formed on a wiring board on which the oscillation circuit 12 is constructed so that jumper wires J6 to J8 can be connected thereto. Therefore, the terminal JOI
~ Jumper wire J6 between the predetermined terminals of J04 ~
By connecting J8, the resistor R connected in series
The self-resistance of 6 to R8 changes.
比較回路14は、正入力端子の電圧レベルと負入力端子
との電圧レベルとの比較に基づいて出力端子からハイレ
ベルもしくはローレベルの信号を出力する。すなわち、
抵抗R3,R4によって定められる基準電圧Vrefよ
りもコンデンサCの両端にかかる電位差Vcが小さい場
合には、比較回路14はハイレベルを出力し、直列に接
続される抵抗R6〜R8を介してコンデンサCへの充電
を行う、前記充電に伴って、コンデンサCの電位差Vc
が前記基準電圧Vref以上になると、前記比較回路1
4はローレベルを出力し、前記コンデンサCから直列に
接続される抵抗R6〜R8を介して放電が行われる。そ
のt&、再び前記コンデンサCの電位差Vcが基準電圧
Vre f未満になると比較回路14はハイレベルを出
力する。The comparison circuit 14 outputs a high level or low level signal from its output terminal based on a comparison between the voltage level of the positive input terminal and the voltage level of the negative input terminal. That is,
When the potential difference Vc applied across the capacitor C is smaller than the reference voltage Vref determined by the resistors R3 and R4, the comparator circuit 14 outputs a high level, and the capacitor C is outputted via the resistors R6 to R8 connected in series. Along with the charging, the potential difference Vc of the capacitor C
becomes equal to or higher than the reference voltage Vref, the comparison circuit 1
4 outputs a low level, and discharge is performed from the capacitor C via resistors R6 to R8 connected in series. At t&, when the potential difference Vc of the capacitor C becomes less than the reference voltage Vref again, the comparison circuit 14 outputs a high level.
比較回路14のハイ/ローレベルの切換タイミングの周
期TはコンデンサC1の容量CIOおよび抵抗R6〜R
8の抵抗値R’60〜R80によって定められる時定数
に従って可変することができる。すなわち、前述のよう
に直列に接続される抵抗R6〜R8の両端間の合成抵抗
ROはジャンパ線J6〜J8の接続によって設定するこ
とができるので、予め定められるジャンパ線の接続によ
って発振回路12からの発振信号の発振周波数Iを第1
式の関係を満足するように変化させることができる。The period T of the high/low level switching timing of the comparison circuit 14 is determined by the capacitance CIO of the capacitor C1 and the resistors R6 to R.
It can be varied according to the time constant determined by the resistance values R'60 to R80 of 8. That is, since the combined resistance RO between both ends of the resistors R6 to R8 connected in series can be set by connecting the jumper wires J6 to J8 as described above, the resistance from the oscillation circuit 12 can be set by connecting the jumper wires determined in advance. The oscillation frequency I of the oscillation signal is the first
It can be changed to satisfy the relationship in the equation.
(A 4.を抵抗IIaR30〜R50によって定まる
定数であり、ROOは合成抵抗ROの抵抗値である。)
第1表は、ジャンパ線J6〜J8の接続の有無と発振回
路12の発振周波数Iとの関係を示す表である。なお、
抵抗R6〜R8の抵抗値R60〜R80の大小関係は第
2式の関係を満足するように想定する。(A4. is a constant determined by the resistors IIaR30 to R50, and ROO is the resistance value of the combined resistor RO.) Table 1 shows the oscillation frequency I of the oscillation circuit 12 and the presence or absence of connection of the jumper wires J6 to J8. This is a table showing the relationship between In addition,
It is assumed that the magnitude relationship between the resistance values R60 to R80 of the resistors R6 to R8 satisfies the relationship of the second equation.
R60> R70+ R80> R70> R80・・
・(2)(以下余白)
第
1表
されていることを示し、×は対応するジャンパ線が接続
されていないことを示す。)
第1表に示されるように、ジャンパ線J6〜J8の接続
の組りわせによって7通りの発振周波数1を設定するこ
とができる。R60> R70+ R80>R70> R80...
・(2) (blank below) Indicates that the first line is shown, and the × indicates that the corresponding jumper wire is not connected. ) As shown in Table 1, seven oscillation frequencies 1 can be set by combining the connections of jumper wires J6 to J8.
前述のように発振周波数が設定された発振回路12から
の発振信号は、マイクロコンピュータ11に備わるキャ
プチャー入力端子と呼ばれる入力端そ15へ与えられる
。前記入力端子15ノ\与えられた発振信号は処理回路
16によって、前記設定された周期Tが検出される。An oscillation signal from the oscillation circuit 12 whose oscillation frequency has been set as described above is applied to an input terminal 15 called a capture input terminal provided in the microcomputer 11. The set period T of the oscillation signal applied to the input terminal 15 is detected by the processing circuit 16.
第2図は、発振回路12からの発振信号O8Cを示すタ
イミングチャートである。処理回路16では、前記入力
端子15/\与えられる発振回路12からの発振信号O
8Cの立上りのタイミングを検出する。すなわち、第2
図において、入力端子15に与えられた発振信号O8C
の第1の立上りタイミングt1と前記第1の立上りタイ
ミングt1に続く第2の立上りタイミングt2を検出し
、前記各立上りタイミングtl、t2に基づいて処理回
路16内の図示しない回路によって前記立上りタイミン
グの間の時間、すなわち発振信号O8Cの周期Tを検出
する。FIG. 2 is a timing chart showing the oscillation signal O8C from the oscillation circuit 12. In the processing circuit 16, the oscillation signal O from the oscillation circuit 12 applied to the input terminal 15/\
Detect the rising timing of 8C. That is, the second
In the figure, the oscillation signal O8C applied to the input terminal 15
A first rising timing t1 and a second rising timing t2 following the first rising timing t1 are detected, and a circuit (not shown) in the processing circuit 16 calculates the rising timing based on the respective rising timings tl and t2. The time in between, that is, the period T of the oscillation signal O8C is detected.
処理回路16内には予めメモリ17が設けられており、
前記メモリ内には車種毎に設定される特有のIIJ I
I定数が複数記憶される。処理回路16は前述のように
検出した周期Tをアドレス信号として前記メモリ17内
から対応する制御定数を読出し、マイクロコンピュータ
ll内に設定する。マイクロコンピュータ11では、前
記設定された制御定数に基づいて、内燃機関13の燃料
噴射制御におけるたとえば燃料噴射時間や内燃機関の回
転速度などが設定される。A memory 17 is provided in advance in the processing circuit 16,
In the memory, there are specific IIJI settings that are set for each vehicle type.
A plurality of I constants are stored. The processing circuit 16 reads out the corresponding control constant from the memory 17 using the detected cycle T as an address signal, and sets it in the microcomputer 11. In the microcomputer 11, for example, the fuel injection time, the rotational speed of the internal combustion engine, etc. in the fuel injection control of the internal combustion engine 13 are set based on the set control constants.
第1図の発振回2812においては、ジャンパ線J6〜
J8の接続の組合わせによって第1表に示されるように
7通りの発振周波数fを設定することができるので、前
記メモリ17内には7種類の制御n定数A−a(第1表
参照)を設定することに、Lつで、発振回路12におい
て予め定められる各発振周波数f〈周期T)に対応して
メモリ17内から対応する制御定数を読出し、マイクロ
コンピュータ11内に設定することができる。In the oscillation circuit 2812 in FIG.
Seven types of oscillation frequencies f can be set as shown in Table 1 by combinations of connections of J8, so seven types of control n constants A-a (see Table 1) are stored in the memory 17. To set , the corresponding control constants can be read out from the memory 17 in accordance with each oscillation frequency f (period T) predetermined in the oscillation circuit 12 and set in the microcomputer 11 using L. .
第3図は、制御定数の設定動作を説明するためのフロー
チャートである。第3図のプログラムはマイクロコンピ
ュータll内の前記入力Qi t’ 151\発振回路
12からの発振信号O8Cが与えられると開始する。FIG. 3 is a flowchart for explaining the control constant setting operation. The program shown in FIG. 3 starts when the oscillation signal O8C from the input Qi t' 151\oscillation circuit 12 in the microcomputer 11 is applied.
ステップs1では、入力された発振信号O8Cの第1の
立−EリタイミングL1および第2のケにりタイミング
L2を検出し、ステップs2において、前記タイミング
tl、 乞2より発振信号O8Cの周期Tを検出し、処
理はステップs3’\進む。In step s1, the first rising-E retiming L1 and the second rising timing L2 of the input oscillation signal O8C are detected, and in step s2, the period T of the oscillation signal O8C is determined from the timing tl and 02. is detected, and the process proceeds to step s3'\.
ステップs3では、前記検出された周期Tをアドレス信
号としてメモリ17内から対応する制m定数を読出し、
マイクロコンピュータ11内に設定する。そのt&、ス
テップS4において内燃機関の燃料噴射制御における燃
料噴射時間や内燃機関の回転速度などが設定され、前記
内燃機関の制御が行われ、このプログラムは終了する。In step s3, the corresponding limiting constant is read out from the memory 17 using the detected period T as an address signal,
It is set in the microcomputer 11. At step S4, the fuel injection time and rotational speed of the internal combustion engine are set, the internal combustion engine is controlled, and the program ends.
上述のように本実施例に従えば、発振回路がらの発振信
号の発振周波数に基づいてマイクロコンピュータ内に制
御定数を設定することができ、さらに前記発振周波数は
前記発振回路が構成される配線基板上にジャンパ線を接
続することによって行われる。したがってマイクロコン
ピュータに制御定数を設定するためには前記発振回路か
らの発振信号を入力する入力端子が1個設けられていれ
ばよく、前記制御定数設定のために必要とするマイクロ
コンピュータの端子数を最小限に節約することができる
。As described above, according to this embodiment, a control constant can be set in the microcomputer based on the oscillation frequency of the oscillation signal from the oscillation circuit, and furthermore, the oscillation frequency can be set on the wiring board on which the oscillation circuit is configured. This is done by connecting jumper wires on top. Therefore, in order to set the control constants in the microcomputer, it is sufficient to provide one input terminal for inputting the oscillation signal from the oscillation circuit, and the number of terminals of the microcomputer required for setting the control constants is limited. can be saved to a minimum.
本実施例においては、処理回路内において発振信号の周
期を検出するために前記発振信号の立上りのタイミング
を検出しているけれども、立下りのタイミングを検出す
るように構成してもよい。In this embodiment, the rising timing of the oscillation signal is detected in order to detect the period of the oscillation signal in the processing circuit, but the processing circuit may be configured to detect the falling timing.
前記立上りもしくは立下りのタイミングは処理回路内の
プログラムによって設定することができる。The rising or falling timing can be set by a program within the processing circuit.
また本実施例においては、内燃機関の燃料噴射制御を行
うマイクロコンピュータに対して記載しているけれども
、このことは制限されることではなく、たとえばラジオ
受信機において各受信周波数帯域の局間周波数を設定す
る際にマイクロコンピュータ内の制御定数によって設定
されるような構成であってもよい。Furthermore, although this embodiment describes a microcomputer that controls the fuel injection of an internal combustion engine, this is not a limitation; for example, in a radio receiver, the inter-office frequency of each receiving frequency band is The configuration may be such that the setting is performed using control constants within the microcomputer.
さらに本実施例においては、ジャンパ線の接続によって
発振周波数を可変することができる発振回路の発振信号
をマイクロコンピュータに入力するように構成している
けれども、このことは制限されることではなく、たとえ
ば固有の発振周波数を有する発振信号を出力する発振回
路であっても、その発振信号を分周回路を介してマイク
ロコンピュータに与える構成であって、前記分周回路の
分周比を変化させるように構成してもよい。Further, in this embodiment, although the oscillation signal of the oscillation circuit whose oscillation frequency can be varied by connecting jumper wires is input to the microcomputer, this is not a limitation; for example, Even in the case of an oscillation circuit that outputs an oscillation signal having a unique oscillation frequency, the oscillation signal is supplied to the microcomputer via a frequency divider circuit, and the frequency division ratio of the frequency divider circuit is changed. may be configured.
発明の効果
本発明に従えば、発振周波数が可変である発振信号に基
づいてマイクロコンピュータ内に制御定数を設定するの
で、前記マイクロコンピュータにおいて制御定数を設定
するために必要な入力端子の数を最小限に節約すること
ができる。したがって、設定すべき制御定数が増加して
も必要とする入力端子の数は増加せず、他の信号に対す
る端子数不足の原因となるようなことはない。Effects of the Invention According to the present invention, since control constants are set in a microcomputer based on an oscillation signal with a variable oscillation frequency, the number of input terminals required for setting control constants in the microcomputer can be minimized. You can save as much as possible. Therefore, even if the number of control constants to be set increases, the number of required input terminals does not increase, and this does not cause a shortage of terminals for other signals.
第1図は本発明の一実施例である定数設定装置10の簡
略化した構成を示すブロック図、第2図は発振回路12
からの発振信号O8Cを示すタイミングチャート、第3
図は制御定数の設定動作を説明するためのフローチャー
ト、第4図は従来の定数設定装置1の簡略化した構成を
示すブロック図である。
10・・・定数設定装置、11・・・マイクロコンピュ
ータ、12・・・発振回路、13・・・内燃機関、14
・・・比較回路、15・・入力端子、16・・・処理回
路、17・メモリ、CI・・・コンデンサ、f・・・発
振周波数、Jot〜JO4・・・接続端子、J6〜J8
・・・ジャンパ線、R3−R8・・・抵抗、T・・・周
期、tl、L2・・立上りタイミング、Vcc・・駆動
電圧、Vss・接地電位
代理人 弁理士 西教 圭一部
第1図
/10
第2図FIG. 1 is a block diagram showing a simplified configuration of a constant setting device 10 which is an embodiment of the present invention, and FIG. 2 is a block diagram showing the oscillation circuit 12.
Timing chart showing the oscillation signal O8C from the third
The figure is a flowchart for explaining the control constant setting operation, and FIG. 4 is a block diagram showing a simplified configuration of the conventional constant setting device 1. DESCRIPTION OF SYMBOLS 10... Constant setting device, 11... Microcomputer, 12... Oscillation circuit, 13... Internal combustion engine, 14
...Comparison circuit, 15..Input terminal, 16..Processing circuit, 17.Memory, CI...Capacitor, f...Oscillation frequency, Jot~JO4...Connection terminal, J6~J8
...Jumper wire, R3-R8...Resistance, T...Period, tl, L2...Rise timing, Vcc...Drive voltage, Vss/Ground potential agent Patent attorney Kei Saikyo Figure 1/ 10 Figure 2
Claims (1)
数に対応した制御定数を用いて演算するマイクロコンピ
ュータと、 周波数が可変である発振信号を前記入力端子へ与える発
振回路と、 前記発振回路の発振周波数を設定するための手段とを含
むことを特徴とするマイクロコンピュータの定数設定装
置。[Scope of Claims] A microcomputer that has an input terminal and performs calculations using a control constant corresponding to the frequency of a signal applied to the input terminal, and an oscillation circuit that applies an oscillation signal with a variable frequency to the input terminal. A constant setting device for a microcomputer, comprising: a means for setting an oscillation frequency of the oscillation circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1052612A JPH031284A (en) | 1989-03-04 | 1989-03-04 | Constant setting device of microcomputer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1052612A JPH031284A (en) | 1989-03-04 | 1989-03-04 | Constant setting device of microcomputer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH031284A true JPH031284A (en) | 1991-01-07 |
Family
ID=12919620
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1052612A Pending JPH031284A (en) | 1989-03-04 | 1989-03-04 | Constant setting device of microcomputer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH031284A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6521719B1 (en) | 1999-04-01 | 2003-02-18 | Ashland Inc. | Multifunctional macromers |
| GB2379754A (en) * | 2001-09-13 | 2003-03-19 | Nec Technologies | Hardware revision identification apparatus using an oscillating R-C circuit |
| WO2008071675A3 (en) * | 2006-12-11 | 2008-12-11 | Arcelik As | A switching circuit |
-
1989
- 1989-03-04 JP JP1052612A patent/JPH031284A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6521719B1 (en) | 1999-04-01 | 2003-02-18 | Ashland Inc. | Multifunctional macromers |
| GB2379754A (en) * | 2001-09-13 | 2003-03-19 | Nec Technologies | Hardware revision identification apparatus using an oscillating R-C circuit |
| GB2379754B (en) * | 2001-09-13 | 2005-08-24 | Nec Technologies | An apparatus for harware revision identification using a R-C circuit |
| WO2008071675A3 (en) * | 2006-12-11 | 2008-12-11 | Arcelik As | A switching circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63115213A (en) | Constant voltage power circuit | |
| CN101464658B (en) | Method and apparatus for time-differential comparison of an analog signal | |
| JP2868472B2 (en) | Microcontroller and control method thereof | |
| US5606293A (en) | Clock generator for microcomputer having reduced start-up time | |
| JP5091579B2 (en) | Load control device | |
| JPH031284A (en) | Constant setting device of microcomputer | |
| JPH05289778A (en) | Information processor | |
| JPH05306645A (en) | Knocking detecting device for internal combustion engine | |
| CN1233886A (en) | Device with clock output circuit | |
| JPH06232699A (en) | Pulse generator | |
| JPH1155084A (en) | Output delay circuit | |
| JPH04192389A (en) | Electric circuit | |
| JP2599759B2 (en) | Flip-flop test method | |
| JP2002030985A (en) | Knock control device for internal combustion engine | |
| JPH0348468B2 (en) | ||
| JPH07305649A (en) | Knock controller for internal combustion engine | |
| JP2882610B2 (en) | Engine knock detection device | |
| KR200161966Y1 (en) | Sound control circuit | |
| JP3047417B2 (en) | Tri-level signal generation circuit | |
| JPH0715237A (en) | Oscillation control device | |
| JP3302438B2 (en) | Rotation speed detection device, overspeed prevention device and ignition device | |
| JP2605170B2 (en) | Input signal processing device | |
| JPH0894664A (en) | Accelerometer | |
| JPH1123666A (en) | Jitter generation circuit | |
| JPH06204815A (en) | Timing pulse generating circuit and electronic equipment with the same |