JP4679599B2 - Microcomputer system and microcomputer system abnormality determination method - Google Patents

Microcomputer system and microcomputer system abnormality determination method Download PDF

Info

Publication number
JP4679599B2
JP4679599B2 JP2008064161A JP2008064161A JP4679599B2 JP 4679599 B2 JP4679599 B2 JP 4679599B2 JP 2008064161 A JP2008064161 A JP 2008064161A JP 2008064161 A JP2008064161 A JP 2008064161A JP 4679599 B2 JP4679599 B2 JP 4679599B2
Authority
JP
Japan
Prior art keywords
microcomputer
data
serial
output
input port
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.)
Expired - Fee Related
Application number
JP2008064161A
Other languages
Japanese (ja)
Other versions
JP2009223380A (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.)
Toshiba Corp
Toshiba Lifestyle Products and Services Corp
Original Assignee
Toshiba Corp
Toshiba Consumer Electronics Holdings Corp
Toshiba Home Appliances 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 Toshiba Corp, Toshiba Consumer Electronics Holdings Corp, Toshiba Home Appliances Corp filed Critical Toshiba Corp
Priority to JP2008064161A priority Critical patent/JP4679599B2/en
Publication of JP2009223380A publication Critical patent/JP2009223380A/en
Application granted granted Critical
Publication of JP4679599B2 publication Critical patent/JP4679599B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)

Description

本発明は、プリント配線基板上にワンチップマイクロコンピュータと、シリアル/パラレル変換回路とを搭載して構成されるマイクロコンピュータシステム,及びマイクロコンピュータシステムの異常判定方法に関する。   The present invention relates to a microcomputer system configured by mounting a one-chip microcomputer and a serial / parallel conversion circuit on a printed wiring board, and an abnormality determination method for the microcomputer system.

従来、マイクロコンピュータが出力するシリアルデータを、外部に接続されるシフトレジスタなどによりシリアル/パラレル変換することで、出力ポート数を拡張する技術は特許文献1,2などに開示されている。また、特許文献3には、STM−Nフレームフォーマット多重伝送データに関するフレーム同期方式において、シリアル/パラレル変換を行う技術が開示されている。
特許第2786732号公報 特開平4−112224号公報 特開平4−207426号公報
Conventionally, techniques for extending the number of output ports by serial / parallel conversion of serial data output from a microcomputer using a shift register connected to the outside are disclosed in Patent Documents 1 and 2 and the like. Patent Document 3 discloses a technique for performing serial / parallel conversion in a frame synchronization system for STM-N frame format multiplex transmission data.
Japanese Patent No. 2786732 Japanese Patent Laid-Open No. 4-112224 JP-A-4-207426

ところで、上記のような構成を採用するマイコンシステムでは、データが伝送される経路に断線などの異常が発生すると、マイコンが出力したシリアルデータの送信が途切れて適切に変換されなくなり、制御対象とする機器の制御に異常が発生するという問題がある。
しかしながら、特許文献1,2に開示されている技術では、そのような異常に対処することは全く想定されていない。また、特許文献3は、通信に関する技術であると共に、やはり上記のような異常に対処することは想定されていない。
By the way, in the microcomputer system adopting the configuration as described above, when an abnormality such as a disconnection occurs in a data transmission path, the transmission of serial data output by the microcomputer is interrupted and cannot be properly converted, and is thus controlled. There is a problem that an abnormality occurs in the control of the device.
However, the techniques disclosed in Patent Documents 1 and 2 are not supposed to deal with such an abnormality at all. Further, Patent Document 3 is a technology related to communication, and it is not assumed that the above-mentioned abnormality is dealt with.

本発明は上記事情に鑑みてなされたものであり、その目的は、シリアルデータの伝送経路に異常が発生したことを確実に検出することができるマイクロコンピュータシステム,及びマイクロコンピュータシステムの異常判定方法を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a microcomputer system and a microcomputer system abnormality determination method that can reliably detect that an abnormality has occurred in a serial data transmission path. It is to provide.

上記目的を達成するため、請求項1記載のマイクロコンピュータシステムは、プリント配線基板上に搭載され、搭載される回路部品間がプリント配線により電気的に接続されるもので、
出力ポートを介して、シリアルデータを出力可能に構成されるワンチップマイクロコンピュータと、
このマイクロコンピュータより出力されるシリアルデータを受信して所定ビット数のパラレルデータに変換し、前記パラレルデータの出力制御が前記マイクロコンピュータより与えられる制御信号により行われるシリアル/パラレル変換回路とで構成されるものにおいて、
前記シリアル/パラレル変換回路のパラレルデータ出力端子における、最上位側から1ビット以上の端子を、前記マイクロコンピュータの入力ポートに接続し、
前記マイクロコンピュータは、所定ビット数のシリアルデータ出力を完了した場合に、前記入力ポートを介して与えられるデータ値が対応する出力データ値と不一致であれば異常を判定することを特徴とする。
In order to achieve the above object, the microcomputer system according to claim 1 is mounted on a printed wiring board, and the mounted circuit components are electrically connected by printed wiring.
A one-chip microcomputer configured to output serial data via an output port;
The serial data output from the microcomputer is received and converted into parallel data of a predetermined number of bits, and the parallel data output control is constituted by a serial / parallel conversion circuit which is performed by a control signal given from the microcomputer. In
In the parallel data output terminal of the serial / parallel converter circuit, a terminal of 1 bit or more from the most significant side is connected to the input port of the microcomputer,
The microcomputer is characterized in that, when the serial data output of a predetermined number of bits is completed, an abnormality is determined if the data value given through the input port does not match the corresponding output data value.

斯様に構成すれば、マイクロコンピュータより出力されるシリアルデータが、シリアル/パラレル変換回路においてパラレルデータに変換されるまでの経路中に異常がなければ、所定ビット数のシリアルデータ出力を完了した場合に、マイクロコンピュータの入力ポートを介して与えられるデータ値は、対応する出力データ値と一致する。したがって、両者が不一致の場合は、上記の経路中に断線などの故障が発生していることを示すことになり、異常を検出することができる。   With this configuration, when serial data output from the microcomputer is not abnormal in the path until it is converted into parallel data in the serial / parallel conversion circuit, the serial data output of a predetermined number of bits is completed. In addition, the data value provided via the microcomputer input port matches the corresponding output data value. Therefore, if the two do not match, it indicates that a failure such as a disconnection has occurred in the above path, and an abnormality can be detected.

また、請求項2記載のマイクロコンピュータシステムは、請求項1と同様の前提で構成されるものにおいて、
前記シリアル/パラレル変換回路が複数搭載される場合、それらはデイジーチェーン状に直列接続され、
前記複数のシリアル/パラレル変換回路の内、最上位側に配置される回路のパラレルデータ出力端子における1ビット以上の端子を、前記マイクロコンピュータの入力ポートに接続し、
前記マイクロコンピュータは、所定ビット数のシリアルデータ出力を完了した場合に、前記入力ポートを介して与えられるデータ値が対応する出力データ値と不一致であれば異常を判定することを特徴とする。
Further, the microcomputer system according to claim 2 is configured based on the same premise as in claim 1,
When a plurality of the serial / parallel conversion circuits are mounted, they are connected in series in a daisy chain,
One or more bits of the parallel data output terminal of the circuit arranged on the most significant side among the plurality of serial / parallel conversion circuits is connected to the input port of the microcomputer,
The microcomputer is characterized in that, when the serial data output of a predetermined number of bits is completed, an abnormality is determined if the data value given through the input port does not match the corresponding output data value.

すなわち、複数のシリアル/パラレル変換回路がデイジーチェーン接続されている場合は、最上位側に配置される回路のパラレルデータ出力端子をマイクロコンピュータの入力ポートに接続して請求項1と同様に異常判定を行えば、データのシリ/パラ変換経路中に発生した断線などの故障を同様に検出できる。   That is, when a plurality of serial / parallel conversion circuits are connected in a daisy chain, the parallel data output terminal of the circuit arranged on the uppermost side is connected to the input port of the microcomputer to determine abnormality as in claim 1. , Faults such as disconnection occurring in the data serial / para conversion path can be similarly detected.

請求項1記載のマイクロコンピュータシステムによれば、マイクロコンピュータが出力したデータのシリ/パラ変換経路中に発生した断線などの故障を検出できるので、システムの信頼性を向上させることができる。   According to the microcomputer system of the first aspect, since it is possible to detect a failure such as a disconnection occurring in the serial / para conversion path of the data output from the microcomputer, the reliability of the system can be improved.

請求項2記載のマイクロコンピュータシステムによれば、デイジーチェーン状に複数のシリアル/パラレル変換回路が接続されている場合でも、最上位側の回路の出力をチェックすることにより、途中に配置されるシリ/パラ変換回路の接続も含めて断線などの故障を効率良く検出することができる。   According to the microcomputer system of the second aspect, even when a plurality of serial / parallel conversion circuits are connected in a daisy chain, the serially arranged serial is checked by checking the output of the uppermost circuit. Faults such as disconnection can be efficiently detected including the connection of the / para conversion circuit.

以下、本発明をヒートポンプ式洗濯乾燥機(ランドリー機器)に適用した一実施例について、図面を参照して説明する。まず、図3において、外箱1の内部には、水槽2が複数の支持装置3により弾性支持されて水平状態に配設されている。この水槽2の内部には、これと同軸状態で回転ドラム4が回転可能に配設されている。この回転ドラム4は、周側壁及び後壁に通風孔を兼ねる脱水孔4a(一部のみ図示)を多数有していて、洗濯槽、脱水槽及び乾燥室としても機能する。なお、回転ドラム4の内周面には、複数のバッフル4b(1個のみ図示)が設けられている。   Hereinafter, an embodiment in which the present invention is applied to a heat pump type washing / drying machine (laundry equipment) will be described with reference to the drawings. First, in FIG. 3, a water tank 2 is elastically supported by a plurality of support devices 3 and arranged in a horizontal state inside the outer box 1. A rotating drum 4 is rotatably disposed in the water tank 2 in the same state as that of the water tank 2. The rotating drum 4 has a large number of dewatering holes 4a (only part of which are shown) serving as ventilation holes on the peripheral side wall and the rear wall, and also functions as a washing tub, a dewatering tub, and a drying chamber. A plurality of baffles 4 b (only one is shown) are provided on the inner peripheral surface of the rotating drum 4.

上記外箱1、水槽2及び回転ドラム4において、いずれも前面部(図中、右側部)には、洗濯物出し入れ用の開口部5、6及び7をそれぞれ有しており、そして開口部5と開口部6とは、弾性変形可能なベロー8によって水密に連通接続されている。また、外箱1の開口部5には、これを開閉する扉9が設けられている。また、前記回転ドラム4は、背面部に回転軸10を有しており、この回転軸10は、軸受(図示せず)に支持されて、水槽2の背面部の外側に取付けられた運転用モータとしてのアウタロータ型の三相ブラシレスDCモータからなるドラムモータ(洗い・脱水モータ)11により回転駆動される。   Each of the outer box 1, the water tank 2 and the rotating drum 4 has openings 5, 6 and 7 for putting in and out the laundry on the front surface (right side in the figure), and the opening 5 And the opening 6 are connected in a watertight manner by an elastically deformable bellows 8. The opening 5 of the outer box 1 is provided with a door 9 for opening and closing the opening. The rotating drum 4 has a rotating shaft 10 on the back surface, and the rotating shaft 10 is supported by a bearing (not shown) and attached to the outside of the back surface portion of the water tank 2. A drum motor (washing / dehydrating motor) 11 comprising an outer rotor type three-phase brushless DC motor as a motor is driven to rotate.

外箱1の底板1aには、複数の支持部材12を介してケーシング13が支持されており、そのケーシング13の右端部上部及び左端部上部には、吐出口13a及び吸入口13bがそれぞれ形成されている。また、底板1aには、ヒートポンプ(冷凍サイクル)14を構成するコンプレッサ15が設置されている。更に、ケーシング13内には、同様にヒートポンプ14を構成する凝縮器16及び蒸発器17が右側から左側に向け順に設置されているとともに、右端部に位置して送風ファン18が配設されている。なお、ケーシング13における蒸発器17の下方に位置する部位には、皿状の水受け部13cが形成されている。   A casing 13 is supported on the bottom plate 1a of the outer box 1 via a plurality of support members 12, and a discharge port 13a and a suction port 13b are formed at the upper right end portion and the upper left end portion of the casing 13, respectively. ing. Further, a compressor 15 constituting a heat pump (refrigeration cycle) 14 is installed on the bottom plate 1a. Further, in the casing 13, similarly, a condenser 16 and an evaporator 17 constituting the heat pump 14 are installed in order from the right side to the left side, and a blower fan 18 is disposed at the right end portion. . A dish-shaped water receiving portion 13 c is formed at a portion of the casing 13 located below the evaporator 17.

水槽2において、前面部の上部には、吸気口19が形成され、背面部下部には、排気口20が形成されている。吸気口19は、直線状ダクト21及び伸縮自在な連結ダクト22を介してケーシング13の吐出口13a接続されている。また、排気口20は、環状ダクト23及び伸縮自在の連結ダクト24を介してケーシング13の吸入口13bに接続されている。環状ダクト23は、水槽2の背面部の外側に取付けられており、ドラムモータ11と同心円状をなすように形成されている。すなわち、環状ダクト23の入口側が排気口20に接続され、出口側が連結ダクト24を介して吸入口13bに接続されている。そして、上記ケーシング13、連結ダクト22、直線状ダクト21、吸気口19、排気口20、環状ダクト23及び連結ダクト14は、空気循環経路25を構成する。   In the water tank 2, an intake port 19 is formed in the upper part of the front surface part, and an exhaust port 20 is formed in the lower part of the back surface part. The intake port 19 is connected to the discharge port 13 a of the casing 13 through a linear duct 21 and an extendable connecting duct 22. Further, the exhaust port 20 is connected to the suction port 13 b of the casing 13 via an annular duct 23 and an extendable connecting duct 24. The annular duct 23 is attached to the outside of the back surface of the water tank 2 and is formed concentrically with the drum motor 11. That is, the inlet side of the annular duct 23 is connected to the exhaust port 20, and the outlet side is connected to the suction port 13 b via the connecting duct 24. The casing 13, the connecting duct 22, the linear duct 21, the intake port 19, the exhaust port 20, the annular duct 23, and the connecting duct 14 constitute an air circulation path 25.

外箱1内において、その後方上部には、三方弁からなる給水弁26が配設され、また、前方上部には、洗剤投入器26aが配設されている。給水弁26は、その入水口が給水ホースを介して水道の蛇口に接続され、第1の出水口が洗い用給水ホース26bを介して洗剤投入器26aの上段の入水口に接続され、第2の出水口がすすぎ用給水ホース26cを介して洗剤投入器26aの下段の入水口に接続されるように構成されている。そして、洗剤投入器26aの出水口は、水槽2の上部に形成された給水口2aに給水ホース26dを介して接続されている。   In the outer box 1, a water supply valve 26 composed of a three-way valve is disposed at the upper rear portion thereof, and a detergent feeder 26a is disposed at the upper upper portion thereof. The water supply valve 26 has a water inlet connected to a water faucet via a water supply hose, a first water outlet connected to an upper water inlet of the detergent feeder 26a via a water supply hose 26b for washing, and a second water outlet. The outlet is connected to the lower inlet of the detergent dispenser 26a via the rinsing water supply hose 26c. And the water outlet of the detergent feeder 26a is connected to the water inlet 2a formed in the upper part of the water tank 2 via the water supply hose 26d.

水槽2の底部の後方の部位には、排水口2bが形成されており、この排水口2bは、排水弁27aを介して排水ホース27に接続されている。なお、排水ホース27の一部は伸縮自在になっている。そして、ケーシング13の水受け部13cは、排水ホース28及び逆止弁28aを介して排水ホース27の途中部位に接続されている。   A drain port 2b is formed at the rear portion of the bottom of the water tank 2, and the drain port 2b is connected to the drain hose 27 via a drain valve 27a. A part of the drain hose 27 is telescopic. And the water receiving part 13c of the casing 13 is connected to the middle part of the drainage hose 27 via the drainage hose 28 and the check valve 28a.

外箱1の前面上部には操作表示パネル29が設けられており、この操作表示パネル29には、図示はしないが、表示器及び各種の操作スイッチが設けられている。また、前記操作表示パネル29の裏面には、制御回路30が設けられている。制御回路30は、CPUやROM,RAM,A/D変換器,シリアルデータ出力回路などを含むワンチップ型のマイクロコンピュータで構成されており、操作表示パネル29における各スイッチの操作に応じて給水弁26、ドラムモータ11及び排水弁27aを制御し、洗い、すすぎ及び脱水の洗濯運転や、ドラムモータ11及びコンプレッサ15を駆動する三相ブラシレスDCモータからなるコンプレッサモータ32(図1参照)を制御することで乾燥運転を実行する。また、操作表示パネル29には、洗濯運転の進行状況等が表示される。   An operation display panel 29 is provided on the front upper portion of the outer box 1, and the operation display panel 29 is provided with a display and various operation switches (not shown). A control circuit 30 is provided on the back surface of the operation display panel 29. The control circuit 30 is constituted by a one-chip type microcomputer including a CPU, ROM, RAM, A / D converter, serial data output circuit, and the like, and a water supply valve according to the operation of each switch on the operation display panel 29 26, the drum motor 11 and the drain valve 27a are controlled, and washing operation of washing, rinsing and dehydration, and a compressor motor 32 (see FIG. 1) including a three-phase brushless DC motor for driving the drum motor 11 and the compressor 15 are controlled. The dry operation is executed. The operation display panel 29 displays the progress of the washing operation.

図1は、制御回路30により制御される周辺回路などを示すマイクロコンピュータシステムのブロック図である。制御回路30は、ドラムモータ11に取り付けた位置センサより出力される位置信号に基づいてインバータ回路31に対して6相のPWM信号を出力してドラムモータ11を駆動する。また、インバータ回路31からは、ベクトル制御を行うための電流検知信号や過電流検知信号等を含む各種の検知信号が制御回路30に与えられる。   FIG. 1 is a block diagram of a microcomputer system showing peripheral circuits and the like controlled by the control circuit 30. The control circuit 30 drives the drum motor 11 by outputting a six-phase PWM signal to the inverter circuit 31 based on the position signal output from the position sensor attached to the drum motor 11. Further, the inverter circuit 31 supplies various detection signals including a current detection signal for performing vector control and an overcurrent detection signal to the control circuit 30.

また、制御回路30は、コンプレッサモータ32を駆動するインバータ回路33に対して6相のPWM信号を出力してコンプレッサモータ32を駆動する。また、インバータ回路33からは、ベクトル制御を行うための電流検知信号や過電流検知信号等を含む各種の検知信号が制御回路30に与えられる。   Further, the control circuit 30 drives the compressor motor 32 by outputting a six-phase PWM signal to the inverter circuit 33 that drives the compressor motor 32. Further, the inverter circuit 33 supplies various detection signals including a current detection signal and an overcurrent detection signal for performing vector control to the control circuit 30.

複数のサーミスタ34は、各部の温度を検知して検知信号を制御回路30に出力する。その検知対象は、凝縮器(コンデンサ)16,蒸発器(エバポレータ)17の入口及び出口の温度や、吐出管の温度(冷媒温度検出用)、外気温や循環空気のドラム4への入口及びドラム4からの出口の温度(乾燥終了検出用)などである。   The plurality of thermistors 34 detect the temperature of each part and output a detection signal to the control circuit 30. The detection targets are the temperatures of the inlet and outlet of the condenser (condenser) 16 and the evaporator (evaporator) 17, the temperature of the discharge pipe (for detecting the refrigerant temperature), the outside air temperature and the inlet and drum of the circulating air to the drum 4 The temperature at the outlet from 4 (for detecting the end of drying).

ドアスイッチ35は、扉9の開閉状態を示す信号を制御回路30に出力する(脱水運転時など扉9が開放された場合に危険な状態が発生することを防止する)。パルス検知回路36は、トライアック等の駆動タイミングを得るため商用交流電源より抽出した周波数(50/60Hz)をACパルスとして制御回路30に出力する。不揮発性メモリ37は、例えばEEPROMやFRAM(登録商標)などであり、制御回路30はこれらと2線式シリアル通信を行ってデータを読み書きする。不揮発性メモリ37には、例えば機器の動作履歴を記憶させて故障解析に役立てたり、製造時に機器のばらつきを補正するデータを記憶させる。   The door switch 35 outputs a signal indicating the open / closed state of the door 9 to the control circuit 30 (a dangerous state is prevented when the door 9 is opened, such as during a dehydrating operation). The pulse detection circuit 36 outputs the frequency (50/60 Hz) extracted from the commercial AC power source to the control circuit 30 as an AC pulse in order to obtain a drive timing such as triac. The nonvolatile memory 37 is, for example, an EEPROM or FRAM (registered trademark), and the control circuit 30 performs two-wire serial communication with these to read and write data. The nonvolatile memory 37 stores, for example, device operation history to be used for failure analysis, or stores data for correcting device variations during manufacturing.

前方向加速度センサ38,後方向加速度センサ39は、運転時にドラム4が振動する場合の加速度を、水槽2の前方向加速度,後方向加速度を検知して制御回路30に出力する、制御回路30はそれらの検知信号に基づき洗濯物のアンバランス状態を検出する。乾燥運転用のファンモータ40は、動作指令及び回転数指令に応じて送風ファン18を駆動する。リントフィルタ有無検知回路41は、空気循環経路25中に配置される糸くず等の除去用フィルタが所定位置にセットされているか否かを検知し、フィルタの有無に応じた信号を制御回路30に出力する。ドレイン水タンクの水位センサ42は、排水時の水位検知信号を制御回路30に出力する。また、制御回路30と上述した操作表示パネル29との間でも、シリアル通信が行われる。   The forward acceleration sensor 38 and the backward acceleration sensor 39 detect the acceleration when the drum 4 vibrates during driving, and output the acceleration in the forward direction and the backward acceleration of the water tank 2 to the control circuit 30. The control circuit 30 Based on these detection signals, the unbalanced state of the laundry is detected. The fan motor 40 for drying operation drives the blower fan 18 in accordance with the operation command and the rotational speed command. The lint filter presence / absence detection circuit 41 detects whether a filter for removing lint or the like disposed in the air circulation path 25 is set at a predetermined position, and sends a signal corresponding to the presence / absence of the filter to the control circuit 30. Output. The water level sensor 42 of the drain water tank outputs a water level detection signal during drainage to the control circuit 30. Serial communication is also performed between the control circuit 30 and the operation display panel 29 described above.

力率改善回路43は、図示しない電源回路部における全波整流回路の入力側に配置される、いわゆる部分スイッチング方式の昇圧チョッパ回路を含んで構成され、電源回路の電流波形が正弦波に近づくように、電流波形のゼロクロス点を基準として与えられる駆動パルスに応じてスイッチング動作を行う。それにより電源の高調波抑制と昇圧とを行い、電力効率の向上を図るものである。入力電流検出回路44は、コンプレッサ15側のインバータ回路33について入力が過大となった場合に保護を行うため、入力電流に応じた電圧を出力する。   The power factor correction circuit 43 includes a so-called partial switching boost chopper circuit that is arranged on the input side of a full-wave rectifier circuit in a power circuit section (not shown) so that the current waveform of the power circuit approaches a sine wave. In addition, the switching operation is performed according to the drive pulse given with the zero cross point of the current waveform as a reference. As a result, harmonic suppression and boosting of the power source are performed to improve power efficiency. The input current detection circuit 44 outputs a voltage corresponding to the input current in order to protect when the input of the inverter circuit 33 on the compressor 15 side becomes excessive.

制御回路30から、8ビット構成のシリアル/パラレル(以下、S/Pとする)変換IC45に対しては、CLOCK,STROBE,DATA,OUTPUT_ENABLEの各信号が与えられている。また、S/P変換IC46には、上記のDATAを除く各信号が与えられている。即ち、制御回路30は、S/P変換IC45に対し、シリアルクロック信号CLOCKに同期してシリアルデータDATAを出力し、パラレルデータに変換させる。そして、S/P変換IC46のシリアルデータ入力端子には、S/P変換IC45の出力端子Qs’が接続されており、S/P変換IC45,46はデイジーチェーン状態に接続されている。   The control circuit 30 supplies CLOCK, STROBE, DATA, and OUTPUT_ENABLE signals to the 8-bit serial / parallel (hereinafter referred to as S / P) conversion IC 45. The S / P conversion IC 46 is provided with each signal except the above-mentioned DATA. That is, the control circuit 30 outputs serial data DATA to the S / P conversion IC 45 in synchronization with the serial clock signal CLOCK to convert it into parallel data. An output terminal Qs' of the S / P conversion IC 45 is connected to the serial data input terminal of the S / P conversion IC 46, and the S / P conversion ICs 45 and 46 are connected in a daisy chain state.

制御回路30は、S/P変換IC45,46に対して16ビットのシリアルデータを出力してパラレルデータに変換させることで、そのうちの下位12ビットを使用して各部の制御を行う。S/P変換IC45の8ビット出力端子Q8〜Q1は、例えば以下の制御に割り当てられている。尚、これらは比較的低速で制御が行われても問題とならないものが選択されている。
Q8:ドアロック47,Q7:排水弁27a,Q6:ユニット冷却ファン48,
Q5:ドレインポンプ49,Q4〜Q1:冷媒流量調整弁ステッピングモータ50(X+,X−,Y+,Y−)
ドアロック47は、扉9のロック/アンロックを行うもので、出力端子Q8によりそのロック制御を行い、出力端子Q7により排水弁27aの開閉を制御する。ユニット冷却ファン48は、制御回路30が搭載されている回路基板などを送風冷却するもので、出力端子Q6によりその駆動制御を行う。また、ユニット冷却ファン48側より制御回路30に対して回転数信号が出力される。ドレインポンプ49は、乾燥運転時の結露水を排出するポンプであり、出力端子Q5によりその駆動制御を行う。冷媒流量調整弁ステッピングモータ50は、ヒートサイクルを循環する冷媒流量調整弁の開度を決めるもので、出力端子Q4〜Q1により前記モータ50を駆動する回路を構成するスイッチング素子のON/OFF制御を行う。
The control circuit 30 outputs 16-bit serial data to the S / P conversion ICs 45 and 46 and converts it into parallel data, thereby controlling each unit using the lower 12 bits. The 8-bit output terminals Q8 to Q1 of the S / P conversion IC 45 are assigned to the following control, for example. These are selected so as not to cause a problem even if the control is performed at a relatively low speed.
Q8: Door lock 47, Q7: Drain valve 27a, Q6: Unit cooling fan 48,
Q5: Drain pump 49, Q4-Q1: Refrigerant flow rate adjusting valve stepping motor 50 (X +, X-, Y +, Y-)
The door lock 47 locks / unlocks the door 9 and controls the lock by the output terminal Q8, and controls the opening and closing of the drain valve 27a by the output terminal Q7. The unit cooling fan 48 blows and cools a circuit board or the like on which the control circuit 30 is mounted, and performs drive control by an output terminal Q6. Further, a rotation speed signal is output to the control circuit 30 from the unit cooling fan 48 side. The drain pump 49 is a pump that discharges the condensed water during the drying operation, and performs drive control by the output terminal Q5. The refrigerant flow rate adjusting valve stepping motor 50 determines the opening degree of the refrigerant flow rate adjusting valve that circulates in the heat cycle, and performs ON / OFF control of switching elements constituting a circuit for driving the motor 50 by output terminals Q4 to Q1. Do.

S/P変換IC45の出力端子のうち、下位4ビットQ4〜Q1は、例えば以下の制御に割り当てられている。
Q4:洗浄液循環ポンプ51,Q3:風呂水弁52,Q2:ソフター弁53,
Q1:給水弁26
洗浄液循環ポンプ51は、洗濯運転中に水槽2内の洗浄液を循環させるポンプであり、出力端子Q4によりその駆動制御を行う。風呂水弁52は、風呂水ポンプにより汲み上げた風呂水の供給を水槽2内へ行う弁であり、出力端子Q3によりその開閉制御を行う。ソフター弁53は、柔軟仕上げ剤の投入を水槽2内へ行う弁であり、出力端子Q2によりその開閉制御を行う。また、出力端子Q1により給水弁26の開閉制御を行う。そして、出力端子Q6,Q5は不使用であり、最上位の2ビット出力端子Q8,Q7は、制御回路30の入力ポートに接続されている。これらに関する動作については後述する。
Of the output terminals of the S / P conversion IC 45, the lower 4 bits Q4 to Q1 are assigned to the following control, for example.
Q4: cleaning liquid circulation pump 51, Q3: bath water valve 52, Q2: softer valve 53,
Q1: Water supply valve 26
The cleaning liquid circulation pump 51 is a pump that circulates the cleaning liquid in the water tank 2 during the washing operation, and performs drive control thereof by the output terminal Q4. The bath water valve 52 is a valve that supplies the bath water pumped up by the bath water pump into the water tank 2 and performs opening / closing control by the output terminal Q3. The softer valve 53 is a valve for supplying the soft finish into the water tank 2 and performs opening / closing control by the output terminal Q2. Moreover, opening / closing control of the water supply valve 26 is performed by the output terminal Q1. The output terminals Q6 and Q5 are not used, and the most significant 2-bit output terminals Q8 and Q7 are connected to the input port of the control circuit 30. Operations related to these will be described later.

図2は、S/P変換IC45,46の内部構成を示すものである。これは周知のものであり、シフトレジスタ54と、データラッチ部55と、ゲート部56と、3ステート出力部57とで構成される。シフトレジスタ54は、直列に接続された9個のDQフリップフロップで構成され、データラッチ部55は、上記シフトレジスタ54の下位8ビット側の出力データをラッチする8個のデータラッチで構成される。
ゲート部56は、データラッチ部55の出力データをイネーブル制御するためのNANDゲート56a及びNORゲート56bの組が8個で構成され、3ステート出力部57は、電源VDDとグランドとの間に直列接続され、ゲートがNANDゲート56a,NORゲート56bにそれぞれ接続されるPチャネルMOSFET57P,NチャネルMOSFET57Nの組が8個で構成される。
FIG. 2 shows the internal configuration of the S / P conversion ICs 45 and 46. This is a well-known one and includes a shift register 54, a data latch unit 55, a gate unit 56, and a three-state output unit 57. The shift register 54 includes nine DQ flip-flops connected in series, and the data latch unit 55 includes eight data latches that latch output data on the lower 8-bit side of the shift register 54. .
The gate unit 56 includes eight sets of NAND gates 56a and NOR gates 56b for enabling and controlling the output data of the data latch unit 55. The three-state output unit 57 is connected in series between the power supply VDD and the ground. There are eight sets of P-channel MOSFETs 57P and N-channel MOSFETs 57N that are connected and whose gates are connected to the NAND gate 56a and the NOR gate 56b, respectively.

S/P変換IC46の入力端子DATAには、制御回路30が出力するシリアルデータが与えられ、シリアルクロックCLOCKによりシフトレジスタ54の内部でデータが順次転送される。シフトレジスタ54の最終段に配置されているDQフリップフロップの出力端子Qは、外部出力端子Qs’となっており、S/P変換IC45の出力端子Qs’が、S/P変換IC46の入力端子DATAに接続されている。
制御回路30が出力する信号STROBEは、データラッチ部55のラッチタイミング信号として与えられており、同信号OUTPUT_ENABLEは、ゲート部56の出力制御信号として与えられている。出力許可信号であるOUTPUT_ENABLEがロウレベルの場合、3ステート出力部57の出力状態はハイインピーダンスとなる。
Serial data output from the control circuit 30 is given to the input terminal DATA of the S / P conversion IC 46, and the data is sequentially transferred inside the shift register 54 by the serial clock CLOCK. The output terminal Q of the DQ flip-flop arranged at the final stage of the shift register 54 is an external output terminal Qs ′, and the output terminal Qs ′ of the S / P conversion IC 45 is the input terminal of the S / P conversion IC 46. Connected to DATA.
The signal STROBE output from the control circuit 30 is provided as a latch timing signal for the data latch unit 55, and the signal OUTPUT_ENABLE is provided as an output control signal for the gate unit 56. When the output enable signal OUTPUT_ENABLE is at a low level, the output state of the three-state output unit 57 is high impedance.

そして、図1に示す回路を構成する各回路部品や素子は回路基板上に搭載されており、各部の電気的接続は、銅箔などのプリント配線パターンによって行われている。以上の構成において、制御回路30と、S/P変換IC45及び46が、マイクロコンピュータシステム58を構成している。   Each circuit component and element constituting the circuit shown in FIG. 1 are mounted on a circuit board, and electrical connection of each part is performed by a printed wiring pattern such as a copper foil. In the above configuration, the control circuit 30 and the S / P conversion ICs 45 and 46 constitute a microcomputer system 58.

次に、本実施例の作用について図4乃至図7も参照して説明する。図4は、制御回路30(主として、CPU)による処理内容を、本発明の要旨に係る部分について説明するフローチャートである。電源が投入されて処理を開始すると、制御回路30は、内部のレジスタやメモリ,出力ポートの状態等を初期化する処理を行う(ステップS1)。それから、S/P変換IC45,46に初期値データをシリアルに送信して、それらのIC45,46のパラレル出力端子Q8〜Q1を初期化する(ステップS2)。   Next, the operation of the present embodiment will be described with reference to FIGS. FIG. 4 is a flowchart for explaining the contents of the processing by the control circuit 30 (mainly the CPU) in relation to the gist of the present invention. When the process is started after the power is turned on, the control circuit 30 performs a process of initializing the state of internal registers, memories, output ports and the like (step S1). Then, initial value data is serially transmitted to the S / P conversion ICs 45 and 46, and the parallel output terminals Q8 to Q1 of those ICs 45 and 46 are initialized (step S2).

図5は、ステップS2における初期化の状態を示すタイミングチャートである。制御回路30は、16ビット分のデータ「0」をシリアルクロックCLOCKに同期して送信すると、信号STROBEを出力してS/P変換IC45,46内のデータラッチ部48にデータ「0」をラッチさせる。それから、信号OUTPUT_ENABLEをアクティブ(ハイレベル)にして、S/P変換IC45,46の各出力端子Q8〜Q1よりロウレベルを出力させる。なお、以降に、S/P変換IC45,46の出力状態を設定する周期(メインループ)は1m秒として、信号STROBEは1m秒毎に出力される。また、信号OUTPUT_ENABLEは、以降はアクティブ状態に維持される。   FIG. 5 is a timing chart showing the initialization state in step S2. When the control circuit 30 transmits 16-bit data “0” in synchronization with the serial clock CLOCK, the control circuit 30 outputs the signal STROBE and latches the data “0” in the data latch unit 48 in the S / P conversion ICs 45 and 46. Let Then, the signal OUTPUT_ENABLE is activated (high level), and a low level is output from each of the output terminals Q8 to Q1 of the S / P conversion ICs 45 and 46. In the following, the cycle (main loop) for setting the output state of the S / P conversion ICs 45 and 46 is 1 msec, and the signal STROBE is output every 1 msec. Further, the signal OUTPUT_ENABLE is maintained in the active state thereafter.

再び図4を参照する。制御回路30は、上記の設定周期1m秒の経過を待ち(ステップS3)、1m秒が経過すると(YES)各種の動作処理を行う(ステップS4)。ここでの「動作処理」とは、S/P変換IC45,46の出力状態を変更する必要がある場合は、その新たな出力状態に対応する16ビットデータをシリアル信号出力回路にセットして送信させる処理である。   Refer to FIG. 4 again. The control circuit 30 waits for the set period of 1 msec to elapse (step S3), and when 1 msec elapses (YES), performs various operation processes (step S4). “Operation processing” here means that when the output state of the S / P conversion ICs 45 and 46 needs to be changed, 16-bit data corresponding to the new output state is set in the serial signal output circuit and transmitted. It is a process to make.

続くステップS5において、制御回路30は、S/P変換IC46(図中ではIC2)の出力端子Q8,Q7のデータ値を(前回の処理で設定された値)、入力ポートを参照して読み込む。そして、そのデータ値が、自身が前回設定して送信したデータ値と一致しているか否かを判断する(ステップS6)。両者が一致していれば(YES)、シリアル/パラレル変換を行うデータの送信経路に異常はないことになる。その場合、信号STROBEをアクティブにして、S/P変換IC45,46(IC1,IC2)の出力状態を更新(同じデータを再度出力する場合を含む)する(ステップS7)。それから、ステップS3に戻る。   In subsequent step S5, the control circuit 30 reads the data values of the output terminals Q8 and Q7 of the S / P conversion IC 46 (IC2 in the figure) (values set in the previous processing) with reference to the input port. Then, it is determined whether or not the data value coincides with the data value set and transmitted by itself (step S6). If the two match (YES), there is no abnormality in the data transmission path for serial / parallel conversion. In that case, the signal STROBE is activated, and the output states of the S / P conversion ICs 45 and 46 (IC1 and IC2) are updated (including the case where the same data is output again) (step S7). Then, the process returns to step S3.

図6は、ステップS2の処理に続いて実行される通常動作時において、S/P変換IC45,46の出力状態を設定する場合の図5相当図である。例えば、S/P変換IC45の第5ビット出力端子Q5をハイレベルにして、ドレインポンプ49をONさせる場合、対応する16ビットシリアルデータの先頭から12ビット目のデータをハイレベルにする。また、S/P変換IC46(図中ではIC2)の出力端子Q8,Q7は、上述したように異常検知に使用する。そのため、例えばある周期で上記2ビットを「ハイ,ロウ」として出力すると次の周期では「ロウ,ハイ」として、交互に反転させるパターンで出力する。その結果、上記2ビットの1m秒毎の出力状態を参照すれば、図7に示すパターンとなる。   FIG. 6 is a diagram corresponding to FIG. 5 when the output state of the S / P conversion ICs 45 and 46 is set in the normal operation executed following the process of step S2. For example, when the fifth bit output terminal Q5 of the S / P conversion IC 45 is set to the high level and the drain pump 49 is turned on, the 12th bit data from the head of the corresponding 16-bit serial data is set to the high level. Further, the output terminals Q8 and Q7 of the S / P conversion IC 46 (IC2 in the figure) are used for abnormality detection as described above. Therefore, for example, if the above 2 bits are output as “high, low” in a certain cycle, they are output as “low, high” in the next cycle in a pattern that is alternately inverted. As a result, the pattern shown in FIG. 7 is obtained by referring to the output state of the 2 bits per 1 msec.

この場合、出力端子Q8,Q7のデータ変化を個別に(時系列的,若しくは直列的に)見ても、データ値が1m秒毎に「ハイ,ロウ」交互に変化すると共に、出力端子Q8,Q7のデータ変化を並列的に見ても、隣合うデータ値が1m秒毎に「ハイ,ロウ」交互に変化する。
尚、制御回路30は、基本的に信号STROBEを1m秒毎に出力するので、ドレインポンプ49のON状態を継続する場合には、各周期毎にS/P変換IC45の出力端子Q5をハイレベルに設定する。
In this case, even if the data changes of the output terminals Q8 and Q7 are viewed individually (in time series or in series), the data value alternately changes “high, low” every 1 msec, and the output terminals Q8, Q7, Even if the data change of Q7 is viewed in parallel, adjacent data values alternately change “high, low” every 1 msec.
Since the control circuit 30 basically outputs the signal STROBE every 1 msec, when the drain pump 49 is kept on, the output terminal Q5 of the S / P conversion IC 45 is set to the high level every cycle. Set to.

再び図4を参照する。一方、ステップS6において両者が一致しない場合は、シリアル/パラレル変換を行うデータの送信経路に、断線等の異常が発生している可能性がある。そこで、両者が不一致となった回数をカウントし(ステップS8)、不一致状態が連続5回に達すると(ステップS9:YES)異常の発生を確定し、操作表示パネル29においてエラー表示を行う(ステップS10)。そして、信号OUTPUT_ENABLEをインアクティブにして、S/P変換IC45,46によるデータ出力を停止する(ステップS11)。更に、その時点で洗濯運転や乾燥運転を実行している場合は(ステップS12:YES)、その運転を停止させる(ステップS13)。   Refer to FIG. 4 again. On the other hand, if they do not match in step S6, there is a possibility that an abnormality such as a disconnection has occurred in the data transmission path for serial / parallel conversion. Therefore, the number of times of mismatching is counted (step S8), and when the mismatching state reaches 5 consecutive times (step S9: YES), the occurrence of abnormality is confirmed and error display is performed on the operation display panel 29 (step S9). S10). Then, the signal OUTPUT_ENABLE is made inactive, and data output by the S / P conversion ICs 45 and 46 is stopped (step S11). Furthermore, when the washing operation or the drying operation is executed at that time (step S12: YES), the operation is stopped (step S13).

以上のように本実施例によれば、S/P変換IC46の出力端子における、最上位側から2ビットの端子Q8,Q7を制御回路30の入力ポートに接続し、制御回路30のCPUは、シリアルデータ出力回路により16ビットのシリアルデータ出力を完了した場合に、入力ポートを介して与えられるデータ値が対応する出力データ値と不一致であれば、異常を判定するようにした。   As described above, according to this embodiment, the 2-bit terminals Q8 and Q7 from the most significant side of the output terminal of the S / P conversion IC 46 are connected to the input port of the control circuit 30, and the CPU of the control circuit 30 When the 16-bit serial data output is completed by the serial data output circuit, if the data value given through the input port does not match the corresponding output data value, an abnormality is determined.

すなわち、制御回路30とS/P変換IC45,46との間はプリント配線パターンにより接続されているため、半田付け部分の剥離等の不具合により断線が発生し易く、断線が発生すると、その部分以降のパラレル変換データは正常に出力することができなくなる。そして、複数のS/P変換IC45,46がデイジーチェーン状に接続されている場合には、断線等が発生する確率がより高くなる。したがって、本実施例のように最上位側のS/P変換IC46の出力をチェックすることにより、上記データの変換経路の途中における接続も含めて断線などの故障の発生も異常として効率良く検出することが可能となり、マイコンシステム51,又はそのマイコンシステム58を適用した製品である洗濯乾燥機の信頼性を向上させることができる。   That is, since the control circuit 30 and the S / P conversion ICs 45 and 46 are connected by a printed wiring pattern, disconnection is likely to occur due to a defect such as peeling of a soldered portion. This parallel conversion data cannot be output normally. When a plurality of S / P conversion ICs 45 and 46 are connected in a daisy chain, the probability of occurrence of disconnection or the like becomes higher. Therefore, by checking the output of the S / P conversion IC 46 on the uppermost side as in this embodiment, the occurrence of a failure such as a disconnection including the connection in the middle of the data conversion path is efficiently detected as an abnormality. Therefore, the reliability of the washing / drying machine, which is a product to which the microcomputer system 51 or the microcomputer system 58 is applied, can be improved.

また、制御回路30は、入力ポートを介して与えられるデータ値に対応する出力データ値を、設定周期毎にハイ,ロウ交互に変化させる。すなわち、上記データの変換経路中に断線が発生するとデータ値は固定されるので、判定対象とするデータ値を交互に反転させることで、異常検出を確実に行うことができる。更に、判定対象を2ビットとして、隣り合うビットの関係でも出力データ値が、互いに反転するように変化させるので、出力端子Q8,Q7が例えば半田ブリッジなどで短絡している場合には両者のデータが同じ値となることから、短絡が発生している場合も異常として検出することができる。   The control circuit 30 changes the output data value corresponding to the data value given through the input port alternately between high and low at every set period. That is, when a disconnection occurs in the data conversion path, the data value is fixed. Therefore, the abnormality detection can be reliably performed by alternately inverting the data value to be determined. Furthermore, since the determination target is 2 bits and the output data value is changed so as to be inverted even in the relationship between adjacent bits, when the output terminals Q8 and Q7 are short-circuited by, for example, a solder bridge, the data of both Since they have the same value, even when a short circuit occurs, it can be detected as an abnormality.

加えて、制御回路30は、入力ポートを介して与えられるデータ値が対応する出力データ値と不一致となる状態が所定の期間継続(5回連続)した場合に異常を判定するので、例えば外部からのノイズの影響により異常が一時的に検出された場合などに、誤判定を防止することができる。また、異常を判定すると、S/P変換IC45,46の出力をディスエーブル状態にするので、異常な状態のまま出力が継続されることを回避できる。例えばステッピングモータ50の制御において、異常な出力状態が固定されると、モータ50のコイルが異常発熱するおそれがあるが、そのような状態の発生を回避することが可能となる。更にまた、異常を判定した場合に洗濯運転,乾燥運転を行っている場合は、その運転を停止させるので、安全性が向上する。   In addition, the control circuit 30 determines an abnormality when a state in which the data value given via the input port does not match the corresponding output data value continues for a predetermined period (continuous 5 times). It is possible to prevent erroneous determination when an abnormality is temporarily detected due to the influence of noise. Further, when the abnormality is determined, the outputs of the S / P conversion ICs 45 and 46 are disabled, so that it is possible to prevent the output from being continued in the abnormal state. For example, in the control of the stepping motor 50, if an abnormal output state is fixed, the coil of the motor 50 may generate heat abnormally, but it is possible to avoid the occurrence of such a state. Furthermore, when the washing operation and the drying operation are performed when an abnormality is determined, the operation is stopped, so that safety is improved.

本発明は上記し、図面に記載した実施例にのみ限定されるものではなく、以下のような変形または拡張が可能である。
パラレルデータの出力設定周期は1m秒に限ることなく、適宜変更して実施すれば良い。
S/P変換IC46の出力端子における最上位側から2ビットを判定対象とするものに限ることなく、例えば出力端子Q6,Q5を判定対象としても良い。また、3ビット以上、或いは1ビットだけを判定対象としても良い。
S/P変換IC45を1個だけ使用しても良いし、3個以上のS/P変換ICを使用しても良い。
S/P変換ICは、8ビット構成に限ることなく、例えば4ビット,12ビット,16ビット構成であっても良い(4の倍数に限らない)。
The present invention is not limited to the embodiments described above and illustrated in the drawings, and the following modifications or expansions are possible.
The parallel data output setting cycle is not limited to 1 ms, and may be changed as appropriate.
For example, the output terminals Q6 and Q5 may be set as the determination target without being limited to the determination of the two bits from the most significant side in the output terminal of the S / P conversion IC 46. Further, 3 bits or more, or only 1 bit may be determined.
Only one S / P conversion IC 45 may be used, or three or more S / P conversion ICs may be used.
The S / P conversion IC is not limited to the 8-bit configuration, and may be, for example, a 4-bit, 12-bit, or 16-bit configuration (not limited to a multiple of 4).

判定対象とするデータの出力パターンは、必ずしも交互に反転させる必要はない。
異常判定する場合のステップS9における連続カウント回数は、5回に限ることなく、適宜変更して実施すれば良い。また、必ずしも複数回の連続カウントを以て異常を判定するものに限らず、一回の判定結果により異常を確定しても良い。
判定対象とする出力端子は、必ずしも通常の制御では使用しない、異常判定専用の端子に限ることはない。例えば、異常判定を初期処理において1回だけ行うようにして、それ以降は、判定対象出力端子を通常の制御で使用するように構成しても良い。
ドラム4の回転軸は必ずしも水平である必要はなく、10数度〜数10度仰角となるように配置しても良い。
洗濯乾燥機に限ることなく、同様のマイコンシステムを使用する電子機器であれば広く適用することができる。
It is not always necessary to invert the output pattern of the data to be determined alternately.
The number of continuous counts in step S9 for determining an abnormality is not limited to five, and may be changed as appropriate. In addition, the abnormality is not necessarily determined by a continuous count of a plurality of times, and the abnormality may be determined by a single determination result.
The output terminal to be determined is not necessarily limited to a terminal dedicated to abnormality determination that is not necessarily used in normal control. For example, the abnormality determination may be performed only once in the initial process, and thereafter, the determination target output terminal may be used in normal control.
The rotation axis of the drum 4 does not necessarily have to be horizontal, and the drum 4 may be arranged at an elevation angle of several tens to several tens of degrees.
The present invention is not limited to the washing and drying machine, and can be widely applied to any electronic device that uses the same microcomputer system.

本発明の一実施例であり、マイクロコンピュータシステムの構成を中心に示すブロック図The block diagram which is one Example of this invention and shows centering on the structure of a microcomputer system シリアル/パラレル変換ICの内部構成を示す図The figure which shows the internal structure of serial / parallel conversion IC 洗濯乾燥機の縦断側面図Longitudinal side view of washer / dryer 制御回路による処理内容を示すフローチャートFlow chart showing processing contents by control circuit 図4のステップS2における初期化の状態を示すタイミングチャートTiming chart showing the state of initialization in step S2 of FIG. 図4のステップS4以降の処理に対応するタイミングチャートTiming chart corresponding to processing after step S4 in FIG. 出力端子Q8,Q7のデータ値が、設定周期毎に変化する状態を示すタイミングチャートTiming chart showing a state in which the data values of the output terminals Q8 and Q7 change every set cycle

符号の説明Explanation of symbols

図面中、30は制御回路(マイクロコンピュータ)、45,46はシリアル/パラレル変換IC(シリアル/パラレル変換回路)、58はマイクロコンピュータシステムを示す。   In the drawing, 30 is a control circuit (microcomputer), 45 and 46 are serial / parallel conversion ICs (serial / parallel conversion circuit), and 58 is a microcomputer system.

Claims (12)

プリント配線基板上に搭載され、搭載される回路部品間がプリント配線により電気的に接続されるもので、
出力ポートを介して、シリアルデータを出力可能に構成されるワンチップマイクロコンピュータと、
このマイクロコンピュータより出力されるシリアルデータを受信して所定ビット数のパラレルデータに変換し、前記パラレルデータの出力制御が前記マイクロコンピュータより与えられる制御信号により行われるシリアル/パラレル変換回路とで構成されるマイクロコンピュータシステムにおいて、
前記シリアル/パラレル変換回路のパラレルデータ出力端子における、最上位側から1ビット以上の端子を、前記マイクロコンピュータの入力ポートに接続し、
前記マイクロコンピュータは、所定ビット数のシリアルデータ出力を完了した場合に、前記入力ポートを介して与えられるデータ値が対応する出力データ値と不一致であれば異常を判定することを特徴とするマイクロコンピュータシステム。
It is mounted on a printed wiring board, and the circuit components to be mounted are electrically connected by printed wiring.
A one-chip microcomputer configured to output serial data via an output port;
The serial data output from the microcomputer is received and converted into parallel data of a predetermined number of bits, and the parallel data output control is constituted by a serial / parallel conversion circuit which is performed by a control signal given from the microcomputer. In the microcomputer system
In the parallel data output terminal of the serial / parallel converter circuit, a terminal of 1 bit or more from the most significant side is connected to the input port of the microcomputer,
The microcomputer determines abnormality when the data value given through the input port does not match the corresponding output data value when the serial data output of a predetermined number of bits is completed. system.
プリント配線基板上に搭載され、搭載される回路部品間がプリント配線により電気的に接続されるもので、
出力ポートを介して、シリアルデータを出力可能に構成されるワンチップマイクロコンピュータと、
このマイクロコンピュータより出力されるシリアルデータを受信して所定ビット数のパラレルデータに変換し、前記パラレルデータの出力制御が前記マイクロコンピュータより与えられる制御信号により行われるシリアル/パラレル変換回路とで構成されるマイクロコンピュータシステムにおいて、
前記シリアル/パラレル変換回路が複数搭載される場合、それらはデイジーチェーン状に直列接続され、
前記複数のシリアル/パラレル変換回路の内、最上位側に配置される回路のパラレルデータ出力端子における1ビット以上の端子を、前記マイクロコンピュータの入力ポートに接続し、
前記マイクロコンピュータは、所定ビット数のシリアルデータ出力を完了した場合に、前記入力ポートを介して与えられるデータ値が対応する出力データ値と不一致であれば異常を判定することを特徴とするマイクロコンピュータシステム。
It is mounted on a printed wiring board, and the circuit components to be mounted are electrically connected by printed wiring.
A one-chip microcomputer configured to output serial data via an output port;
The serial data output from the microcomputer is received and converted into parallel data of a predetermined number of bits, and the parallel data output control is constituted by a serial / parallel conversion circuit which is performed by a control signal given from the microcomputer. In the microcomputer system
When a plurality of the serial / parallel conversion circuits are mounted, they are connected in series in a daisy chain,
One or more bits of the parallel data output terminal of the circuit arranged on the most significant side among the plurality of serial / parallel conversion circuits is connected to the input port of the microcomputer,
The microcomputer determines abnormality when the data value given through the input port does not match the corresponding output data value when the serial data output of a predetermined number of bits is completed. system.
前記最上位側に配置されるシリアル/パラレル変換回路のパラレルデータ出力端子における、最上位側から1ビット以上の端子を、前記マイクロコンピュータの入力ポートに接続することを特徴とする請求項2記載のマイクロコンピュータシステム。   3. The parallel data output terminal of the serial / parallel conversion circuit arranged on the most significant side is connected to one or more bits from the most significant side to the input port of the microcomputer. Microcomputer system. 前記マイクロコンピュータは、前記入力ポートを介して与えられるデータ値に対応する出力データ値を、ハイ,ロウ交互に変化させることを特徴とする請求項1ないし3の何れかに記載のマイクロコンピュータシステム。   4. The microcomputer system according to claim 1, wherein the microcomputer changes an output data value corresponding to a data value given through the input port alternately between high and low. 前記マイクロコンピュータは、前記入力ポートを介して与えられるデータが複数ビットである場合、隣り合うビットの出力データ値が、互いに反転するように変化させることを特徴とする請求項1ないし4の何れかに記載のマイクロコンピュータシステム。   5. The microcomputer according to claim 1, wherein when the data given through the input port is a plurality of bits, the output data values of adjacent bits are changed so as to be inverted from each other. A microcomputer system according to 1. 前記マイクロコンピュータは、前記入力ポートを介して与えられるデータ値が対応する出力データ値と不一致となる状態が所定の期間継続した場合に、異常を判定することを特徴とする請求項1ないし5の何れかに記載のマイクロコンピュータシステム。   6. The microcomputer according to claim 1, wherein the microcomputer determines an abnormality when a state in which a data value given via the input port does not match a corresponding output data value continues for a predetermined period. A microcomputer system according to any one of the above. マイクロコンピュータとシリアル/パラレル変換回路とがプリント配線基板上に搭載され、それらの間がプリント配線により電気的に接続されて構成されるマイクロコンピュータシステムに適用される異常判定方法であって、
前記シリアル/パラレル変換回路が、前記マイクロコンピュータより出力されるシリアルデータを受信して所定ビット数のパラレルデータに変換する場合に、前記シリアル/パラレル変換回路のパラレルデータ出力端子における、最上位側から1ビット以上の端子を、前記マイクロコンピュータの入力ポートに予め接続しておき、
前記マイクロコンピュータが所定ビット数のシリアルデータ出力を完了した場合に、前記入力ポートを介して与えられるデータ値が対応する出力データ値と不一致であれば異常を判定することを特徴とするマイクロコンピュータシステムの異常判定方法。
An abnormality determination method applied to a microcomputer system in which a microcomputer and a serial / parallel conversion circuit are mounted on a printed wiring board and electrically connected between them by printed wiring,
When the serial / parallel conversion circuit receives serial data output from the microcomputer and converts it into parallel data of a predetermined number of bits, the parallel data output terminal of the serial / parallel conversion circuit starts from the most significant side. A terminal of 1 bit or more is connected in advance to the input port of the microcomputer,
When the microcomputer completes outputting serial data of a predetermined number of bits, an abnormality is determined if the data value given through the input port does not match the corresponding output data value Anomaly judgment method.
マイクロコンピュータとシリアル/パラレル変換回路とがプリント配線基板上に搭載され、それらの間がプリント配線により電気的に接続されて構成されるマイクロコンピュータシステムに適用される異常判定方法であって、
前記シリアル/パラレル変換回路が複数搭載される場合、それらをデイジーチェーン状に直列接続し、
前記マイクロコンピュータより出力されるシリアルデータを受信して所定ビット数のパラレルデータに変換する場合に、前記複数のシリアル/パラレル変換回路の内、最上位側に配置される回路のパラレルデータ出力端子における1ビット以上の端子を、前記マイクロコンピュータの入力ポートに予め接続しておき、
前記マイクロコンピュータが所定ビット数のシリアルデータ出力を完了した場合に、前記入力ポートを介して与えられるデータ値が対応する出力データ値と不一致であれば異常を判定することを特徴とするマイクロコンピュータシステムの異常判定方法。
An abnormality determination method applied to a microcomputer system in which a microcomputer and a serial / parallel conversion circuit are mounted on a printed wiring board and electrically connected between them by printed wiring,
When multiple serial / parallel conversion circuits are mounted, connect them in series in a daisy chain,
In the case where serial data output from the microcomputer is received and converted into parallel data of a predetermined number of bits, a parallel data output terminal of a circuit arranged on the most significant side among the plurality of serial / parallel conversion circuits A terminal of 1 bit or more is connected in advance to the input port of the microcomputer,
When the microcomputer completes outputting serial data of a predetermined number of bits, an abnormality is determined if the data value given through the input port does not match the corresponding output data value Anomaly judgment method.
前記最上位側に配置されるシリアル/パラレル変換回路のパラレルデータ出力端子における、最上位側から1ビット以上の端子を、前記マイクロコンピュータの入力ポートに接続することを特徴とする請求項8記載のマイクロコンピュータシステムの異常判定方法。   9. The parallel data output terminal of the serial / parallel conversion circuit arranged on the most significant side is connected to a terminal of 1 bit or more from the most significant side to an input port of the microcomputer. An abnormality determination method for a microcomputer system. 前記マイクロコンピュータの入力ポートを介して与えられるデータ値に対応する出力データ値を、ハイ,ロウ交互に変化させることを特徴とする請求項7ないし9の何れかに記載のマイクロコンピュータシステムの異常判定方法。   10. An abnormality determination of a microcomputer system according to claim 7, wherein an output data value corresponding to a data value given through an input port of the microcomputer is changed alternately between high and low. Method. 前記マイクロコンピュータの入力ポートを介して与えられるデータが複数ビットである場合、隣り合うビットの出力データ値が、互いに反転するように変化させることを特徴とする請求項7ないし10の何れかに記載のマイクロコンピュータシステムの異常判定方法。   11. The data according to any one of claims 7 to 10, wherein when data given through an input port of the microcomputer is a plurality of bits, output data values of adjacent bits are changed so as to invert each other. Method for judging abnormality of microcomputer system. 前記マイクロコンピュータの入力ポートを介して与えられるデータ値が対応する出力データ値と不一致となる状態が所定の期間継続した場合に、異常を判定することを特徴とする請求項7ないし11の何れかに記載のマイクロコンピュータシステムの異常判定方法。   The abnormality is determined when a state in which a data value given through an input port of the microcomputer does not match a corresponding output data value continues for a predetermined period. An abnormality determination method for a microcomputer system as described in 1.
JP2008064161A 2008-03-13 2008-03-13 Microcomputer system and microcomputer system abnormality determination method Expired - Fee Related JP4679599B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008064161A JP4679599B2 (en) 2008-03-13 2008-03-13 Microcomputer system and microcomputer system abnormality determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008064161A JP4679599B2 (en) 2008-03-13 2008-03-13 Microcomputer system and microcomputer system abnormality determination method

Publications (2)

Publication Number Publication Date
JP2009223380A JP2009223380A (en) 2009-10-01
JP4679599B2 true JP4679599B2 (en) 2011-04-27

Family

ID=41240127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008064161A Expired - Fee Related JP4679599B2 (en) 2008-03-13 2008-03-13 Microcomputer system and microcomputer system abnormality determination method

Country Status (1)

Country Link
JP (1) JP4679599B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023030929A (en) 2021-08-24 2023-03-08 株式会社デンソーテン Primary check system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683984A (en) * 1992-08-31 1994-03-25 Nec Corp Input/output circuit
JPH07219631A (en) * 1994-02-04 1995-08-18 Miura Co Ltd Control unit for equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683984A (en) * 1992-08-31 1994-03-25 Nec Corp Input/output circuit
JPH07219631A (en) * 1994-02-04 1995-08-18 Miura Co Ltd Control unit for equipment

Also Published As

Publication number Publication date
JP2009223380A (en) 2009-10-01

Similar Documents

Publication Publication Date Title
US8424347B2 (en) Washer dryer
EP2447407B1 (en) Drum-type washing machine
JP2009065764A (en) Rotating machine controller and washing machine
KR20080094564A (en) Washing and drying machine
JP2002166090A (en) Washing/drying machine
JP4679599B2 (en) Microcomputer system and microcomputer system abnormality determination method
JP2009017674A (en) Inverter for motor-applied household electrical appliance
US11876475B2 (en) Apparatus for controlling motor and method for controlling motor
JP5984196B2 (en) Power control system for electric equipment and washing machine
JP2014050518A (en) Washing machine
KR102476288B1 (en) Laundry Treating Apparatus and Method thereof
JP2005143531A (en) Washing machine
JP2019017179A (en) Inverter device
JP2006136601A (en) Washer-dryer
KR102229178B1 (en) Washing machine and control method thereof
JP3394686B2 (en) Communication control device and washing machine
JP6081274B2 (en) Motor control device for washing machine and protection method for motor control device
JP6943642B2 (en) Washing machine
JP2001246333A (en) Machine for cleaning instrument
JP4693686B2 (en) Washing and drying machine
JP6649715B2 (en) Motor control device and washing machine
JP6334951B2 (en) Clothes dryer
JP2006061356A (en) Drum type washing machine
JP2014168575A (en) Motor driving device for dewaterer
JP2003144791A (en) Washing and drying machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100326

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101220

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: 20110111

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: 20110201

R150 Certificate of patent or registration of utility model

Ref document number: 4679599

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140210

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

Free format text: JAPANESE INTERMEDIATE CODE: R313117

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees