JP2017167990A - Function switching device and function switching method of microprocessor - Google Patents

Function switching device and function switching method of microprocessor Download PDF

Info

Publication number
JP2017167990A
JP2017167990A JP2016054562A JP2016054562A JP2017167990A JP 2017167990 A JP2017167990 A JP 2017167990A JP 2016054562 A JP2016054562 A JP 2016054562A JP 2016054562 A JP2016054562 A JP 2016054562A JP 2017167990 A JP2017167990 A JP 2017167990A
Authority
JP
Japan
Prior art keywords
microprocessor
function
converter
attachment
functions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016054562A
Other languages
Japanese (ja)
Inventor
将士 斉藤
Masashi Saito
将士 斉藤
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP2016054562A priority Critical patent/JP2017167990A/en
Publication of JP2017167990A publication Critical patent/JP2017167990A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to select a large number of functions by smaller number of signal lines, and suppress power consumption and prevent erroneous setting.SOLUTION: A microprocessor 2 is mounted on a base substrate 1, the microprocessor 2 has a general-purpose output terminal 11 which supplies power source to an attachment substrate 21, and has an A/D converter 7 for identifying voltage input from the attachment substrate 21. The attachment substrate 21 has resistance 22 of a specific fixed resistance value corresponding to one of a plurality of functions. A function of the microprocessor 2 is selected based on a voltage value obtained by the attachment substrate 21 selectively connected via connectors 13, 23.SELECTED DRAWING: Figure 3

Description

この発明は、複数の機能を具備したマイクロプロセッサの機能の選択を行うための機能切換装置および機能切換方法に関する。   The present invention relates to a function switching device and a function switching method for selecting a function of a microprocessor having a plurality of functions.

特許文献1には、シリアルインターフェースの入出力端子の機能を、SPIインターフェースとI2Cインターフェースのいずれかに選択的に切り換えるようにしたインターフェース装置が開示されている。このものでは、マイクロプロセッサの汎用入出力端子の一つを利用して2つの機能の切換を行う構成となっており、このような方式では、切換の対象とする機能の数が増えると、必要な信号本数が増加する。つまり、切換を行う機能が2種類であれば1本の信号線で切換が可能であるが、3〜4種類の機能の切換に対しては2本の信号線が必要であり、5〜8種類の機能の切換に対しては3本の信号線が必要となる。   Patent Document 1 discloses an interface device in which the function of an input / output terminal of a serial interface is selectively switched between an SPI interface and an I2C interface. In this system, one of the general-purpose input / output terminals of the microprocessor is used to switch between two functions. In such a system, if the number of functions to be switched increases, it is necessary. The number of signals increases. That is, if there are two types of switching functions, switching can be performed with one signal line. However, two signal lines are required for switching between three to four types of functions, and 5-8. Three signal lines are required for switching between different types of functions.

このような多数の機能の切換を最小本数の信号線で実現するために、特許文献2には、可変抵抗器の設定により機能選択を行うようにした技術が開示されている。すなわち、電源を可変抵抗器に接続し、可変的に設定された可変抵抗により降下した電圧を機能選択信号としてA/Dコンバータに入力し、アナログ/デジタル変換した結果をもとに、マイクロプロセッサが機能を選択する構成となっている。   In order to realize such switching of a large number of functions with a minimum number of signal lines, Patent Document 2 discloses a technique in which a function is selected by setting a variable resistor. That is, a power source is connected to a variable resistor, a voltage dropped by a variably set variable resistor is input to an A / D converter as a function selection signal, and an analog / digital conversion result is used for the microprocessor. It is configured to select a function.

特開2013−58868号公報JP2013-58868A 特開2004−185236号公報JP 2004-185236 A

しかしながら、上記特許文献2の技術においては、電源電圧が可変抵抗器に常に入力されるため、常時、電力を消費する、という問題がある。   However, the technique of Patent Document 2 has a problem that power is always consumed because the power supply voltage is always input to the variable resistor.

また、抵抗値が連続的に変化する可変抵抗器を用いて、オペレータが機能に対応した抵抗値を設定する構成となっているため、設定される抵抗値のばらつきによって、意図しない機能を実行してしまう可能性がある。   In addition, a variable resistor whose resistance value changes continuously is used to set the resistance value corresponding to the function by the operator, so an unintended function is executed due to variations in the set resistance value. There is a possibility that.

この発明に係るマイクロプロセッサの機能切換装置は、
マイクロプロセッサが実装され、このマイクロプロセッサが、機能選択信号生成用の電源を供給する汎用出力端子を有するとともに、機能選択信号を識別するためのA/Dコンバータを有するベース基板と、
上記汎用出力端子および上記A/Dコンバータの入力端子に接続され、上記汎用出力端子から入力された電源から機能選択信号を生成して上記A/Dコンバータの入力端子に出力するアタッチメント基板と、
を備えて構成されている。
A function switching device for a microprocessor according to the present invention includes:
A base board having a general-purpose output terminal for supplying a power for generating a function selection signal and an A / D converter for identifying the function selection signal;
An attachment board connected to the general-purpose output terminal and the input terminal of the A / D converter, generating a function selection signal from the power source input from the general-purpose output terminal, and outputting the function selection signal to the input terminal of the A / D converter;
It is configured with.

このような構成では、機能選択を行う際に、マイクロプロセッサの汎用出力端子からアタッチメント基板へ電源が供給され、これに応答して、アタッチメント基板からA/Dコンバータの入力端子へ機能選択信号が出力される。マイクロプロセッサは、機能選択信号をA/D変換した結果から、アタッチメント基板により要求された機能を決定する。例えば、12bitのA/Dコンバータであれば、最大で4095種類の機能の選択が理論上可能である。これに対し、ベース基板とアタッチメント基板との間の信号本数は極めて少ないもの(理論上は2本)となる。アタッチメント基板は、特定の1つの機能に対応したものとして準備され、所望の機能に対応したアタッチメント基板をベース基板に接続することで、機能の切換がなされる。従って、誤って異なる機能が実行されるようなことはない。   In such a configuration, when selecting a function, power is supplied from the general-purpose output terminal of the microprocessor to the attachment board, and in response thereto, a function selection signal is output from the attachment board to the input terminal of the A / D converter. Is done. The microprocessor determines the function requested by the attachment board from the result of A / D conversion of the function selection signal. For example, if it is a 12-bit A / D converter, a maximum of 4095 types of functions can be selected theoretically. On the other hand, the number of signals between the base substrate and the attachment substrate is extremely small (theoretically two). The attachment substrate is prepared as one corresponding to one specific function, and the function is switched by connecting the attachment substrate corresponding to the desired function to the base substrate. Therefore, no different functions are executed by mistake.

この発明の好ましい一つの態様では、上記アタッチメント基板は、複数の機能の中の一つに対応した固定抵抗値を有する抵抗基板からなる。すなわち、個々のアタッチメント基板の固定抵抗値に対応した電圧として機能選択信号が出力される。   In a preferred aspect of the present invention, the attachment substrate is a resistance substrate having a fixed resistance value corresponding to one of a plurality of functions. That is, the function selection signal is output as a voltage corresponding to the fixed resistance value of each attachment board.

さらに好ましい一つの態様では、上記マイクロプロセッサは、上記固定抵抗値に対応して上記A/Dコンバータの入力端子に機能選択信号として入力された電圧のA/D変換値を、複数の機能の中の一つに対応づけるテーブルを備えている。   In a further preferred aspect, the microprocessor uses an A / D conversion value of a voltage input as a function selection signal to an input terminal of the A / D converter corresponding to the fixed resistance value, among a plurality of functions. The table is associated with one of these.

また、この発明の好ましい一つの態様では、上記アタッチメント基板は、コネクタを介して上記ベース基板に着脱可能に取り付けられる。これにより、アタッチメント基板の簡単な着脱によって、機能選択が可能となる。   In one preferred embodiment of the present invention, the attachment board is detachably attached to the base board via a connector. Thus, the function can be selected by simply attaching and detaching the attachment substrate.

そして、この発明では、好ましくは、機能選択時にのみ上記汎用出力端子から上記アタッチメント基板へ電源が供給される。これにより、機能選択のために必要な電力消費が最小となる。   In the present invention, preferably, power is supplied from the general-purpose output terminal to the attachment board only when a function is selected. This minimizes the power consumption required for function selection.

この発明に係るマイクロプロセッサの機能切換方法は、
A/Dコンバータを有するマイクロプロセッサが実装されたベース基板に、複数の機能の中の一つに対応した固定抵抗を備えたアタッチメント基板を選択的に接続し、
上記マイクロプロセッサの汎用出力端子から上記アタッチメント基板へ電源を供給し、
この電源の供給によって上記アタッチメント基板が出力する機能選択信号を上記A/DコンバータによってA/D変換し、
このA/D変換値を複数の機能の中の一つに対応づけて、機能の選択を行う、ものである。
The microprocessor function switching method according to the present invention includes:
An attachment substrate having a fixed resistor corresponding to one of a plurality of functions is selectively connected to a base substrate on which a microprocessor having an A / D converter is mounted;
Supply power from the general-purpose output terminal of the microprocessor to the attachment board,
The function selection signal output from the attachment board by the power supply is A / D converted by the A / D converter,
This A / D conversion value is associated with one of a plurality of functions, and the function is selected.

この発明に係るマイクロプロセッサの機能切換装置および機能切換方法によれば、少ない信号本数でもって多数の機能の選択が可能である。そして、個々の機能に対応して準備されるアタッチメント基板にマイクロプロセッサの汎用出力端子から電源が供給されるので、例えば機能選択時にのみ電源供給することが可能であり、機能選択に伴う電力消費を抑制できるとともに、誤って異なる機能を実行してしまうことがない。   According to the microprocessor function switching device and the function switching method according to the present invention, a large number of functions can be selected with a small number of signals. Since power is supplied from the general-purpose output terminal of the microprocessor to the attachment board prepared for each function, for example, power can be supplied only at the time of function selection, and power consumption associated with function selection is reduced. In addition to being able to suppress, it does not accidentally execute different functions.

一実施例のベース基板の構成を示した説明図。Explanatory drawing which showed the structure of the base substrate of one Example. 一実施例のアタッチメント基板の構成を示した説明図。Explanatory drawing which showed the structure of the attachment board | substrate of one Example. ベース基板にアタッチメント基板を接続した状態の説明図。Explanatory drawing of the state which connected the attachment board | substrate to the base board | substrate.

以下、この発明の一実施例を図面に基づいて詳細に説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

図1は、複数の機能を実行可能なマイクロプロセッサ2が実装されたベース基板1を示している。マイクロプロセッサ2は、1つの半導体装置として構成され、演算処理部3、ROM4、RAM5、入出力部6、A/Dコンバータ7、D/Aコンバータ8、等を含んで構成されている。ここでは、複数の機能として予め複数のソフトウェア(プログラム)がROM4に格納されており、選択された機能に対応するソフトウェアをROM4から読み出してRAM5にロードすることにより、それぞれの機能をマイクロプロセッサ2が実行するようになっている。ベース基板1は、マイクロプロセッサ2に電源を供給する電源部9を備えている。なお、本発明における「機能」の選択には、種々のものを含み、例えば、オペレーティングシステムの切換、アプリケーションソフトウェアの切換、外部機器と接続されるインタフェースの形式の切換、マイクロプロセッサ2が組み込まれている組み込み機器の動作モードの切換、などを広く包含する。   FIG. 1 shows a base substrate 1 on which a microprocessor 2 capable of executing a plurality of functions is mounted. The microprocessor 2 is configured as one semiconductor device, and includes an arithmetic processing unit 3, a ROM 4, a RAM 5, an input / output unit 6, an A / D converter 7, a D / A converter 8, and the like. Here, a plurality of software (programs) are stored in advance in the ROM 4 as a plurality of functions, and the microprocessor 2 reads out the software corresponding to the selected function from the ROM 4 and loads it into the RAM 5. It is supposed to run. The base substrate 1 includes a power supply unit 9 that supplies power to the microprocessor 2. The selection of “function” in the present invention includes various types, for example, switching of operating system, switching of application software, switching of the type of interface connected to an external device, and microprocessor 2 are incorporated. Widely includes switching of operation modes of embedded devices.

入出力部6は、複数の汎用出力端子を備えているが、その中の1つの汎用出力端子11が、機能選択信号生成用の電源を供給可能なものとして構成されている。また、A/Dコンバータ7は、入力端子12を備えている。そして、ベース基板1に適宜な形式のコネクタ13が実装されており、上記の汎用出力端子11とA/Dコンバータ7の入力端子12とが、このコネクタ13に設けた各々の接続端子(図示せず)に接続されている。コネクタ13は、本実施例では、2端子のもので足りる。   The input / output unit 6 includes a plurality of general-purpose output terminals, and one of the general-purpose output terminals 11 is configured to be able to supply power for generating a function selection signal. The A / D converter 7 includes an input terminal 12. A connector 13 of an appropriate type is mounted on the base substrate 1, and the general-purpose output terminal 11 and the input terminal 12 of the A / D converter 7 are connected to respective connection terminals (not shown) provided on the connector 13. Connected). In the present embodiment, the connector 13 may be a two-terminal connector.

図2は、上記マイクロプロセッサ2の機能選択のために用いられるアタッチメント基板21を示している。このアタッチメント基板21は、所定の固定抵抗値の抵抗22を例えば抵抗体の印刷により形成した抵抗基板からなり、抵抗22の両端に接続された2つの接続端子(図示せず)を有するコネクタ23が実装されている。   FIG. 2 shows an attachment board 21 used for function selection of the microprocessor 2. The attachment board 21 is formed of a resistance board in which a resistor 22 having a predetermined fixed resistance value is formed by printing a resistor, for example, and a connector 23 having two connection terminals (not shown) connected to both ends of the resistor 22 is provided. Has been implemented.

抵抗22の抵抗値は、複数の機能の中の一つに対応している。換言すれば、複数の機能の個々に対応したものとして、特定の抵抗値を有するアタッチメント基板21が準備されている。一例として、ベース基板1のマイクロプロセッサ2が16通りの機能に切換可能なものであるとすると、抵抗値の異なる16種類のアタッチメント基板21が準備されていることとなる。   The resistance value of the resistor 22 corresponds to one of a plurality of functions. In other words, an attachment substrate 21 having a specific resistance value is prepared as one corresponding to each of a plurality of functions. As an example, if the microprocessor 2 of the base substrate 1 is switchable to 16 functions, 16 types of attachment substrates 21 having different resistance values are prepared.

このように複数の機能の中の一つに対応したものとして構成されるアタッチメント基板21は、所望の機能に対応した特定の1つを選択した上で、図3に示すように、コネクタ13,23を介してベース基板1に接続して使用される。このようにアタッチメント基板21をベース基板1に接続した状態では、マイクロプロセッサ2の汎用出力端子11が抵抗22の一端に接続され、A/Dコンバータ7の入力端子12が抵抗22の他端に接続される。なお、図3では、ベース基板1側のコネクタ13とアタッチメント基板21側のコネクタ23とを、2本の信号線25,26でもって接続しているように図示しているが、コネクタ13とコネクタ23とを物理的に直接に結合するように構成してもよく、あるいは、信号線25,26に相当するケーブルを介して両者を接続するようにしてもよい。   As shown in FIG. 3, the attachment board 21 configured as one corresponding to one of a plurality of functions selects a specific one corresponding to a desired function, and as shown in FIG. It is used by being connected to the base substrate 1 through 23. In this state where the attachment substrate 21 is connected to the base substrate 1, the general-purpose output terminal 11 of the microprocessor 2 is connected to one end of the resistor 22, and the input terminal 12 of the A / D converter 7 is connected to the other end of the resistor 22. Is done. In FIG. 3, the connector 13 on the base substrate 1 side and the connector 23 on the attachment substrate 21 side are illustrated as being connected by two signal lines 25 and 26. 23 may be physically coupled directly to each other, or both may be connected via cables corresponding to the signal lines 25 and 26.

上記アタッチメント基板21を用いた機能選択は、何らかの信号をトリガーとした機能選択時に、マイクロプロセッサ2側から汎用出力端子11を介してアタッチメント基板21へ電源を供給し、抵抗22によって降下した電圧をA/Dコンバータ7の入力端子12を介して読み込むことによってなされる。機能選択の実行は、例えば、マイクロプロセッサ2の初期の電源投入時やリセット時、あるいは、アタッチメント基板21のベース基板1への接続を何らかの手段で検出したとき、あるいは、オペレータの手動操作による機能選択要求時、など、適当なタイミングで行うように構成することが可能である。   The function selection using the attachment board 21 is performed by supplying power from the microprocessor 2 side to the attachment board 21 via the general-purpose output terminal 11 and selecting the voltage dropped by the resistor 22 at the time of function selection using some signal as a trigger. This is done by reading through the input terminal 12 of the / D converter 7. The function selection is performed, for example, when the microprocessor 2 is initially turned on or reset, when the connection of the attachment board 21 to the base board 1 is detected by some means, or by the operator's manual operation. It can be configured to perform at an appropriate timing such as when requested.

なお、アタッチメント基板21は、常時ベース基板1に接続しておいてもよく、機能選択時にのみベース基板1に接続するように構成してもよい。   The attachment substrate 21 may be always connected to the base substrate 1 or may be configured to be connected to the base substrate 1 only when a function is selected.

汎用出力端子11からの電源供給に応答してA/Dコンバータ7の入力端子12に機能選択信号として入力される電圧は、マイクロプロセッサ2側のA/Dコンバータ7によってデジタル値に変換される。そして、このデジタル値に基づいてアタッチメント基板21に対応した機能が検出される。   A voltage input as a function selection signal to the input terminal 12 of the A / D converter 7 in response to power supply from the general-purpose output terminal 11 is converted into a digital value by the A / D converter 7 on the microprocessor 2 side. And the function corresponding to the attachment board | substrate 21 is detected based on this digital value.

一例では、A/Dコンバータ7として12bitのA/Dコンバータが用いられており、電圧変化に応じて0〜4095のデジタル値が出力可能であるが、アタッチメント基板21に形成される抵抗22の抵抗値の多少のばらつきを考慮して、下記表1に示すように、適当な幅を持った形で16通りにデジタル値が分割されている。そして、16種類のアタッチメント基板21の抵抗値は、表1の16通りのデジタル値の上限・下限の範囲の中央値付近に電圧値が得られるように、それぞれ設定されている。   In one example, a 12-bit A / D converter is used as the A / D converter 7 and a digital value of 0 to 4095 can be output in accordance with a voltage change. However, the resistance of the resistor 22 formed on the attachment substrate 21 In consideration of some variation in the values, as shown in Table 1 below, the digital values are divided into 16 patterns with appropriate widths. The resistance values of the 16 types of attachment substrates 21 are set so that voltage values are obtained in the vicinity of the median value in the range of the upper and lower limits of the 16 digital values in Table 1.

Figure 2017167990
Figure 2017167990

表1に示したデジタル値(A/D変換値)と機能との対応関係は、マイクロプロセッサ2のROM4内にテーブルとして予め格納されている。従って、マイクロプロセッサ2は、機能選択時にA/Dコンバータ7を通して得られた電圧のA/D変換値をROM4内のテーブルと参照して、「0〜15」の識別結果のいずれかに分類し、各々の対応した機能を選択する。例えば、A/D変換値が「272」であれば、識別結果は「1」であり、2番目の機能が実行される。つまり、2番目の機能に対応したソフトウェアが読み込まれ、これに沿ってマイクロプロセッサ2が動作する。A/D変換値が「3830」であれば、識別結果は「14」であり、15番目の機能が実行される。つまり、15番目の機能に対応したソフトウェアが読み込まれ、これに沿ってマイクロプロセッサ2が動作する。   The correspondence relationship between the digital value (A / D conversion value) and the function shown in Table 1 is stored in advance in the ROM 4 of the microprocessor 2 as a table. Therefore, the microprocessor 2 refers to the A / D conversion value of the voltage obtained through the A / D converter 7 at the time of selecting the function with the table in the ROM 4 and classifies it as one of the identification results of “0 to 15”. , Select each corresponding function. For example, if the A / D conversion value is “272”, the identification result is “1”, and the second function is executed. That is, software corresponding to the second function is read, and the microprocessor 2 operates in accordance with the software. If the A / D conversion value is “3830”, the identification result is “14”, and the fifteenth function is executed. That is, software corresponding to the fifteenth function is read, and the microprocessor 2 operates along with this.

なお、上記の「16通り」の機能数は一例に過ぎず、より多数の機能に切り換えることが可能である。そして、切り換える機能の数が多くなっても、ベース基板1とアタッチメント基板21との間の信号本数は、基本的には、信号線25,26の2本で足りる。   Note that the above “16 types” of function numbers is merely an example, and it is possible to switch to a larger number of functions. Even if the number of functions to be switched increases, the number of signals between the base substrate 1 and the attachment substrate 21 is basically two signal lines 25 and 26.

このように、上記実施例の構成によれば、少ない信号本数でもって多数の機能の切換が可能となる。そして、機能の選択は、各々の機能に対応した固定抵抗値を有するアタッチメント基板21を選択的にベース基板1に取り付けることによってなされるので、従来の可変抵抗器を用いた場合のように設定ミスによって意図しない機能が選択されてしまうような不具合がない。特に、上記実施例では、コネクタ13,23を介してアタッチメント基板21を容易に着脱できるので、機能の選択を簡単かつ確実に行うことができる。また、マイクロプロセッサ2の汎用出力端子11を介してアタッチメント基板21へ電源供給を行うので、機能選択時のみ電源供給を行うことが容易であり、機能選択のための常時の電力消費を回避することができる。   Thus, according to the configuration of the above embodiment, it is possible to switch a large number of functions with a small number of signals. Since the function is selected by selectively attaching the attachment substrate 21 having a fixed resistance value corresponding to each function to the base substrate 1, a setting error is caused as in the case of using a conventional variable resistor. Therefore, there is no problem that an unintended function is selected. In particular, in the above embodiment, since the attachment substrate 21 can be easily attached and detached via the connectors 13 and 23, the function can be selected easily and reliably. In addition, since power is supplied to the attachment substrate 21 via the general-purpose output terminal 11 of the microprocessor 2, it is easy to supply power only when selecting a function, and avoid constant power consumption for function selection. Can do.

1…ベース基板
2…マイクロプロセッサ
6…入出力部
7…A/Dコンバータ
11…汎用出力端子
12…入力端子
13…コネクタ
21…アタッチメント基板
22…抵抗
23…コネクタ
DESCRIPTION OF SYMBOLS 1 ... Base board 2 ... Microprocessor 6 ... Input-output part 7 ... A / D converter 11 ... General-purpose output terminal 12 ... Input terminal 13 ... Connector 21 ... Attachment board 22 ... Resistance 23 ... Connector

Claims (6)

マイクロプロセッサが実装され、このマイクロプロセッサが、機能選択信号生成用の電源を供給する汎用出力端子を有するとともに、機能選択信号を識別するためのA/Dコンバータを有するベース基板と、
上記汎用出力端子および上記A/Dコンバータの入力端子に接続され、上記汎用出力端子から入力された電源から機能選択信号を生成して上記A/Dコンバータの入力端子に出力するアタッチメント基板と、
を備えてなるマイクロプロセッサの機能切換装置。
A base board having a general-purpose output terminal for supplying a power for generating a function selection signal and an A / D converter for identifying the function selection signal;
An attachment board connected to the general-purpose output terminal and the input terminal of the A / D converter, generating a function selection signal from the power source input from the general-purpose output terminal, and outputting the function selection signal to the input terminal of the A / D converter;
A function switching device for a microprocessor comprising:
上記アタッチメント基板は、複数の機能の中の一つに対応した固定抵抗値を有する抵抗基板からなる、ことを特徴とする請求項1に記載のマイクロプロセッサの機能切換装置。   2. The microprocessor function switching device according to claim 1, wherein the attachment board is formed of a resistance board having a fixed resistance value corresponding to one of a plurality of functions. 上記マイクロプロセッサは、上記固定抵抗値に対応して上記A/Dコンバータの入力端子に機能選択信号として入力された電圧のA/D変換値を、複数の機能の中の一つに対応づけるテーブルを備えている、ことを特徴とする請求項2に記載のマイクロプロセッサの機能切換装置。   The microprocessor is a table for associating an A / D conversion value of a voltage input as a function selection signal to an input terminal of the A / D converter corresponding to the fixed resistance value with one of a plurality of functions. The function switching device for a microprocessor according to claim 2, further comprising: 上記アタッチメント基板は、コネクタを介して上記ベース基板に着脱可能に取り付けられる、ことを特徴とする請求項1〜3のいずれかに記載のマイクロプロセッサの機能切換装置。   4. The microprocessor function switching device according to claim 1, wherein the attachment substrate is detachably attached to the base substrate via a connector. 機能選択時にのみ上記汎用出力端子から上記アタッチメント基板へ電源が供給される、ことを特徴とする請求項1〜4のいずれかに記載のマイクロプロセッサの機能切換装置。   5. The microprocessor function switching device according to claim 1, wherein power is supplied from the general-purpose output terminal to the attachment board only when a function is selected. A/Dコンバータを有するマイクロプロセッサが実装されたベース基板に、複数の機能の中の一つに対応した固定抵抗を備えたアタッチメント基板を選択的に接続し、
上記マイクロプロセッサの汎用出力端子から上記アタッチメント基板へ電源を供給し、
この電源の供給によって上記アタッチメント基板が出力する機能選択信号を上記A/DコンバータによってA/D変換し、
このA/D変換値を複数の機能の中の一つに対応づけて、機能の選択を行う、マイクロプロセッサの機能切換方法。
An attachment substrate having a fixed resistor corresponding to one of a plurality of functions is selectively connected to a base substrate on which a microprocessor having an A / D converter is mounted;
Supply power from the general-purpose output terminal of the microprocessor to the attachment board,
The function selection signal output from the attachment board by the power supply is A / D converted by the A / D converter,
A microprocessor function switching method for selecting a function by associating the A / D conversion value with one of a plurality of functions.
JP2016054562A 2016-03-17 2016-03-17 Function switching device and function switching method of microprocessor Pending JP2017167990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016054562A JP2017167990A (en) 2016-03-17 2016-03-17 Function switching device and function switching method of microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016054562A JP2017167990A (en) 2016-03-17 2016-03-17 Function switching device and function switching method of microprocessor

Publications (1)

Publication Number Publication Date
JP2017167990A true JP2017167990A (en) 2017-09-21

Family

ID=59913738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016054562A Pending JP2017167990A (en) 2016-03-17 2016-03-17 Function switching device and function switching method of microprocessor

Country Status (1)

Country Link
JP (1) JP2017167990A (en)

Similar Documents

Publication Publication Date Title
JP5502439B2 (en) Protective relay
US8607081B2 (en) Power control for PXI express controller
JP4944939B2 (en) Digital output circuit
JP2017167990A (en) Function switching device and function switching method of microprocessor
JP2009003915A (en) Conversion circuit
JP2015177223A (en) operation switch detection system
CN102736515A (en) Positioner
JP7281679B2 (en) Input/output circuit
JP3767625B2 (en) Control board
JP2011015539A (en) Display device
JP2020112955A (en) Load control switch
KR20150003380U (en) Smart switch
JP2008233393A (en) Piezoelectric buzzer control circuit and information processor
JP2014040205A (en) Circuit board for vehicle control
JP2014215781A (en) Teaching device
US20170168512A1 (en) Output voltage stabilizing circuit of power supply
JP2014008924A (en) Brake operation detection device
US10038440B2 (en) Electronic apparatus
WO2016090573A1 (en) Indicator circuit and apparatus using the same
JP2008252342A (en) Interface circuit
JP2006180186A (en) On/off detection circuit of plurality of switches
JP6766352B2 (en) Interface circuit
WO2014119075A1 (en) Controller
JP2021025693A (en) Heating cooker
CN104901667A (en) Two wire technology of electronic switching device and method of operation the switch gear