CN108762239A - MCU detects control method and control device, storage medium and household electrical appliance - Google Patents
MCU detects control method and control device, storage medium and household electrical appliance Download PDFInfo
- Publication number
- CN108762239A CN108762239A CN201810630491.6A CN201810630491A CN108762239A CN 108762239 A CN108762239 A CN 108762239A CN 201810630491 A CN201810630491 A CN 201810630491A CN 108762239 A CN108762239 A CN 108762239A
- Authority
- CN
- China
- Prior art keywords
- mcu
- detection
- self
- electrical appliance
- household electrical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Alarm Systems (AREA)
Abstract
The present invention provides a kind of MCU to detect control method, carries out MCU self-tests for controlling household electrical appliance, this method includes:Receive MCU self-test enabled instructions;The MCU that the household electrical appliance are controlled according to the MCU self-tests enabled instruction executes internal detection operation, and exports MCU self-detection results;It is out of service to determine whether to control the corresponding targeted security load of the household electrical appliance according to the MCU self-detection results.Correspondingly, the invention also provides MCU detection control apparatus, computer readable storage medium and household electrical appliance.The automatic fault detection inside the MCU to household electrical appliance may be implemented, to effectively ensure the operational safety of household electrical appliance, while extending life of product so that the personal and property safety of user has obtained effective guarantee in technical solution through the invention.
Description
Technical field
The present invention relates to household electrical appliance technical fields, in particular to MCU detections control method, MCU detection control dresses
It sets, computer readable storage medium and household electrical appliance.
Background technology
MCU (Microcontroller Unit, micro-control unit, also referred to as microcontroller) is as at present with electric controller control
Household electrical appliance important component, the failure rate of MCU itself also rising year by year, and International Power tissue is also in newest household electric
It is expressly provided in device international standard IEC60335, the household electrical appliance with electric controller need to meet wanting for software and hardware safety certification
It asks.But existing household electrical appliance do not do the detection of MCU itself components, when a failure occurs it, MCU programs in MCU at present
It is possible that the safe bearing load that can run winged, its control household electrical appliance can be out of control, therefore household electrical appliance is caused to generate failure, or even hair
Raw safety accident, endangers the personal and property safety of user.
Invention content
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, an object of the present invention is to provide a kind of new MCU to detect control method, by controlling household electric
Device carries out MCU self-tests, realizes and is detected to the automatic fault inside the MCU of household electrical appliance, and controls household electric according to self-detection result
The operation of device, with achieve the purpose that ensure household electrical appliance operational safety, extend life of product while so that the person of user and
Property safety has obtained effective guarantee.
It is another object of the present invention to it is corresponding propose MCU detection control apparatus, computer readable storage medium and
Household electrical appliance.
To realize above-mentioned at least one purpose, according to the first aspect of the invention, it is proposed that a kind of MCU detections controlling party
Method carries out MCU self-tests for controlling household electrical appliance, and MCU detections control method includes:Receive MCU self-test enabled instructions;According to
The MCU that MCU self-test enabled instructions control household electrical appliance executes internal detection operation, and exports MCU self-detection results;Certainly according to MCU
Inspection result determines whether that the corresponding targeted security load of control household electrical appliance is out of service.
In the technical scheme, when the MCU of household electrical appliance breaks down in order to prevent, cause household not in time due to knowing
Operation troubles occurs for electric appliance, and MCU self-checking functions can be arranged on household electrical appliance, is specifically receiving the MCU of user's transmission certainly
After examining enabled instruction, the MCU that household electrical appliance are controlled according to the instruction carries out internal detection, and exports the self-detection result of MCU, in order to
Achieve the purpose that ensure household electrical appliance operational safety, determining the need for control according to the self-detection result of MCU stops household electrical appliance
The operation of corresponding targeted security load, in this way, the automatic fault detection inside the MCU to household electrical appliance can be thus achieved, from
And effectively ensure the operational safety of household electrical appliance, while extending life of product so that the personal and property safety of user obtains
Effective guarantee is arrived.
In the above-mentioned technical solutions, it is preferable that include default detection cycle in MCU self-test enabled instructions;And according to MCU
The MCU that self-test enabled instruction controls household electrical appliance executes internal detection operation, and the step of exporting MCU self-detection results, specific to wrap
It includes:In each default detection cycle, control executes corresponding detection to multiple building blocks of MCU and operates successively;Work as completion
When being operated at the detection of component to each of multiple building blocks, the MCU in corresponding output current preset detection cycle is certainly
Examine result.
In the technical scheme, it in order to effectively control the inside detection of MCU, realizes to the composition portion inside MCU
The timing of part monitors, and can specifically be arranged in MCU self-test enabled instructions and carry out the default of regular self-test for controlling MCU
Detection cycle needs to execute corresponding detection operation successively to multiple building blocks inside MCU each within the overhaul period,
To ensure the matchings of MCU self-tests, succession and comprehensive, and complete each of multiple building blocks of MCU at
After the detection operation of component, you can output is currently from the MCU self-detection results in the overhaul period, further, the MCU self-detection result packets
Each of MCU is included into the respective self-detection result of component, with can be according to the corresponding testing result of each building block
The operating status of targeted security load corresponding with each building block is controlled in time, and then ensure that the operation peace of household electrical appliance
Entirely.
In any of the above-described technical solution, it is preferable that determine whether that control household electrical appliance are corresponding according to MCU self-detection results
Targeted security loads step out of service, specifically includes:When MCU self-detection results instruction MCU internal operations are normal, control
MCU executes internal detection operation according to default detection cycle;When MCU self-detection results indicate MCU internal operation exceptions when, control with
The corresponding targeted security load of MCU self-detection results is out of service.
In the technical scheme, when MCU self-detection results instruction MCU internal operations are normal, then illustrate the composition inside MCU
Component does not break down, then may further control MCU and continue periodically to execute internal detection behaviour according to default detection cycle
Make, it is ensured that find failure timely processing in time;And when MCU self-detection results indicate MCU internal operation exceptions, then illustrate in MCU
The building block in portion, which has, to break down, for prevent because MCU internal operations extremely caused by household electrical appliance failure, or even cause thing
Therefore control is needed to stop the operation of targeted security load corresponding with MCU self-detection results, pacified with the person and property that ensure user
Entirely.
In any of the above-described technical solution, it is preferable that MCU detects control method and further includes:Control passes through default display side
Formula indicates to the user that MCU self-detection results.
It in the technical scheme, can be by the self-test knot of MCU in order to ensure that user can recognize the operation conditions of MCU
Fruit is indicated by default display mode to user, to reach in MCU operation exceptions, user is prompted to carry out at failure in time
The purpose of reason.
According to the second aspect of the invention, it is proposed that a kind of MCU detection control apparatus is carried out for controlling household electrical appliance
MCU self-tests, MCU detection control apparatus include:Receiving module, for receiving MCU self-test enabled instructions;Detection module is used for root
The MCU that household electrical appliance are controlled according to MCU self-test enabled instructions executes internal detection operation, and exports MCU self-detection results;Control mould
Block, for determining whether that the corresponding targeted security load of control household electrical appliance is out of service according to MCU self-detection results.
In the technical scheme, when the MCU of household electrical appliance breaks down in order to prevent, cause household not in time due to knowing
Operation troubles occurs for electric appliance, and MCU self-checking functions can be arranged on household electrical appliance, is specifically receiving the MCU of user's transmission certainly
After examining enabled instruction, the MCU that household electrical appliance are controlled according to the instruction carries out internal detection, and exports the self-detection result of MCU, in order to
Achieve the purpose that ensure household electrical appliance operational safety, determining the need for control according to the self-detection result of MCU stops household electrical appliance
The operation of corresponding targeted security load, in this way, the automatic fault detection inside the MCU to household electrical appliance can be thus achieved, from
And effectively ensure the operational safety of household electrical appliance, while extending life of product so that the personal and property safety of user obtains
Effective guarantee is arrived.
In the above-mentioned technical solutions, it is preferable that include default detection cycle in MCU self-test enabled instructions;And detection mould
Block includes:Control submodule, in each default detection cycle, control executes pair multiple building blocks of MCU successively
The detection operation answered;Output sub-module is used for when completing to operate each of multiple building blocks at the detection of component,
MCU self-detection results in corresponding output current preset detection cycle.
In the technical scheme, it in order to effectively control the inside detection of MCU, realizes to the composition portion inside MCU
The timing of part monitors, and can specifically be arranged in MCU self-test enabled instructions and carry out the default of regular self-test for controlling MCU
Detection cycle needs to execute corresponding detection operation successively to multiple building blocks inside MCU each within the overhaul period,
To ensure the matchings of MCU self-tests, succession and comprehensive, and complete each of multiple building blocks of MCU at
After the detection operation of component, you can output is currently from the MCU self-detection results in the overhaul period, further, the MCU self-detection result packets
Each of MCU is included into the respective self-detection result of component, with can be according to the corresponding testing result of each building block
The operating status of targeted security load corresponding with each building block is controlled in time, and then ensure that the operation peace of household electrical appliance
Entirely.
In any of the above-described technical solution, it is preferable that control module is specifically used for:Inside MCU self-detection results instruction MCU
When normal operation, control MCU executes internal detection operation according to default detection cycle;The fortune inside MCU self-detection results instruction MCU
When row is abnormal, it is out of service to control targeted security load corresponding with MCU self-detection results.
In the technical scheme, when MCU self-detection results instruction MCU internal operations are normal, then illustrate the composition inside MCU
Component does not break down, then may further control MCU and continue periodically to execute internal detection behaviour according to default detection cycle
Make, it is ensured that find failure timely processing in time;And when MCU self-detection results indicate MCU internal operation exceptions, then illustrate in MCU
The building block in portion, which has, to break down, for prevent because MCU internal operations extremely caused by household electrical appliance failure, or even cause thing
Therefore control is needed to stop the operation of targeted security load corresponding with MCU self-detection results, pacified with the person and property that ensure user
Entirely.
In any of the above-described technical solution, it is preferable that MCU detection control apparatus further includes:Display module is logical for controlling
It crosses default display mode and indicates to the user that MCU self-detection results.
It in the technical scheme, can be by the self-test knot of MCU in order to ensure that user can recognize the operation conditions of MCU
Fruit is indicated by default display mode to user, to reach in MCU operation exceptions, user is prompted to carry out at failure in time
The purpose of reason.
According to the third aspect of the invention we, a kind of MCU detection control apparatus is provided, including:Processor;At storage
Manage the memory of device executable instruction, wherein realized when processor is for executing the executable instruction stored in memory as above
The step of stating the MCU detection control methods described in any one of technical solution of first aspect.
According to the fourth aspect of the invention, a kind of computer readable storage medium is provided, computer journey is stored thereon with
Sequence realizes the MCU detections as described in any one of technical solution of above-mentioned first aspect when computer program is executed by processor
The step of control method.
According to the fifth aspect of the invention, a kind of household electrical appliance are provided, including:Such as above-mentioned second aspect and the third aspect
Any one of technical solution described in MCU detection control apparatus.
Specifically, household electrical appliance include but not limited to water heater, water dispenser and water purifier and the water heater includes combustion
Gas water heater or electric heater.
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description
Obviously, or practice through the invention is recognized.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination following accompanying drawings to embodiment
Obviously and it is readily appreciated that, wherein:
Fig. 1 shows the flow diagram of the MCU detection control methods of first embodiment of the invention;
Fig. 2 shows the MCU that household electrical appliance are controlled according to MCU self-test enabled instructions of the embodiment of the present invention to execute internal inspection
Operation is surveyed, and exports the method flow schematic diagram of MCU self-detection results;
Fig. 3 show the embodiment of the present invention determined whether according to MCU self-detection results control the corresponding target of household electrical appliance
Safe bearing load method flow schematic diagram out of service;
Fig. 4 shows the flow diagram of the MCU detection control methods of second embodiment of the invention;
Fig. 5 shows the schematic block diagram of the MCU detection control apparatus of first embodiment of the invention;
Fig. 6 shows the schematic block diagram of detection module shown in fig. 5;
Fig. 7 shows the schematic block diagram of the MCU detection control apparatus of second embodiment of the invention.
Specific implementation mode
To better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real
Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
The MCU detections control method of first embodiment of the invention is specifically described with reference to Fig. 1 to Fig. 3.
As shown in Figure 1, MCU according to a first embodiment of the present invention detects control method, carried out for controlling household electrical appliance
MCU self-tests, then MCU detect control method specifically include following below scheme step:
Step S10 receives MCU self-test enabled instructions.
Specifically, it can be used and be pressed by human-computer interaction interface when user sends MCU self-test enabled instructions to household electrical appliance
The communication modes such as key, cell phone software and voice, to start the MCU self-checking functions of household electrical appliance.
Step S20, the MCU that household electrical appliance are controlled according to MCU self-test enabled instructions executes internal detection operation, and exports
MCU self-detection results.
Step S30 determines whether that controlling the corresponding targeted security load of household electrical appliance stops fortune according to MCU self-detection results
Row.
In this embodiment, when the MCU of household electrical appliance breaks down in order to prevent, cause household electric not in time due to knowing
Operation troubles occurs for device, and MCU self-checking functions can be arranged on household electrical appliance, specifically in the MCU self-tests for receiving user's transmission
After enabled instruction, the MCU that household electrical appliance are controlled according to the instruction carries out internal detection, and exports the self-detection result of MCU, in order to reach
To the purpose for ensureing household electrical appliance operational safety, control is determined the need for according to the self-detection result of MCU and stops household electrical appliance pair
The operation for the targeted security load answered, in this way, the automatic fault detection inside the MCU to household electrical appliance can be thus achieved, to
The operational safety for effectively ensureing household electrical appliance, while extending life of product so that the personal and property safety of user obtains
Effective guarantee.
Further, in the above-described embodiments, in MCU self-tests enabled instruction comprising default detection cycle, step S20 can be with
It is process step as shown in Figure 2 to execute, and is specifically included:
Step S202, in each default detection cycle, control executes corresponding inspection successively to multiple building blocks of MCU
Survey operation.
Specifically, multiple building blocks of MCU include but not limited to central processing unit, interrupt processing and execution, clock, deposit
Reservoir, internal data paths, PERCOM peripheral communication, input/output end port, monitoring device and comparator.And when to the building block of MCU
When executing corresponding detection operation, such as:It can be redirected by detecting PC (Program Counter, program counter) pointer
Whether position correctly judges whether the operation of central processing unit is normal;By comparing from RAM (Random Access
Memory, random access memory) in the data that read and storage it is whether consistent to the initial data in RAM, to judge
Memory whether normal operation, the storage region for detecting ROM (Read Only Memory, read-only memory) can also be passed through
Whether size is in the same size with raw storage area, and whether the operation to judge memory is normal, can also be by detecting storehouse
Whether the operation that whether will overflow to judge memory is normal, etc..
It is further preferred that targeted security load includes heating element, earth leakage protective load etc..
Step S204, when completing to operate each of multiple building blocks at the detection of component, corresponding output is worked as
MCU self-detection results in preceding default detection cycle.
In this embodiment, it in order to effectively control the inside detection of MCU, realizes to the building block inside MCU
Timing monitoring, the default inspection that regular self-test is carried out for controlling MCU can be specifically set in MCU self-test enabled instructions
The period is surveyed, each within the overhaul period, needs to execute corresponding detection operation successively to multiple building blocks inside MCU, with
Ensure the matchings of MCU self-tests, succession and comprehensive, and completes each of multiple building blocks of MCU into portion
After the detection operation of part, you can output is currently from the MCU self-detection results in the overhaul period, and further, which includes
Each of MCU at the respective self-detection result of component, with can according to the corresponding testing result of each building block and
When control the operating status of corresponding with each building block targeted security load, and then ensure that the operation peace of household electrical appliance
Entirely.
Further, in the above-described embodiments, step S30 can execute as process step as shown in Figure 3, specific packet
It includes:
Step S302, when MCU self-detection results instruction MCU internal operations are normal, control MCU is held according to default detection cycle
The internal detection operation of row.
Step S304 controls mesh corresponding with MCU self-detection results when MCU self-detection results indicate MCU internal operation exceptions
It is out of service to mark safe bearing load.
In this embodiment, when MCU self-detection results instruction MCU internal operations are normal, then illustrate the composition portion inside MCU
Part does not break down, then may further control MCU and continue periodically to execute internal detection operation according to default detection cycle,
Ensure to find failure timely processing in time;And when MCU self-detection results indicate MCU internal operation exceptions, then illustrate inside MCU
Building block, which has, to break down, for prevent because MCU internal operations extremely caused by household electrical appliance failure, or even cause accident,
Control is needed to stop the operation of targeted security load corresponding with MCU self-detection results, to ensure the personal and property safety of user.
Further, in the above-described embodiments, it can control after the MCU self-test operations of multiple default detection cycles
MCU self-detection results are exported, to ensure the stability and accuracy of self-detection result.
Further, in the above-described embodiments, MCU detections control method further includes:Control by default display mode to
User indicates MCU self-detection results.
It in this embodiment, can be by the self-detection result of MCU in order to ensure that user can recognize the operation conditions of MCU
It is indicated to user by default display mode, to reach in MCU operation exceptions, user is prompted to carry out troubleshooting in time
Purpose.
Further, in the above-described embodiments, household electrical appliance can be controlled according to the MCU self-test END instructions received
MCU stops executing internal detection operation, and user specifically can be by human-computer interaction interface using button, cell phone software and voice etc.
Communication modes send the MCU self-test END instructions to household electrical appliance.
Fig. 4 shows the flow diagram of the MCU detection control methods of second embodiment of the invention.
As shown in figure 4, MCU according to a second embodiment of the present invention detects control method, carried out for controlling household electrical appliance
MCU self-tests are specifically illustrated so that household electrical appliance are electric heater as an example, including following below scheme step:
Step S402, electric heater receive the MCU self-checking commands of user's transmission.
Specifically, user can assign MCU self-test enabled instructions by modes such as button, cell phone software and voices, start
The MCU self-checking functions of electric heater.
Step S404, control MCU carry out periodical self-test to itself component.
Specifically, itself component of MCU includes but not limited to central processing unit, interrupt processing and execution, clock, storage
Device, internal data paths, PERCOM peripheral communication, input/output end port, monitoring device and comparator, and need the self-test in setting
The self-test to above-mentioned component is sequentially completed in period.
Step S406 after the completion of self-test, obtains the whether normal self-detection result of MCU internal operations;
Step S408, control show self-detection result by preset display mode to user.
Specifically, preset display mode includes but not limited to the mode of lamplight pointing and screen display.
Step S410 controls the S404~step S408 that repeats the above steps, and is receiving MCU self-tests knot input by user
When Shu Zhiling closes the MCU self-checking functions of electric heater, stopped according to the fault condition inside the MCU of MCU self-detection results instruction
The operation of corresponding security-related load.
Specifically, user can assign MCU self-test END instructions by modes such as button, cell phone software and voices, close
The MCU self-checking functions of electric heater.Further, in this embodiment it is possible to understand, electric heater can also closed
MCU self-checking functions after determine whether according to self-detection result carry out dependent failure exclusion.
The above embodiment of the present invention has MCU self-checking functions by the way that electric heater is arranged, can intuitively inform user
The operating condition of the electric controller core of electric heater at present so that user can be long-range in advance or closely obtains failure report
It is alert, further to debug, i.e., after detecting MCU internal operation unit failures, stop running immediately security-related
Load, prevents safety accident, so can effectively ensure the operational safety of electric heater, so that the person of user
And property safety has obtained effective guarantee.
The MCU detection control apparatus of first embodiment of the invention is specifically described with reference to Fig. 5 and Fig. 6.
As shown in figure 5, MCU detection control apparatus 50 according to a first embodiment of the present invention, for control household electrical appliance into
Row MCU self-tests, then MCU detection control apparatus 50 include:Receiving module 502, detection module 504 and control module 506.
Wherein, receiving module 502 is for receiving MCU self-test enabled instructions;Detection module 504 according to MCU self-tests for opening
The MCU of dynamic instruction control household electrical appliance executes internal detection operation, and exports MCU self-detection results;Control module 506 is used for basis
MCU self-detection results determine whether that the corresponding targeted security load of control household electrical appliance is out of service.
In this embodiment, when the MCU of household electrical appliance breaks down in order to prevent, cause household electric not in time due to knowing
Operation troubles occurs for device, and MCU self-checking functions can be arranged on household electrical appliance, specifically in the MCU self-tests for receiving user's transmission
After enabled instruction, the MCU that household electrical appliance are controlled according to the instruction carries out internal detection, and exports the self-detection result of MCU, in order to reach
To the purpose for ensureing household electrical appliance operational safety, control is determined the need for according to the self-detection result of MCU and stops household electrical appliance pair
The operation for the targeted security load answered, in this way, the automatic fault detection inside the MCU to household electrical appliance can be thus achieved, to
The operational safety for effectively ensureing household electrical appliance, while extending life of product so that the personal and property safety of user obtains
Effective guarantee.
Further, in the above-described embodiments, detection module 504 includes:Control submodule 5042 and output sub-module
5044, as shown in Figure 6.
Wherein, control submodule 5042 is used in each default detection cycle, control to multiple building blocks of MCU according to
It is secondary to execute corresponding detection operation;Output sub-module 5044 is used for when completion to each of multiple building blocks into component
When detection operation, the MCU self-detection results in corresponding output current preset detection cycle.
In this embodiment, it in order to effectively control the inside detection of MCU, realizes to the building block inside MCU
Timing monitoring, the default inspection that regular self-test is carried out for controlling MCU can be specifically set in MCU self-test enabled instructions
The period is surveyed, each within the overhaul period, needs to execute corresponding detection operation successively to multiple building blocks inside MCU, with
Ensure the matchings of MCU self-tests, succession and comprehensive, and completes each of multiple building blocks of MCU into portion
After the detection operation of part, you can output is currently from the MCU self-detection results in the overhaul period, and further, which includes
Each of MCU at the respective self-detection result of component, with can according to the corresponding testing result of each building block and
When control the operating status of corresponding with each building block targeted security load, and then ensure that the operation peace of household electrical appliance
Entirely.
Further, in the above-described embodiments, control submodule 5042, which can control, is passing through multiple default detection cycles
MCU self-test operations after MCU self-detection results are exported by output sub-module 5044, to ensure the stability of self-detection result and accurate
Property.
Further, in the above-described embodiments, control module 506 is specifically used for:Inside MCU self-detection results instruction MCU
When normal operation, control MCU executes internal detection operation according to default detection cycle;The fortune inside MCU self-detection results instruction MCU
When row is abnormal, it is out of service to control targeted security load corresponding with MCU self-detection results.
In this embodiment, when MCU self-detection results instruction MCU internal operations are normal, then illustrate the composition portion inside MCU
Part does not break down, then may further control MCU and continue periodically to execute internal detection operation according to default detection cycle,
Ensure to find failure timely processing in time;And when MCU self-detection results indicate MCU internal operation exceptions, then illustrate inside MCU
Building block, which has, to break down, for prevent because MCU internal operations extremely caused by household electrical appliance failure, or even cause accident,
Control is needed to stop the operation of targeted security load corresponding with MCU self-detection results, to ensure the personal and property safety of user.
Further, in the above-described embodiments, as shown in figure 5, MCU detection control apparatus 50 further includes:Display module
508, MCU self-detection results are indicated to the user that by default display mode for controlling.
It in this embodiment, can be by the self-detection result of MCU in order to ensure that user can recognize the operation conditions of MCU
It is indicated to user by default display mode, to reach in MCU operation exceptions, user is prompted to carry out troubleshooting in time
Purpose.
Further, in the above-described embodiments, the MCU self-tests that control module 506 can be received according to receiving module 502
The MCU that END instruction controls household electrical appliance stops executing internal detection operation, and user can specifically be adopted by human-computer interaction interface
With communication modes such as button, cell phone software and voices the MCU self-test END instructions are sent to household electrical appliance.
Fig. 7 shows the schematic block diagram of the MCU detection control apparatus of the second embodiment of the present invention.
As shown in fig. 7, MCU detection control apparatus 70 according to a second embodiment of the present invention, including processor 702 and storage
Device 704, wherein the computer program that can be run on processor 702, wherein memory 704 and place are stored on memory 704
It can be connected by bus between reason device 702, the processor 702 is for when executing the computer program stored in memory 704
The step of realizing the MCU detection control methods in embodiment as above.
Step in the method for the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the MCU detection control apparatus of the embodiment of the present invention can merge according to actual needs, divide and
It deletes.
According to an embodiment of the invention, it is proposed that a kind of computer readable storage medium is stored thereon with computer program,
The computer program realizes the step of MCU described in embodiment as above detects control method when being executed by processor.
Further, it is to be understood that any process described otherwise above or method are retouched in flow chart or herein
It states and is construed as, expression includes the steps that one or more executable fingers for realizing specific logical function or process
Module, segment or the part of the code of order, and the range of the preferred embodiment of the present invention includes other realization, wherein can
Not press sequence that is shown or discussing, include according to involved function by it is basic and meanwhile in the way of or in the opposite order,
Function is executed, this should understand by the embodiment of the present invention person of ordinary skill in the field.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer
In read/write memory medium.Storage medium mentioned above can be read-only memory, disk or CD etc..
As an embodiment of the present invention, it is also proposed that a kind of household electrical appliance, including described in any of the above-described embodiment
MCU detection control apparatus.
Optionally, the household electrical appliance can be water heater, water dispenser or water purifier etc. and the water heater includes combustion
Gas water heater or electric heater.
Technical scheme of the present invention is described in detail above in association with attached drawing, by the technical solution, household electric can be controlled
Device carries out MCU self-tests, realizes and is detected to the automatic fault inside the MCU of household electrical appliance, and controls household electric according to self-detection result
The operation of device, with achieve the purpose that ensure household electrical appliance operational safety, extend life of product while so that the person of user and
Property safety has obtained effective guarantee.
In an embodiment of the present invention, term " first " and " second " are only used for the purpose of description, and should not be understood as referring to
Show or imply relative importance, for the ordinary skill in the art, can understand above-mentioned term as the case may be
Concrete meaning in embodiments of the present invention.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of MCU detects control method, which is characterized in that carry out MCU self-tests, the MCU detections for controlling household electrical appliance
Control method includes:
Receive MCU self-test enabled instructions;
The MCU that the household electrical appliance are controlled according to the MCU self-tests enabled instruction executes internal detection operation, and exports MCU certainly
Examine result;
It is out of service to determine whether to control the corresponding targeted security load of the household electrical appliance according to the MCU self-detection results.
2. MCU according to claim 1 detects control method, which is characterized in that include in the MCU self-tests enabled instruction
Default detection cycle;And
The MCU that the household electrical appliance are controlled according to the MCU self-tests enabled instruction executes internal detection operation, and exports
It the step of MCU self-detection results, specifically includes:
In each default detection cycle, control executes corresponding detection to multiple building blocks of the MCU and grasps successively
Make;
When completing to operate each of the multiple building block at the detection of component, corresponding output is presently described default
The MCU self-detection results in detection cycle.
3. MCU according to claim 2 detects control method, which is characterized in that described true according to the MCU self-detection results
Whether controlling the corresponding targeted security of the household electrical appliance loads step out of service calmly, specifically includes:
When the MCU self-detection results indicate that the MCU internal operations are normal, the MCU is controlled according to the default detection week
Phase executes internal detection operation;
When the MCU self-detection results indicate the MCU internal operations exception, institute corresponding with the MCU self-detection results is controlled
It is out of service to state targeted security load.
4. MCU according to any one of claim 1 to 3 detects control method, which is characterized in that further include:
Control indicates to the user that the MCU self-detection results by default display mode.
5. a kind of MCU detection control apparatus, which is characterized in that carry out MCU self-tests, the MCU detections for controlling household electrical appliance
Control device includes:
Receiving module, for receiving MCU self-test enabled instructions;
Detection module, the MCU for controlling the household electrical appliance according to the MCU self-tests enabled instruction execute internal detection behaviour
Make, and exports MCU self-detection results;
Control module, for determining whether that controlling the corresponding targeted security of the household electrical appliance bears according to the MCU self-detection results
It carries out of service.
6. MCU detection control apparatus according to claim 5, which is characterized in that include in the MCU self-tests enabled instruction
Default detection cycle;And
The detection module includes:
Control submodule, in each default detection cycle, multiple building blocks of the MCU to be held in control successively
The corresponding detection operation of row;
Output sub-module, for when completing to operate each of the multiple building block at the detection of component, corresponding to
Export the MCU self-detection results in presently described default detection cycle.
7. MCU detection control apparatus according to claim 6, which is characterized in that the control module is specifically used for:
When the MCU self-detection results indicate that the MCU internal operations are normal, the MCU is controlled according to the default detection week
Phase executes internal detection operation;
When the MCU self-detection results indicate the MCU internal operations exception, institute corresponding with the MCU self-detection results is controlled
It is out of service to state targeted security load.
8. MCU detection control apparatus according to any one of claims 5 to 7, which is characterized in that further include:
Display module indicates to the user that the MCU self-detection results for controlling by default display mode.
9. a kind of MCU detection control apparatus, which is characterized in that including:
Processor;
Memory for storing the processor-executable instruction, wherein the processor is for executing in the memory
It is realized such as the step of any one of claims 1 to 4 the method when the executable instruction of storage.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
It is realized such as the step of any one of claims 1 to 4 the method when being executed by processor.
11. a kind of household electrical appliance, which is characterized in that including:MCU detection control dresses as described in any one of claim 5 to 9
It sets.
12. household electrical appliance according to claim 11, which is characterized in that the household electrical appliance include water heater, water dispenser
And water purifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810630491.6A CN108762239A (en) | 2018-06-19 | 2018-06-19 | MCU detects control method and control device, storage medium and household electrical appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810630491.6A CN108762239A (en) | 2018-06-19 | 2018-06-19 | MCU detects control method and control device, storage medium and household electrical appliance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108762239A true CN108762239A (en) | 2018-11-06 |
Family
ID=63978736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810630491.6A Pending CN108762239A (en) | 2018-06-19 | 2018-06-19 | MCU detects control method and control device, storage medium and household electrical appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108762239A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190407A (en) * | 2019-12-26 | 2020-05-22 | 中国家用电器研究院 | Detection method for rapidly exciting and positioning faults in HALT test based on software self-inspection |
WO2022121542A1 (en) * | 2020-12-11 | 2022-06-16 | 广州极飞科技股份有限公司 | Control method and control apparatus for unmanned device, and unmanned device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101169636B1 (en) * | 2011-07-29 | 2012-08-03 | 피에스텍주식회사 | Communication module power control on static whm |
CN102967846A (en) * | 2012-12-11 | 2013-03-13 | 江苏卡欧万泓电子有限公司 | Fault self-checking method for intelligent ammeter |
CN104678991A (en) * | 2014-12-26 | 2015-06-03 | 广东美的厨房电器制造有限公司 | Method and system for diagnosing abnormity of household appliance, server and household appliance |
CN107479550A (en) * | 2017-08-15 | 2017-12-15 | 深圳市招科智控科技有限公司 | It is a kind of it is unmanned in auto-steering method and system |
-
2018
- 2018-06-19 CN CN201810630491.6A patent/CN108762239A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101169636B1 (en) * | 2011-07-29 | 2012-08-03 | 피에스텍주식회사 | Communication module power control on static whm |
CN102967846A (en) * | 2012-12-11 | 2013-03-13 | 江苏卡欧万泓电子有限公司 | Fault self-checking method for intelligent ammeter |
CN104678991A (en) * | 2014-12-26 | 2015-06-03 | 广东美的厨房电器制造有限公司 | Method and system for diagnosing abnormity of household appliance, server and household appliance |
CN107479550A (en) * | 2017-08-15 | 2017-12-15 | 深圳市招科智控科技有限公司 | It is a kind of it is unmanned in auto-steering method and system |
Non-Patent Citations (1)
Title |
---|
肖家麟: "第二十七讲:功能安全型 电子产品的MCU故障检测", 《仪器仪表标准化与计量》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190407A (en) * | 2019-12-26 | 2020-05-22 | 中国家用电器研究院 | Detection method for rapidly exciting and positioning faults in HALT test based on software self-inspection |
WO2022121542A1 (en) * | 2020-12-11 | 2022-06-16 | 广州极飞科技股份有限公司 | Control method and control apparatus for unmanned device, and unmanned device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103568863B (en) | The Real-Time Monitoring diagnostic system of cell management system of electric automobile and diagnostic method | |
CN103869260B (en) | A kind of power detecting system and method | |
CN109597398A (en) | Failure automatic processing method, device, equipment and the storage medium of household electrical appliance | |
CN108051745A (en) | Test system, method and the computer readable storage medium of BMS | |
CN103631248B (en) | The test device of air-conditioner unit, method of testing and test system | |
CN104932335B (en) | A kind of control method and device of jack working condition | |
CN105425201A (en) | Metering chip simulation test method used for intelligent electric energy meter software reliability detection | |
CN203523055U (en) | Electric heating fabric and circuit integrity detection system for detecting integrity of sensing line | |
CN105223897A (en) | A kind of rolling stock electrical control cabinet proving installation and method of testing | |
CN105472165B (en) | The control method and control device of mobile terminal | |
CN104483567A (en) | 500kV line relay protection device detection method and system | |
CN108762239A (en) | MCU detects control method and control device, storage medium and household electrical appliance | |
CN106507403A (en) | The control method of wireless network module and control device | |
CN104394406A (en) | Detection system and method applicable to AC startup and shutdown test of television | |
CN103186128B (en) | Management monitoring system | |
CN104461664B (en) | MCU start-up mode selection circuits | |
CN105528261A (en) | Method and system for intelligently outputting debugging information for embedded device | |
CN104849541A (en) | Method for realizing voltage measurement abnormity detection in direct-current protection system | |
CN105157237B (en) | The control method and control device of heater | |
CN103983955B (en) | Power monitoring method in receiving and transmitting module test | |
CN103595999A (en) | Automatic detection method and automatic detection device of intelligent television | |
CN106526498B (en) | UPS self checking method and UPS self-checking circuit | |
CN108492535A (en) | A kind of household appliance monitoring method and device | |
CN106372502A (en) | Application closure limiting method and apparatus, and terminal | |
CN100539716C (en) | The method that a kind of main and standby boards is monitored and switched automatically |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181106 |
|
RJ01 | Rejection of invention patent application after publication |