JP4288424B2 - Program writing system - Google Patents

Program writing system Download PDF

Info

Publication number
JP4288424B2
JP4288424B2 JP2005059157A JP2005059157A JP4288424B2 JP 4288424 B2 JP4288424 B2 JP 4288424B2 JP 2005059157 A JP2005059157 A JP 2005059157A JP 2005059157 A JP2005059157 A JP 2005059157A JP 4288424 B2 JP4288424 B2 JP 4288424B2
Authority
JP
Japan
Prior art keywords
program
voltage
power supply
terminal
supply circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2005059157A
Other languages
Japanese (ja)
Other versions
JP2006244157A (en
Inventor
正博 若林
徳夫 江藤
忠治 須永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Onkyo Corp
Original Assignee
Onkyo 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 Onkyo Corp filed Critical Onkyo Corp
Priority to JP2005059157A priority Critical patent/JP4288424B2/en
Publication of JP2006244157A publication Critical patent/JP2006244157A/en
Application granted granted Critical
Publication of JP4288424B2 publication Critical patent/JP4288424B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Power Sources (AREA)

Description

本発明は、電気機器のマイコンにプログラムを書き込むプログラム書込システムに関する。   The present invention relates to a program writing system for writing a program to a microcomputer of an electric device.

図3は、従来のプログラム書込システム300を示す概略回路図である。プログラム書込システム300は、プログラム送信装置302から送信されるプログラムのデータを、電気機器301内のマイクロコンピュータ(以下、マイコンとする)314に書き込む。プログラム書込時には、電気機器301は待機(スタンバイ)状態であるので、主電源回路312はオフ状態であり、待機電源回路311が入力電圧を整流および平滑してマイコン314に供給する。マイコン314は、待機電源回路311から供給された電圧によって、プログラム書込を実行する。   FIG. 3 is a schematic circuit diagram showing a conventional program writing system 300. The program writing system 300 writes program data transmitted from the program transmitting apparatus 302 into a microcomputer (hereinafter referred to as a microcomputer) 314 in the electric device 301. At the time of program writing, since the electric device 301 is in a standby (standby) state, the main power supply circuit 312 is in an off state, and the standby power supply circuit 311 rectifies and smoothes the input voltage and supplies it to the microcomputer 314. The microcomputer 314 executes program writing with the voltage supplied from the standby power supply circuit 311.

また、近年、電気機器の省電力化が要求され、マイコンにスタンバイ状態における消費電力を低減する低消費電力モードが設けられるようになっている。これに伴い、待機電源回路311はマイコン314が低消費電力モードで動作できる程度の電圧を供給すれば十分であるので、待機電源回路311のトランス317がかなり小型化されている。しかしながら、マイコン314へのプログラム書込時には、マイコン314に大きな電圧が必要であり、小型化されたトランス317を有する待機電源回路311では、プログラム書込時に必要な電圧をマイコン314に供給できないという問題が生じる。   In recent years, power saving of electric devices is required, and a low power consumption mode for reducing power consumption in a standby state is provided in a microcomputer. Accordingly, since it is sufficient for the standby power supply circuit 311 to supply a voltage that allows the microcomputer 314 to operate in the low power consumption mode, the transformer 317 of the standby power supply circuit 311 is considerably downsized. However, when writing a program to the microcomputer 314, a large voltage is required for the microcomputer 314, and the standby power supply circuit 311 having the miniaturized transformer 317 cannot supply a voltage necessary for writing the program to the microcomputer 314. Occurs.

この問題を解決するために、マイコン314へのプログラム書込時に、外部の電源回路を電気機器301に接続して、マイコン314に電圧を供給する方法が提案されている。しかし、この方法では、専用のコネクタを電気機器301内に設ける必要があり、コストが増加する。さらに、専用のコネクタを外部の電源回路に接続する必要があるので、作業工数が増加する。   In order to solve this problem, there has been proposed a method of supplying a voltage to the microcomputer 314 by connecting an external power supply circuit to the electric device 301 when writing a program to the microcomputer 314. However, in this method, it is necessary to provide a dedicated connector in the electric device 301, which increases the cost. Furthermore, since it is necessary to connect a dedicated connector to an external power supply circuit, the number of work steps increases.

また、プログラム書込時に、主電源回路312をオン状態にし、主電源回路312からの電圧をマイコン314に供給する方法が提案されている。この場合、電気機器301が待機状態であり、マイコン314が低消費電力モードであるので、マイコン314は、トランジスタ325をオン状態にし(リレースイッチ324Aをオン状態にし)主電源回路312をオン状態に制御するための信号を主電源制御端子bから出力することができない。すなわち、マイコン314は、格納されるプログラムに基づいて動作を実行するので、プログラム書込時は動作を実行できない。そのため、機械的なスイッチをトランジスタ325に並列に接続して、機械的なスイッチを作業者の手作業でオン状態にすることによって、(リレースイッチ324をオン状態にし、)主電源回路312をオン状態にし、主電源回路312からの電圧をマイコン314に供給する方法が提案されている。しかし、この方法では、機械的なスイッチを設ける必要がありコストが増加し、かつ、スイッチを手作業でオン状態にするので作業工数が増加するという問題がある。   Further, a method has been proposed in which the main power supply circuit 312 is turned on and a voltage from the main power supply circuit 312 is supplied to the microcomputer 314 during program writing. In this case, since the electric device 301 is in the standby state and the microcomputer 314 is in the low power consumption mode, the microcomputer 314 turns on the transistor 325 (turns on the relay switch 324A) and turns on the main power supply circuit 312. A signal for control cannot be output from the main power control terminal b. That is, since the microcomputer 314 performs an operation based on the stored program, the operation cannot be performed when the program is written. Therefore, the main power supply circuit 312 is turned on (with the relay switch 324 turned on) by connecting the mechanical switch in parallel to the transistor 325 and turning the mechanical switch on by the operator's manual operation. A method has been proposed in which the voltage from the main power supply circuit 312 is supplied to the microcomputer 314. However, this method has a problem that it is necessary to provide a mechanical switch, which increases the cost, and the number of work steps increases because the switch is manually turned on.

また、ショートピンを使って、トランジスタ325のコレクタ−エミッタ間を短絡することによって、主電源回路312をオン状態にし、主電源回路からの電圧をマイコンに供給する方法が提案されている。この方法では、工数が増加すると共に、プログラム書込終了後にショートピンが取り除かれずに、誤って電気機器内に残ってしまう可能性がある。   In addition, a method has been proposed in which the main power supply circuit 312 is turned on by short-circuiting the collector-emitter of the transistor 325 using a short pin, and the voltage from the main power supply circuit is supplied to the microcomputer. In this method, man-hours increase, and the short pin may not be removed after the program writing is completed, and may remain in the electric device by mistake.

特開平8−203288号公報JP-A-8-203288

本発明は上記従来の課題を解決するためになされたものであり、その目的は、作業者の工数を増加させることなく、プログラム書込時に主電源回路をオン状態にし、主電源回路からの電圧をマイコンに供給するプログラム書込システムを提供することである。   SUMMARY OF THE INVENTION The present invention has been made to solve the above-described conventional problems. The object of the present invention is to turn on the main power supply circuit at the time of program writing without increasing the man-hours of the operator, and to reduce the voltage from the main power supply circuit. Is to provide a program writing system for supplying a microcomputer to a microcomputer.

本発明の好ましい実施形態によるプログラム書込システムは、電気機器と、該電気機器にプログラムを送信するプログラム送信装置と、該電気機器と該プログラム送信装置との間に接続される書込治具とを備える。該電気機器は、プログラムを書き換え可能な制御手段と、入力電圧が与えられ主回路および該制御手段に電圧を供給する主電源回路と、入力電圧が与えられ該制御手段に電圧を供給する待機電源回路と、スイッチをオフ状態にすることにより該主電源回路をオフ状態にし、該スイッチをオン状態にすることにより該主電源回路をオン状態にする切換手段と、該書込治具と接続される第1の接続手段とを有する。該書込治具は、該第1の接続手段と接続される第2の接続手段を有する。該プログラム書込システムは、該第1の接続手段と該第2の接続手段とが接続された際に、該待機電源回路からの電圧を該切換手段に供給して、該スイッチをオン状態にする主電源制御手段をさらに備える。   A program writing system according to a preferred embodiment of the present invention includes an electric device, a program transmission device that transmits a program to the electric device, and a writing jig connected between the electric device and the program transmission device. Is provided. The electric device includes a control unit capable of rewriting a program, a main circuit supplied with an input voltage and a main power supply circuit supplying the voltage to the control unit, and a standby power source supplying a voltage to the control unit supplied with the input voltage A circuit, switching means for turning off the main power supply circuit by turning off the switch and turning on the main power supply circuit by turning on the switch, and the writing jig. First connecting means. The writing jig has second connection means connected to the first connection means. When the first connection means and the second connection means are connected, the program writing system supplies a voltage from the standby power supply circuit to the switching means to turn on the switch. And a main power control means.

電気機器を書込治具に接続する(第1の接続手段を第2の接続手段に接続する)と、待機電源回路から電圧が切換手段に供給され、切換手段のスイッチ(例えば、リレースイッチ)がオン状態になる。スイッチがオン状態になると主電源回路がオン状態になるので、主電源回路からの電圧を制御手段に供給できるようになる。制御手段は主電源回路からの電圧を受けてプログラムの書き込みを実行する。プログラム書込作業時に、書込治具はプログラム送信装置に常時接続されている状態であるので、作業者は、単に電気機器を書込治具に接続するだけで、主電源回路をオン状態にすることができる。つまり、書込治具を介して接続するだけであるので、図3の場合に比べて作業工数は増加しない。従って、作業工数を増加させることなく、プログラム書込時に主電源回路をオン状態にすることができる。さらに、主電源回路をオン状態にするために電気機器内に機械的なスイッチまたはショートピンを使用しないので、作業者が機械的なスイッチをオフにするのを忘れたり、ショートピンを取り除くことを忘れたりするという問題が生じない。さらに機械的なスイッチを電気機器内に設ける必要がないので、コストが増加しない。さらに、主電源回路をオン状態にするために外部電源回路を使用しないので、専用コネクタを設ける必要がない。従って、コストが増加せず、作業工数が増加しない。   When the electrical device is connected to the writing jig (the first connecting means is connected to the second connecting means), a voltage is supplied from the standby power supply circuit to the switching means, and the switch of the switching means (for example, a relay switch) Turns on. When the switch is turned on, the main power supply circuit is turned on, so that the voltage from the main power supply circuit can be supplied to the control means. The control means receives the voltage from the main power supply circuit and executes program writing. Since the writing jig is always connected to the program transmission device during the program writing operation, the operator simply turns on the main power supply circuit by simply connecting an electrical device to the writing jig. can do. That is, since it is only connected via the writing jig, the number of work steps does not increase compared to the case of FIG. Therefore, the main power supply circuit can be turned on at the time of program writing without increasing the number of work steps. In addition, no mechanical switch or short pin is used in the electrical equipment to turn on the main power circuit, so the operator forgets to turn off the mechanical switch or removes the short pin. There is no problem of forgetting. Furthermore, since it is not necessary to provide a mechanical switch in the electric device, the cost does not increase. Furthermore, since no external power supply circuit is used to turn on the main power supply circuit, there is no need to provide a dedicated connector. Therefore, the cost does not increase and the number of work steps does not increase.

好ましい実施形態においては、上記切換手段は上記スイッチをオンオフ制御するトランジスタを含む。上記主電源制御手段は、上記第1の接続手段が含む第1の電圧供給端子と第1の切換制御端子、および、上記第2の接続手段が含む第2の電圧供給端子と第2の切換制御端子を有する。該第1の電圧供給端子は、上記待機電源回路および上記主電源回路の出力に接続され、該第1の切換制御端子は該トランジスタの制御電極に接続され、該第2の電圧供給端子は該第2切換制御端子に接続されている。該主電源制御手段は、該第1の電圧供給端子と該第2の電圧供給端子とを接続し、かつ、該第1の切換制御端子と該第2の切換制御端子とを接続することにより、該待機電源回路からの電圧を該切換手段に供給する。   In a preferred embodiment, the switching means includes a transistor for controlling on / off of the switch. The main power supply control means includes a first voltage supply terminal and a first switching control terminal included in the first connection means, and a second voltage supply terminal and a second switch included in the second connection means. It has a control terminal. The first voltage supply terminal is connected to outputs of the standby power supply circuit and the main power supply circuit, the first switching control terminal is connected to a control electrode of the transistor, and the second voltage supply terminal is The second switching control terminal is connected. The main power supply control means connects the first voltage supply terminal and the second voltage supply terminal, and connects the first switch control terminal and the second switch control terminal. The voltage from the standby power supply circuit is supplied to the switching means.

第1の電圧供給端子と第2の電圧供給端子とを接続し、かつ、第1の切換制御端子と第2の切換制御端子とを接続することにより、第1の電圧供給端子と第1の切換制御端子とが短絡される。第1の電圧供給端子は待機電源回路の出力に接続され、第1の切換制御端子はトランジスタの制御電極に接続されているので、トランジスタの制御電極に待機電源回路からの電圧が供給される。トランジスタは、制御電極に電圧が供給されるとオン状態になり、スイッチ(リレースイッチ)がオン状態になり、主電源回路をオン状態にすることができる。従って、第1の接続手段と第2の接続手段とを接続することにより、主電源回路をオン状態にすることができる。   By connecting the first voltage supply terminal and the second voltage supply terminal and connecting the first switch control terminal and the second switch control terminal, the first voltage supply terminal and the first voltage supply terminal are connected to each other. The switching control terminal is short-circuited. Since the first voltage supply terminal is connected to the output of the standby power supply circuit and the first switching control terminal is connected to the control electrode of the transistor, the voltage from the standby power supply circuit is supplied to the control electrode of the transistor. When a voltage is supplied to the control electrode, the transistor is turned on, the switch (relay switch) is turned on, and the main power supply circuit can be turned on. Therefore, the main power supply circuit can be turned on by connecting the first connecting means and the second connecting means.

好ましい実施形態においては、上記書込治具は、上記プログラム送信装置に接続される第3の接続手段をさらに有し、上記プログラム送信装置は、該第3の接続手段に接続される第4の接続手段を有する。   In a preferred embodiment, the writing jig further includes third connection means connected to the program transmission device, and the program transmission device includes a fourth connection means connected to the third connection means. It has a connection means.

書込治具が第3の接続手段を有し、プログラム送信装置が第4の接続手段を有するので、書込治具は、必要に応じて(プログラムを書き込む電気機器に対応して)、プログラム送信装置に接続したり、取り外したりすることができる。従って、待機電源回路からの電圧のみで制御手段にプログラムを書き込める電気機器の場合は、書込治具をプログラム送信装置から取り外し、電気機器をプログラム送信装置に直接接続する。これにより、主電源回路をオフの状態で制御手段にプログラムを書き込むことができる。従って、待機電源回路からの電圧でマイコンへのプログラム書込を実行できる場合、主電源回路をオン状態にしないので、無駄な電力消費を低減できる。   Since the writing jig has the third connecting means, and the program transmitting apparatus has the fourth connecting means, the writing jig can be programmed as needed (corresponding to the electric device for writing the program). Can be connected to or disconnected from the transmitter. Therefore, in the case of an electric device that can write a program to the control means only with a voltage from the standby power supply circuit, the writing jig is removed from the program transmission device, and the electric device is directly connected to the program transmission device. Thereby, the program can be written in the control means with the main power supply circuit turned off. Accordingly, when the program can be written into the microcomputer with the voltage from the standby power supply circuit, the main power supply circuit is not turned on, so that useless power consumption can be reduced.

本発明の別の局面においてはプログラム書込可能な電気機器が提供され得る。この電気機器は、プログラムを送信するプログラム送信装置に接続される書込治具に接続可能な第1の接続手段と、プログラムを書き換え可能な制御手段と、入力電圧が与えられ主回路および該制御手段に電圧を供給する主電源回路と、入力電圧が与えられ該制御手段に電圧を供給する待機電源回路と、スイッチと該スイッチをオンオフ制御するトランジスタとを含み、該スイッチをオフ状態にすることにより該主電源回路をオフ状態にし、該スイッチをオン状態にすることにより該主電源回路をオン状態にする切換手段とを有する。該第1の接続手段は、該待機電源回路および該主電源回路の出力に接続された第1の電圧供給端子、および、該トランジスタの制御電極に接続された第2の切換制御端子を含む。該電気機器は、該第1の接続手段が該書込治具に接続された際に、該電圧供給端子と該切換制御端子とが短絡され、該待機電源回路からの電圧を該トランジスタの制御電極に供給することにより、該スイッチをオン状態にする。   In another aspect of the present invention, a programmable electric device can be provided. The electrical apparatus includes a first connection means connectable to a writing jig connected to a program transmission device for transmitting a program, a control means capable of rewriting the program, a main circuit supplied with an input voltage, and the control Including a main power supply circuit for supplying voltage to the means, a standby power supply circuit for supplying input voltage to the control means, a switch and a transistor for controlling on / off of the switch, and turning off the switch Switching means for turning off the main power supply circuit and turning on the switch to turn on the main power supply circuit. The first connection means includes a first voltage supply terminal connected to the outputs of the standby power supply circuit and the main power supply circuit, and a second switching control terminal connected to the control electrode of the transistor. When the first connecting means is connected to the writing jig, the electrical apparatus is configured such that the voltage supply terminal and the switching control terminal are short-circuited, and the voltage from the standby power supply circuit is controlled by the transistor. By supplying the electrode, the switch is turned on.

プログラム書込時に、第1の接続手段と第2の接続手段とを接続することにより、待機電源回路からの電圧を切換手段に供給し、主電源回路をオン状態にすることができる。従って、待機電源回路からはマイコンにプログラムを書き込むための電圧を供給できない場合に、主電源回路を自動的にオン状態にし主電源回路からの電圧でプログラムを書き込むことができる。   By connecting the first connecting means and the second connecting means at the time of program writing, the voltage from the standby power supply circuit can be supplied to the switching means and the main power supply circuit can be turned on. Therefore, when the standby power supply circuit cannot supply the voltage for writing the program to the microcomputer, the main power supply circuit can be automatically turned on and the program can be written with the voltage from the main power supply circuit.

以下、本発明の好ましい実施形態について、図面を参照して具体的に説明するが、本発明はこれらの実施形態には限定されない。図1は、本発明の好ましい実施形態によるプログラム書込システム100を説明するための概略回路図である。プログラム書込システム100は、電気機器1と、電気機器1にプログラムを送信するプログラム送信装置2と、書込治具3とを備える。書込治具3はプログラム送信装置2に接続されており、プログラム書込時に、電気機器1が書込治具3に接続されることによって、電気機器1内の主電源回路12をオン状態にすることができる。   Hereinafter, preferred embodiments of the present invention will be specifically described with reference to the drawings. However, the present invention is not limited to these embodiments. FIG. 1 is a schematic circuit diagram for explaining a program writing system 100 according to a preferred embodiment of the present invention. The program writing system 100 includes an electric device 1, a program transmission device 2 that transmits a program to the electric device 1, and a writing jig 3. The writing jig 3 is connected to the program transmission device 2, and the main power supply circuit 12 in the electric equipment 1 is turned on by connecting the electric equipment 1 to the writing jig 3 at the time of program writing. can do.

電気機器1は、待機電源回路11、主電源回路12、マイコン用電源回路13、制御手段14、切換手段15および第1の接続手段16を備える。   The electrical device 1 includes a standby power supply circuit 11, a main power supply circuit 12, a microcomputer power supply circuit 13, a control means 14, a switching means 15, and a first connection means 16.

待機電源回路11は、主に待機状態(主電源回路12がオフ状態で、待機電源回路11がオン状態)の時に、制御手段(例えばマイコン)14および/または図示しないマイコン14の周辺回路(例えば、リモコン信号受信回路および表示回路等)に電圧を供給する回路である。待機電源回路11は、トランス17および整流回路18を備えている。トランス17は、その一次側巻線が商用交流電源に接続され(入力交流電圧が与えられ)、一次巻線と二次巻線との巻数比に基づいて入力交流電圧を所定の電圧に変換して整流回路18に与える。整流回路18は、トランス17からの電圧を整流および平滑して直流電圧を生成する。整流回路18は、全波整流回路D1、コンデンサC1および抵抗R1を含む。   The standby power supply circuit 11 mainly controls the control means (for example, a microcomputer) 14 and / or a peripheral circuit (for example, a microcomputer 14 not shown) when the standby power supply circuit 12 is in an off state and the standby power supply circuit 11 is in an on state. , A remote control signal receiving circuit, a display circuit, and the like). The standby power supply circuit 11 includes a transformer 17 and a rectifier circuit 18. The transformer 17 has a primary winding connected to a commercial AC power supply (applied with an input AC voltage), and converts the input AC voltage into a predetermined voltage based on the turn ratio between the primary winding and the secondary winding. To the rectifier circuit 18. The rectifier circuit 18 rectifies and smoothes the voltage from the transformer 17 to generate a DC voltage. The rectifier circuit 18 includes a full-wave rectifier circuit D1, a capacitor C1, and a resistor R1.

主電源回路12は、図示しない主回路(電源供給先の回路であり例えばアンプ回路等)およびマイコン14に電圧を供給する回路である。主電源回路12は、トランス19および整流回路20を備えている。トランス19は、商用交流電源に接続され(入力交流電圧が与えられ)、一次巻線と二次巻線との巻数比に基づいて、入力交流電圧を所定の電圧に変換して整流回路20に与える。整流回路20は、トランス19からの電圧を整流および平滑して、直流電圧を生成する。整流回路20は、全波整流回路D2およびコンデンサC2を含む。   The main power supply circuit 12 is a circuit that supplies a voltage to a main circuit (a power supply destination circuit, such as an amplifier circuit) (not shown) and the microcomputer 14. The main power supply circuit 12 includes a transformer 19 and a rectifier circuit 20. The transformer 19 is connected to a commercial AC power source (given an input AC voltage), converts the input AC voltage into a predetermined voltage based on the turns ratio of the primary winding and the secondary winding, and supplies the rectifier circuit 20 with the input AC voltage. give. The rectifier circuit 20 rectifies and smoothes the voltage from the transformer 19 to generate a DC voltage. Rectifier circuit 20 includes a full-wave rectifier circuit D2 and a capacitor C2.

マイコン用電源回路13は、待機電源回路11および/または主電源回路12からの電圧を受けて、マイコン14に電圧を与える回路である。マイコン用電源回路13は、逆電流防止用のダイオードD3、D4、コンデンサC3および安定化回路21を備える。コンデンサC3にはマイコン14に与えるための電圧が充電される。待機時には待機電源回路11のみからコンデンサC3に電圧が充電され、通常動作時(主電源回路3がオン状態の時)には待機電源回路11および主電源回路12からコンデンサC3に電圧が充電される。安定化回路21は、コンデンサC3からの電圧が与えられ、マイコン14の動作に必要な安定化直流電圧を生成する。安定化回路21の出力端は、マイコン14の電圧入力端子aに接続されている。   The microcomputer power supply circuit 13 is a circuit that receives a voltage from the standby power supply circuit 11 and / or the main power supply circuit 12 and applies a voltage to the microcomputer 14. The microcomputer power supply circuit 13 includes diodes D3 and D4 for preventing reverse current, a capacitor C3, and a stabilization circuit 21. The capacitor C3 is charged with a voltage to be supplied to the microcomputer 14. During standby, the voltage is charged in the capacitor C3 only from the standby power supply circuit 11, and during normal operation (when the main power supply circuit 3 is on), the voltage is charged from the standby power supply circuit 11 and the main power supply circuit 12 to the capacitor C3. . The stabilization circuit 21 is supplied with a voltage from the capacitor C3 and generates a stabilized DC voltage necessary for the operation of the microcomputer 14. The output terminal of the stabilization circuit 21 is connected to the voltage input terminal a of the microcomputer 14.

制御手段14は、待機電源回路11および/または主電源回路12から電圧が供給され、電気機器1全体を制御するものであり、代表的にはマイコン(micro computer)が採用され得る。マイコン14は、CPU(中央演算処理装置)22、フラッシュEEPROM23、電圧入力端子a、主電源制御端子b、および一または複数のプログラム書込端子cを有する。CPU22は、EEPROM23に格納されたプログラムを実行することにより電気機器1の各部(主回路、待機電源回路11および主電源回路12等)を制御する。EEPROM23は、書込治具3を介してプログラム送信装置2から送信されたプログラムを格納する。電圧入力端子aは、マイコン用電源回路13からマイコン14を動作するために必要な電圧が与えられる端子である。主電源制御端子bは、主電源回路12のオン状態/オフ状態を制御するための(すなわち、後述のリレースイッチ24Aをオン/オフするための)信号を出力する端子である。プログラム書込端子cは、EEPROM23に書き込むプログラムが供給される端子である。   The control means 14 is supplied with a voltage from the standby power supply circuit 11 and / or the main power supply circuit 12 and controls the entire electric device 1. Typically, a microcomputer can be employed. The microcomputer 14 has a CPU (central processing unit) 22, a flash EEPROM 23, a voltage input terminal a, a main power supply control terminal b, and one or more program write terminals c. The CPU 22 controls each part (main circuit, standby power supply circuit 11, main power supply circuit 12, etc.) of the electric device 1 by executing a program stored in the EEPROM 23. The EEPROM 23 stores a program transmitted from the program transmission device 2 via the writing jig 3. The voltage input terminal a is a terminal to which a voltage necessary for operating the microcomputer 14 from the microcomputer power supply circuit 13 is applied. The main power supply control terminal b is a terminal that outputs a signal for controlling the on / off state of the main power supply circuit 12 (that is, for turning on / off a relay switch 24A described later). The program write terminal c is a terminal to which a program to be written in the EEPROM 23 is supplied.

切換手段15は、主電源回路12のオン状態およびオフ状態を切り換えるものである。切換手段15は、代表的には、リレー回路24およびリレードライブ用のトランジスタ25を有する。リレー回路24は、リレースイッチ24Aおよび巻線24Bを含む。リレースイッチ24Aは、商用交流電源とトランス19との間に接続される。主電源回路12はリレースイッチ24Aの後段に接続され、待機電源回路11はリレースイッチ24Aの前段に接続されているので、リレースイッチ24Aをオフ状態にすると、主電源回路12のみがオフ状態になる。巻線24Bの一端は整流回路18の出力端に接続され、他端はトランジスタ25のコレクタに接続されている。トランジスタ25は、ベースに与えられる電圧に基づいて、リレー回路24をオン/オフ制御する素子である。トランジスタ25は、ベース(制御電極)が抵抗R2を介してマイコン14の主電源制御端子bおよび後述する第1の切換制御端子16Bに接続され、エミッタが接地電位GNDに接続されている。   The switching means 15 switches the on state and the off state of the main power supply circuit 12. The switching means 15 typically includes a relay circuit 24 and a relay drive transistor 25. Relay circuit 24 includes a relay switch 24A and a winding 24B. The relay switch 24 </ b> A is connected between the commercial AC power supply and the transformer 19. Since the main power supply circuit 12 is connected to the subsequent stage of the relay switch 24A and the standby power supply circuit 11 is connected to the previous stage of the relay switch 24A, when the relay switch 24A is turned off, only the main power supply circuit 12 is turned off. . One end of the winding 24 </ b> B is connected to the output end of the rectifier circuit 18, and the other end is connected to the collector of the transistor 25. The transistor 25 is an element that controls ON / OFF of the relay circuit 24 based on a voltage applied to the base. The transistor 25 has a base (control electrode) connected to a main power supply control terminal b of the microcomputer 14 and a first switching control terminal 16B described later via a resistor R2, and an emitter connected to the ground potential GND.

第1の接続手段16は、書込治具3(後述する第2の接続手段26)に接続され、書込治具3を介してプログラム送信装置2からプログラムのデータが供給される。さらに、第1の接続手段16は、書込治具3を介してプログラム送信装置2に電圧を供給する。第1の接続手段16は、代表的にはコネクタであり、第1の電圧供給端子16Aおよび第1の切換制御端子16Bを少なくとも含む。第1の接続手段16は、さらに、一または複数のプログラム入力端子16C、および接地端子16Dを含む。第1の電圧供給端子16Aは、安定化回路21の出力端に接続され(すなわち、待機電源回路11および主電源回路12の出力端に接続され)、プログラム書込時にマイコン14へ供給される電圧を、プログラム送信装置2にも供給する端子である。第1の切換制御端子16Bは、抵抗R2を介してトランジスタ25のべースに接続されており、待機電源回路11からの電圧をトランジスタ25のベースに供給することにより、リレー回路24をオン/オフ制御する端子である。プログラム書込端子16Cは、プログラムのデータが供給される端子であり、プログラムの内容に応じて任意のものが設けられる。接地端子16Dは、電気機器1の接地電位GNDに接続される端子である。   The first connecting means 16 is connected to the writing jig 3 (second connecting means 26 described later), and program data is supplied from the program transmitting device 2 via the writing jig 3. Further, the first connection means 16 supplies a voltage to the program transmission device 2 via the writing jig 3. The first connecting means 16 is typically a connector and includes at least a first voltage supply terminal 16A and a first switching control terminal 16B. The first connection means 16 further includes one or a plurality of program input terminals 16C and a ground terminal 16D. The first voltage supply terminal 16A is connected to the output terminal of the stabilization circuit 21 (that is, connected to the output terminals of the standby power supply circuit 11 and the main power supply circuit 12), and is supplied to the microcomputer 14 during program writing. Is also a terminal for supplying to the program transmission device 2. The first switching control terminal 16B is connected to the base of the transistor 25 via the resistor R2. By supplying the voltage from the standby power supply circuit 11 to the base of the transistor 25, the relay circuit 24 is turned on / off. This is the terminal to turn off. The program write terminal 16C is a terminal to which program data is supplied, and an arbitrary one is provided according to the contents of the program. The ground terminal 16D is a terminal connected to the ground potential GND of the electric device 1.

書込治具3は、電気機器1からの電圧をプログラム送信装置2に供給し、かつ、プログラム送信装置2からのプログラムデータを電気機器1に供給する。書込治具3は、第2の接続手段26および第3の接続手段27を有する。第2の接続手段26は、プログラム書込時に、第1の接続手段16に接続される。第2の接続手段26は、第1の接続手段16から電圧が入力され、かつ、第1の接続手段16にプログラムのデータを出力する。第2の接続手段26は、代表的にはコネクタであり、第1の接続手段16の各端子16A〜16Dに対応する端子を含む。つまり、第2の接続手段26は、第2の電圧供給端子26Aおよび第2の切換制御端子26Bを少なくとも含む(詳細は、主電源制御手段として後述する)。第2の接続手段26は、さらに、一または複数のプログラム出力端子26Cおよび接地端子26Dを含む。プログラム書込時に、プログラム出力端子26Cはプログラム入力端子16Cに接続され、接地端子26Dは接地端子16Dにそれぞれ接続される。   The writing jig 3 supplies the voltage from the electric device 1 to the program transmission device 2 and supplies the program data from the program transmission device 2 to the electric device 1. The writing jig 3 has second connection means 26 and third connection means 27. The second connection means 26 is connected to the first connection means 16 at the time of program writing. The second connecting means 26 receives the voltage from the first connecting means 16 and outputs program data to the first connecting means 16. The second connection means 26 is typically a connector and includes terminals corresponding to the terminals 16A to 16D of the first connection means 16. That is, the second connection means 26 includes at least a second voltage supply terminal 26A and a second switching control terminal 26B (details will be described later as main power supply control means). The second connection means 26 further includes one or a plurality of program output terminals 26C and a ground terminal 26D. At the time of program writing, the program output terminal 26C is connected to the program input terminal 16C, and the ground terminal 26D is connected to the ground terminal 16D.

第3の接続手段27は、プログラム書込時にプログラム送信装置2に接続されている。第3の接続手段27は、プログラム送信装置2からプログラムのデータが入力され、第2の接続手段26に出力する。さらに、第3の接続手段27は、第2の接続手段26からの電圧をプログラム送信装置2に出力する。第3の接続手段27は、代表的にはコネクタであり、第3の電圧供給端子27A、一または複数のプログラム入力端子27Cおよび接地端子27Dを含む。第3の電圧供給端子27Aは第2の電圧供給端子26Aに、プログラム入力端子27Cはプログラム出力端子26Cに、接地端子27Dは接地端子26Dにそれぞれ書込治具3内で接続されている。   The third connecting means 27 is connected to the program transmitting device 2 at the time of program writing. The third connection unit 27 receives the program data from the program transmission device 2 and outputs the program data to the second connection unit 26. Further, the third connection unit 27 outputs the voltage from the second connection unit 26 to the program transmission device 2. The third connection means 27 is typically a connector, and includes a third voltage supply terminal 27A, one or more program input terminals 27C, and a ground terminal 27D. The third voltage supply terminal 27A is connected to the second voltage supply terminal 26A, the program input terminal 27C is connected to the program output terminal 26C, and the ground terminal 27D is connected to the ground terminal 26D in the writing jig 3.

電気機器1および書込治具3は、主電源制御手段を有する。主電源制御手段は、マイコン14(主電源制御端子b)からの信号を使用せずに、切換手段15のリレースイッチ24Aをオン状態にする。つまり、主電源制御手段は、第1の接続手段16と第2の接続手段26とが接続された際に、待機電源回路11からの電圧を切換手段15に供給して、リレースイッチ24Aをオン状態にすることにより、主電源回路12をオン状態に制御する。主電源制御手段は、第1の電圧供給端子16A、第1の切換制御端子16B、第2の電圧供給端子26Aおよび第2の切換制御端子26Bを含む。第2の電圧供給端子26Aと第2の切換制御端子26Bとは書込治具3内部で接続されている。従って、プログラム書込時に、第1の電圧供給端子16Aと第2の電圧供給端子26Aとを接続し、第1の切換制御端子16Bと第2の切換制御端子26Bとを接続することにより、第1の電圧供給端子16Aと第1の切換制御端子16Bとが短絡される。すなわち、安定化回路21(待機電源回路11)の出力とトランジスタ25のベースとが短絡される。従って、待機電源回路11からの電圧がトランジスタ25のベースに供給されることになる。   The electric device 1 and the writing jig 3 have main power control means. The main power supply control means turns on the relay switch 24A of the switching means 15 without using the signal from the microcomputer 14 (main power supply control terminal b). That is, the main power supply control means supplies the voltage from the standby power supply circuit 11 to the switching means 15 when the first connection means 16 and the second connection means 26 are connected, and turns on the relay switch 24A. By setting the state, the main power supply circuit 12 is controlled to be turned on. The main power supply control means includes a first voltage supply terminal 16A, a first switching control terminal 16B, a second voltage supply terminal 26A, and a second switching control terminal 26B. The second voltage supply terminal 26A and the second switching control terminal 26B are connected inside the writing jig 3. Therefore, when the program is written, the first voltage supply terminal 16A and the second voltage supply terminal 26A are connected, and the first switch control terminal 16B and the second switch control terminal 26B are connected, thereby One voltage supply terminal 16A and the first switching control terminal 16B are short-circuited. That is, the output of the stabilization circuit 21 (standby power supply circuit 11) and the base of the transistor 25 are short-circuited. Accordingly, the voltage from the standby power supply circuit 11 is supplied to the base of the transistor 25.

プログラム送信装置2は、マイコン29のRAM31内に格納されているプログラムのデータを、書込治具3を介して電気機器1に送信するものであり、一般的にフラッシュライターと呼ばれている。プログラム送信装置2は、第4の接続手段28を有する。第4の接続手段28は、プログラム書込時に、第3の接続手段27に接続されている。第4の接続手段28は第3の接続手段27から電圧が入力され、第3の接続手段27にプログラムのデータを出力する。第4の接続手段28は、代表的にはコネクタであり、第3の接続手段27の各端子27A、27C、27Dに対応する端子を含む。つまり、第4の接続手段28は、第4の電圧入力端子28A、一または複数のプログラム出力端子28Cおよび接地端子28Dを含む。第4の電圧供給端子28Aは第3の電圧供給端子27Aに接続され、プログラム出力端子28Cはプログラム入力端子27Cに接続され、接地端子28Dは接地端子27Dにそれぞれ接続される。操作部32は、プログラムのデータを送信開始する指示を作業者が入力するためのものであり、操作ボタン等である。マイコン29内のCPU30は、プログラム書込時に、プログラム出力端子28Cを介して電気機器1のCPU22と通信する。   The program transmission device 2 transmits program data stored in the RAM 31 of the microcomputer 29 to the electric device 1 through the writing jig 3 and is generally called a flash writer. The program transmission device 2 includes fourth connection means 28. The fourth connection means 28 is connected to the third connection means 27 at the time of program writing. The fourth connection means 28 receives a voltage from the third connection means 27 and outputs program data to the third connection means 27. The fourth connecting means 28 is typically a connector, and includes terminals corresponding to the terminals 27A, 27C, 27D of the third connecting means 27. That is, the fourth connection means 28 includes a fourth voltage input terminal 28A, one or more program output terminals 28C, and a ground terminal 28D. The fourth voltage supply terminal 28A is connected to the third voltage supply terminal 27A, the program output terminal 28C is connected to the program input terminal 27C, and the ground terminal 28D is connected to the ground terminal 27D. The operation unit 32 is for an operator to input an instruction to start transmission of program data, and is an operation button or the like. The CPU 30 in the microcomputer 29 communicates with the CPU 22 of the electric device 1 via the program output terminal 28C at the time of program writing.

以上の構成を有するプログラム書込システム100についてその動作を説明する。プログラム書込時には、書込治具3はプログラム送信装置2に接続された状態である。そのため、作業者は、待機状態にある電気機器1を書込治具3に接続したあと、プログラム送信装置2の操作部32を操作することによって、電気機器1のEEPROM23にプログラムを書き込むことができる。   The operation of the program writing system 100 having the above configuration will be described. At the time of program writing, the writing jig 3 is connected to the program transmitting device 2. Therefore, the operator can write the program in the EEPROM 23 of the electrical device 1 by operating the operation unit 32 of the program transmission device 2 after connecting the electrical device 1 in the standby state to the writing jig 3. .

電気機器1を書込治具3に接続する前は、リレースイッチ24Aがオフ状態であり、主電源回路12はオフ状態である。ここで、第1の電圧供給端子16Aを第2の電圧供給端子26Aに接続し、第1の切換制御端子16Bを第2の切換制御端子26Bに接続する(プログラム入力端子16Cをプログラム出力端子26Cに接続し、接地端子16Dを接地端子26Dに接続する)。第2の電圧供給端子26Aと第2の切換制御端子26Bとは書込治具3内で接続されているので、第1の電圧供給端子16Aと第1の切換制御端子16Bとが短絡される。そのため、待機電源回路11の出力は、ダイオードD4、安定化回路21、第1の電圧供給端子16A、第2の電圧供給端子26A、第2の切換制御端子26B、第1の切換制御端子16Bおよび抵抗R2を介してトランジスタ25のベースに接続される。従って、待機電源回路11からの電圧がトランジスタ25のべースに供給される。トランジスタ25は、ベースに待機電源回路11からの電圧が供給されると、ベース−エミッタ間電圧がトランジスタ25の導通開始電圧以上になり、オン状態になる。トランジスタ25がオン状態になると、待機電源回路11からリレー回路24の巻き線24Bおよびトランジスタ25を介して接地電位GNDに電流が流れ、リレースイッチ24Aがオン状態になる。それにより、主電源回路12はオン状態になり、安定化回路21を介してマイコン14に電圧を供給するようになる。従って、待機状態である電気機器1が書込治具3に接続されることにより、自動的に主電源回路12をオン状態にし、マイコン14はプログラム書込を実行するために必要な電圧を得ることができる。   Before the electrical device 1 is connected to the writing jig 3, the relay switch 24A is in an off state, and the main power supply circuit 12 is in an off state. Here, the first voltage supply terminal 16A is connected to the second voltage supply terminal 26A, and the first switching control terminal 16B is connected to the second switching control terminal 26B (the program input terminal 16C is connected to the program output terminal 26C). And the ground terminal 16D is connected to the ground terminal 26D). Since the second voltage supply terminal 26A and the second switching control terminal 26B are connected in the writing jig 3, the first voltage supply terminal 16A and the first switching control terminal 16B are short-circuited. . Therefore, the output of the standby power supply circuit 11 includes the diode D4, the stabilization circuit 21, the first voltage supply terminal 16A, the second voltage supply terminal 26A, the second switching control terminal 26B, the first switching control terminal 16B, and The resistor R2 is connected to the base of the transistor 25. Accordingly, the voltage from the standby power supply circuit 11 is supplied to the base of the transistor 25. When the voltage from the standby power supply circuit 11 is supplied to the base of the transistor 25, the base-emitter voltage becomes equal to or higher than the conduction start voltage of the transistor 25 and is turned on. When the transistor 25 is turned on, a current flows from the standby power supply circuit 11 to the ground potential GND through the winding 24B of the relay circuit 24 and the transistor 25, and the relay switch 24A is turned on. As a result, the main power supply circuit 12 is turned on, and a voltage is supplied to the microcomputer 14 via the stabilization circuit 21. Accordingly, when the electric device 1 in the standby state is connected to the writing jig 3, the main power supply circuit 12 is automatically turned on, and the microcomputer 14 obtains a voltage necessary for executing the program writing. be able to.

主電源回路12および待機電源回路11からの電圧は、さらに、第1の電圧供給端子16A、第2の電圧供給端子26A、第3の電圧供給端子27Aおよび第4の電圧供給端子28Aを介して、プログラム送信装置2に供給される。プログラム送信装置2は、当該電圧によって動作され、プログラム出力端子28Cからプログラムのデータを出力する。このプログラムデータは、プログラム入力端子27C,プログラム出力端子26Cおよびプログラム入力端子16Cを介して、マイコン14のプログラム書込端子cに供給され、EEPROM23内に書き込まれる。   The voltages from the main power supply circuit 12 and the standby power supply circuit 11 are further passed through the first voltage supply terminal 16A, the second voltage supply terminal 26A, the third voltage supply terminal 27A, and the fourth voltage supply terminal 28A. , And supplied to the program transmission device 2. The program transmission device 2 is operated by the voltage and outputs program data from the program output terminal 28C. The program data is supplied to the program write terminal c of the microcomputer 14 via the program input terminal 27C, the program output terminal 26C, and the program input terminal 16C, and is written in the EEPROM 23.

なお、電気機器1が書込治具3に接続されている間、トランジスタ25のベースには切換制御端子16Bを介して電圧が与えられるので、主電源回路12はオン状態を維持する。一方、電気機器1を書込治具3から取り外すと、トランジスタ25のベースに電圧が供給されなくなるので、リレー回路24の巻き線24Bに流れる電流が遮断される。その結果、リレースイッチ24はオフ状態になり、主電源回路12はオフ状態になる。以上のように、作業者は単に電気機器1を書込治具3に接続するだけで、他の作業を要することなく、主電源回路12をオン状態にし、主電源回路12からの電圧を使ってマイコン14へのプログラム書込を実行することができる。さらに、電気機器1を書込治具3から取り外すと主電源回路12がオフ状態になるので、ショートピンを使用する場合のように電気機器1内に主電源回路1をオン状態にするための器具が取り除かれずに誤って放置されるという問題を解決できる。   Since the voltage is applied to the base of the transistor 25 via the switching control terminal 16B while the electric device 1 is connected to the writing jig 3, the main power supply circuit 12 maintains the on state. On the other hand, when the electric device 1 is removed from the writing jig 3, no voltage is supplied to the base of the transistor 25, so that the current flowing through the winding 24 </ b> B of the relay circuit 24 is interrupted. As a result, the relay switch 24 is turned off, and the main power supply circuit 12 is turned off. As described above, the worker simply connects the electric device 1 to the writing jig 3 and turns on the main power supply circuit 12 without using other work, and uses the voltage from the main power supply circuit 12. Thus, program writing to the microcomputer 14 can be executed. Furthermore, since the main power circuit 12 is turned off when the electric device 1 is removed from the writing jig 3, the main power circuit 1 is turned on in the electric device 1 as in the case of using a short pin. This solves the problem that the device is left unintentionally without being removed.

次に、待機電源回路11からの電圧がプログラム書込時に必要な電圧以上であり、待機電源回路11からの電圧のみでマイコン14へのプログラム書込が可能である場合について図2を用いて説明する。つまり、主電源回路12をオフ状態のままで、EEPROM23にプログラムを書き込む場合を説明する。なお、図2の通り、電気機器1の回路構成自体は図1と同様であり(但し、待機電源回路11がプログラム書込時に必要な電圧をマイコンに供給できる)、異なるのは、書込治具3を使用せずに、電気機器1をプログラム送信装置2に直接接続することである。つまり、第1の接続手段16を第4の接続手段28に接続する。具体的には、第1の電圧供給端子16Aは第4の電圧供給端子28Aに接続され、プログラム入力端子16Cはプログラム出力端子28Cに接続され、接地端子16Dは接地端子28Dに接続される。一方、第1の切換制御端子16Bは、いずれの端子にも接続されず、開放されている。従って、第1の電圧供給端子16Aと第1の切換制御端子16Bとは短絡されない。そのため、トランジスタ25のべースには待機電源回路11から電圧が供給されず、トランジスタ25はオン状態にならない。従って、主電源回路11はオン状態にならず、待機電源回路11からの電圧のみがマイコン14およびプログラム送信装置2に供給される。   Next, the case where the voltage from standby power supply circuit 11 is equal to or higher than the voltage necessary for program writing and the program can be written to microcomputer 14 only by the voltage from standby power supply circuit 11 will be described with reference to FIG. To do. That is, a case where a program is written in the EEPROM 23 while the main power supply circuit 12 is kept off will be described. As shown in FIG. 2, the circuit configuration of the electrical device 1 is the same as that in FIG. 1 (however, the standby power supply circuit 11 can supply a voltage necessary for program writing to the microcomputer). The electrical device 1 is directly connected to the program transmission device 2 without using the tool 3. That is, the first connecting means 16 is connected to the fourth connecting means 28. Specifically, the first voltage supply terminal 16A is connected to the fourth voltage supply terminal 28A, the program input terminal 16C is connected to the program output terminal 28C, and the ground terminal 16D is connected to the ground terminal 28D. On the other hand, the first switching control terminal 16B is not connected to any terminal and is open. Therefore, the first voltage supply terminal 16A and the first switching control terminal 16B are not short-circuited. Therefore, no voltage is supplied from the standby power supply circuit 11 to the base of the transistor 25, and the transistor 25 is not turned on. Accordingly, the main power supply circuit 11 is not turned on, and only the voltage from the standby power supply circuit 11 is supplied to the microcomputer 14 and the program transmission device 2.

以上のように、待機電源回路11からの電圧のみでマイコン14へのプログラム書込が可能である場合には、書込治具3を使用しないことにより、待機電源回路11からの電圧のみでプログラム書込を実行する。従って、無駄な電力消費を低減することができる。   As described above, when the program can be written into the microcomputer 14 only with the voltage from the standby power supply circuit 11, the program can be performed only with the voltage from the standby power supply circuit 11 without using the writing jig 3. Perform writing. Therefore, useless power consumption can be reduced.

また、プログラム送信装置2に接続された書込治具3に、図3の従来の構成の電気機器301を接続して、プログラム書込を実行することも可能である。さらに、書込治具3をプログラム送信装置2から取り外して、プログラム送信装置2に直接、図3に示す従来の電気機器301を接続してプログラム書込を実行することもできる。これらの互換性が可能なのは、書込治具3が第3の接続手段27を有し、プログラム送信装置2が第4の接続手段28を有しているからである。   It is also possible to execute program writing by connecting the electric device 301 having the conventional configuration shown in FIG. 3 to the writing jig 3 connected to the program transmitting device 2. Further, the writing jig 3 can be detached from the program transmission device 2 and the program writing can be executed by connecting the conventional electric device 301 shown in FIG. 3 directly to the program transmission device 2. These compatibility is possible because the writing jig 3 has the third connecting means 27 and the program transmitting apparatus 2 has the fourth connecting means 28.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態には限定されない。例えば、書込治具3はプログラム送信装置2と一体であってもよい(すなわち、第3の接続手段と、第4の接続手段とを有さなくてもよい)。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment. For example, the writing jig 3 may be integrated with the program transmission device 2 (that is, the third connecting means and the fourth connecting means may not be provided).

本発明は、マイコンのEEPROMにプログラムを外部から書き込む様々な電気機器(例えば、TV、DVDプレーヤ、アンプ機器等のオーディオビジュアル機器等)に好適に採用され得る。   The present invention can be suitably employed in various electric devices (for example, audio-visual devices such as TVs, DVD players, and amplifier devices) that write programs to the EEPROM of a microcomputer from the outside.

本発明の好ましい実施形態によるプログラム書込システムを示す概略回路図である。1 is a schematic circuit diagram illustrating a program writing system according to a preferred embodiment of the present invention. 本発明の好ましい実施形態によるプログラム書込システムを示す概略回路図である。1 is a schematic circuit diagram illustrating a program writing system according to a preferred embodiment of the present invention. 従来のプログラム書込システムを示す概略回路図である。It is a schematic circuit diagram which shows the conventional program writing system.

符号の説明Explanation of symbols

1 電気機器
2 プログラム送信装置
3 書込治具
11 待機電源回路
12 主電源回路
14 制御手段
15 切換手段
16 第1の接続手段
26 第2の接続手段
DESCRIPTION OF SYMBOLS 1 Electric equipment 2 Program transmitter 3 Writing jig 11 Standby power supply circuit 12 Main power supply circuit 14 Control means 15 Switching means 16 1st connection means 26 2nd connection means

Claims (2)

電気機器と、前記電気機器にプログラムを送信するプログラム送信装置と、前記電気機器と前記プログラム送信装置との間に接続される書込治具とを備え、
前記電気機器が、プログラムを書き換え可能なメモリを含む制御手段と、
入力電圧が与えられ前記制御手段に電圧を供給する主電源回路と、
入力電圧が与えられ前記制御手段に電圧を供給する待機電源回路と、
スイッチと、前記スイッチをオンオフ制御するトランジスタとを含み、前記スイッチをオフ状態にすることにより前記主電源回路をオフ状態にし、前記スイッチをオン状態にすることにより前記主電源回路をオン状態にする切換手段と、
第1の電圧供給端子と第1の切換制御端子とプログラム入力端子とを含み、前記書込治具と接続される第1の接続手段とを有し、
前記書込治具が、第2の電圧供給端子と、前記第2の電圧供給端子に接続された第2の切換制御端子と、プログラム出力端子とを含み、前記第1の接続手段と接続される第2の接続手段を有し、
前記第1の接続手段と前記第2の接続手段とが接続された際に、前記第1の電圧供給端子と前記第2の電圧供給端子とが接続され、かつ、前記第1の切換制御端子と前記第2の切換制御端子とが接続されることにより、前記待機電源回路からの電圧が、前記第1の電圧供給端子、前記第2の電圧供給端子、前記第2の切換制御端子及び前記第1の切換制御端子をこの順に介して前記トランジスタの制御電極に供給され、前記スイッチがオン制御されると共に、前記プログラム入力端子と前記プログラム出力端子とが接続されることにより、前記プログラム送信装置からのプログラムが、前記プログラム出力端子及び前記プログラム入力端子をこの順に介して前記メモリに書き込まれる、プログラム書込システム。
An electrical device, a program transmission device that transmits a program to the electrical device, and a writing jig connected between the electrical device and the program transmission device,
Control means including a memory in which the electrical device can rewrite a program;
A main power supply circuit which is supplied with an input voltage and supplies a voltage to the control means;
A standby power supply circuit which is supplied with an input voltage and supplies a voltage to the control means;
A switch and a transistor for controlling on / off of the switch; turning off the switch turns off the main power supply circuit; turning on the switch turns on the main power supply circuit Switching means;
A first connecting means including a first voltage supply terminal, a first switching control terminal, and a program input terminal, and connected to the writing jig;
The writing jig includes a second voltage supply terminal, a second switching control terminal connected to the second voltage supply terminal, and a program output terminal, and is connected to the first connection means. Second connection means
When the first connection means and the second connection means are connected, the first voltage supply terminal and the second voltage supply terminal are connected, and the first switching control terminal Is connected to the second switching control terminal, so that the voltage from the standby power supply circuit is changed to the first voltage supply terminal, the second voltage supply terminal, the second switching control terminal, and the second switching control terminal. The first switching control terminal is supplied in this order to the control electrode of the transistor, the switch is turned on, and the program input terminal and the program output terminal are connected, whereby the program transmission device Is written into the memory via the program output terminal and the program input terminal in this order.
前記書込治具が、前記プログラム送信装置に接続される第3の接続手段をさらに有し、
前記プログラム送信装置が、前記第3の接続手段に接続される第4の接続手段を有する、請求項1に記載のプログラム書込システム。
The writing jig further includes third connecting means connected to the program transmitting device,
2. The program writing system according to claim 1, wherein the program transmission device includes fourth connection means connected to the third connection means. 3.
JP2005059157A 2005-03-03 2005-03-03 Program writing system Active JP4288424B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005059157A JP4288424B2 (en) 2005-03-03 2005-03-03 Program writing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005059157A JP4288424B2 (en) 2005-03-03 2005-03-03 Program writing system

Publications (2)

Publication Number Publication Date
JP2006244157A JP2006244157A (en) 2006-09-14
JP4288424B2 true JP4288424B2 (en) 2009-07-01

Family

ID=37050507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005059157A Active JP4288424B2 (en) 2005-03-03 2005-03-03 Program writing system

Country Status (1)

Country Link
JP (1) JP4288424B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4686498B2 (en) * 2007-05-09 2011-05-25 三菱電機株式会社 Electronic control unit
JP5749211B2 (en) * 2012-04-17 2015-07-15 コーセル株式会社 Switching power supply device and switching power supply program writing system

Also Published As

Publication number Publication date
JP2006244157A (en) 2006-09-14

Similar Documents

Publication Publication Date Title
KR100653065B1 (en) Electronic equipment system and control method thereof
JP2005212097A (en) Communication system and method for implementing communication through electric supply terminal in direct current power tool
JP2018069882A (en) Vehicle load control device, method of rewriting control program for the same, and control program rewriting system
CN107005142A (en) Multifunction terminal
JP4288424B2 (en) Program writing system
JP2006262610A (en) Power supply circuit
JP6216437B1 (en) Driving current adjusting device for light-emitting diode lamp
JP5204432B2 (en) Electrical equipment, service method of electrical equipment
WO2012120994A1 (en) Control device
JP2012155444A (en) Electronic equipment
US10606781B2 (en) Data transmission system, projector, and data transmission method including first apparatus with first communication part and second apparatus with second communication part
CN113924755B (en) Signal processing device
JP2007037304A (en) Robot control device
US8604759B2 (en) Power regulation circuit and electronic device with the same
EP2911268A1 (en) Charger holder
KR20060110682A (en) The device and method for controlling power of external devices of display appratus
JP4765519B2 (en) Sensor device and controller for sensor device
JP2008051490A (en) Air conditioner
JP2007043254A (en) Remote controller and control method of remote controller
CN112332468B (en) Projection system and wireless charging method thereof
JP4179370B2 (en) Electronic equipment
KR100995013B1 (en) Lower consumption standby power circuit apparatus for electric apparatus and method for controlling the same
JP2009110034A (en) Electric equipment
JP6140745B2 (en) Data acquisition system, electronic device, and data acquisition terminal
JPH11215692A (en) Portable electronic apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081127

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090303

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090316

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120410

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150410

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150410

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350