CN110874073A - Separated household electrical appliance control device - Google Patents

Separated household electrical appliance control device Download PDF

Info

Publication number
CN110874073A
CN110874073A CN201811025337.2A CN201811025337A CN110874073A CN 110874073 A CN110874073 A CN 110874073A CN 201811025337 A CN201811025337 A CN 201811025337A CN 110874073 A CN110874073 A CN 110874073A
Authority
CN
China
Prior art keywords
controller
nfc
host controller
host
control information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811025337.2A
Other languages
Chinese (zh)
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.)
Ningbo Fotile Kitchen Ware Co Ltd
Original Assignee
Ningbo Fotile Kitchen Ware Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Fotile Kitchen Ware Co Ltd filed Critical Ningbo Fotile Kitchen Ware Co Ltd
Priority to CN201811025337.2A priority Critical patent/CN110874073A/en
Publication of CN110874073A publication Critical patent/CN110874073A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Abstract

The invention relates to a separated household appliance control device, which comprises a separated controller in communication connection with a host controller arranged in household appliance equipment, wherein the host controller comprises a main singlechip control unit, a household appliance function execution unit, an NFC card reading chip and a main NFC antenna; the separated controller comprises a battery, a control unit of the singlechip, a man-machine interaction module, an NFC dynamic tag and an NFC antenna. Compared with the prior art, the invention has the advantages that: in the information interaction process, the host controller and the separate controller read and write data to the memory in the NFC dynamic tag, and because the power consumption is very low and is almost zero when the data is read and written to the memory in the NFC dynamic tag, the data interaction communication is carried out by using the NFC dynamic tag as an information exchange medium, and the host controller and the separate controller can read and write the memory of the NFC dynamic tag only when the host controller and the separate controller detect that the other party is nearby, so that the power consumption is saved.

Description

Separated household electrical appliance control device
Technical Field
The invention relates to a separated household appliance control device.
Background
The use of a separate appliance controller may provide a better user experience in certain applications, such as: the firepower of gas-cooker is adjusted and is regularly set for, and the washing mode of basin dish washer is adjusted etc. and in these application occasions, the household electrical appliances controller of separation can convenience of customers operation on the one hand, promotes user experience, and on the other hand avoids water to controlling the influence at position, the convenience is to the cleanness of cooking utensils or dish washer panel.
Such a separate home appliance control device includes a separate controller communicatively connected to a host controller provided in the home appliance, and the separate controller is in a common form of: an infrared remote controller or an RF remote controller in one-way communication with the host controller of the home appliance, or an RF controller or a bluetooth remote controller in two-way communication with the host controller of the home appliance. The Near Field Communication (NFC) technology is applied to mobile phones and capturing sensing recording devices, generally adopts a standard communication protocol, is mainly used for occasions of identity recognition and data recording, and data interaction is carried out in an active access mode.
The infrared remote controller realizes bidirectional communication, has high power consumption and mutual interference, and needs to solve the problems of battery power supply and interference resistance; the RF remote controller or the bluetooth bidirectional remote controller also has a problem of large power consumption, requires a large-capacity battery, occupies a large volume, and has a high cost. An active access form in a field communication (NFC) technology needs to establish an access connection to a separate household appliance controller, and power consumption is large.
Disclosure of Invention
The present invention provides a separated household electrical appliance control device that can realize bidirectional communication without pairing between a host controller and a separated controller and has low power consumption.
The technical scheme adopted by the invention for solving the technical problems is as follows: a disconnect-type household electrical appliances controlling means, includes the disconnect-type controller with the host computer controller communication connection who sets up in the household electrical appliances, its characterized in that:
the host controller comprises a main single chip microcomputer control unit, a household appliance function execution unit, an NFC card reading chip and a main NFC antenna, wherein the household appliance function execution unit is connected with the main single chip microcomputer control unit, the main single chip microcomputer control unit exchanges data with the NFC card reading chip through a communication interface, and the NFC card reading chip reads sub-control information in a memory in an NFC dynamic tag in the split controller through the main NFC antenna or writes main control information to be transmitted to the split controller into the memory in the NFC dynamic tag;
the separated controller comprises a battery, a singlechip control unit, a man-machine interaction module, an NFC dynamic tag and a NFC antenna, and a memory and an electric energy collecting circuit are arranged in the NFC dynamic tag; the control unit of the single chip microcomputer realizes the instruction interaction with a user through a man-machine interaction module; the control unit of the singlechip exchanges data with the NFC dynamic label through a communication interface; the control unit of the singlechip writes the subcontrol information to be sent to the host controller into a memory of the NFC dynamic tag, or reads the master control information in the memory of the NFC dynamic tag;
the NFC card reading chip of the host controller senses the load change condition through the main NFC antenna to judge whether the separated controller approaches; the NFC dynamic tag of the separated controller judges whether the host controller approaches through the electric energy change of the electric energy collecting circuit; the host controller can perform read-write operation on the NFC dynamic tag memory only when detecting that the separated controller is within the sensing range of the host NFC antenna; the separated controller can only read and write the NFC dynamic tag memory when detecting that the host controller is within the sensing range of the NFC antenna.
As an improvement, the communication process of the host controller and the separate controller comprises the following steps
Step 1-1, an NFC card reading chip of a host controller periodically sends a dynamic label detection signal, whether a split controller approaches to the host controller is judged, if yes, the step 1-2 is carried out, and if not, the step 1-9 is carried out;
step 1-2, judging whether a communication data overtime clearing mark exists or not, if so, entering step 1-10; if not, entering the step 1-3;
step 1-3, judging whether the host controller writes the master control information to be transmitted to the split controller into an internal memory of the NFC dynamic label, but does not receive the response information of the split controller, if so, entering step 1-4; if not, entering the step 1-10;
step 1-4-, judging whether a timer of the host controller for periodically accessing the separate controller expires, if so, entering step 1-5; if not, returning to the step 1-1;
step 1-5, reading sub-control information in a memory in an NFC dynamic tag in a separated controller by an NFC card reading chip of a host controller through a main NFC antenna, and then entering step 1-6;
step 1-6, judging whether the response mark of the separated controller to the host controller in the sub-control information is responded, if so, reading response data in the sub-control information by the host controller, then sending the response data to a host single-chip microcomputer control unit for corresponding processing, setting the response mark of the separated controller to the host controller as responded, and then entering step 1-7; if not, the response of the separated controller to the main control information is overtime, the host controller forcibly rewrites the response mark of the separated controller to the host controller in the memory, sets the response mark of the separated controller to the host controller as responded, and then enters the step 1-7;
step 1-7, judging whether sub-control information in a memory in the NFC dynamic tag is updated or not, and if yes, entering step 1-8; if not, returning to the step 1-1;
step 1-8, reading sub-control information in a memory in an NFC dynamic tag in the separated controller by an NFC card reading chip of the host controller through a host NFC antenna, then sending the sub-control information to a host single-chip microcomputer control unit for corresponding processing, changing a read-write mark of the sub-control information into a read mark, and then returning to the step 1-1;
step 1-9, judging whether the time of the separated control far away from the host controller exceeds the preset time, if so, setting a communication data overtime clearing mark, and then returning to the step 1-1; if not, directly returning to the step 1-1;
step 1-10, judging whether the host controller has master control information to send to the separated controller, if so, entering step 1-11; if not, returning to the step 1-1;
step 1-11, writing master control information to be transmitted to the split controller into an internal memory of an NFC dynamic label by the host controller, setting a response mark of the split controller as a waiting response by the host controller, resetting a timer for periodically accessing the split controller by the host controller, and returning to step 1-1;
the communication process of the separated controller and the host controller comprises the following steps:
step 2-1, the split controller judges whether the host controller is close to the host controller through the electric energy collecting circuit, if the electric energy collecting circuit detects a dynamic label detection signal sent by the host controller, an electric energy induction signal is generated, and the step 2-2 is carried out; if not, entering the step 2-9;
step 2-2, judging whether a communication data overtime clearing mark exists or not, if so, entering step 2-10; if not, entering the step 2-3;
step 2-3, judging whether the separated controller writes the sub-control information into the memory in the NFC dynamic label, but does not receive the response information of the host controller, if so, entering step 2-4; if not, entering the step 2-10;
step 2-4-, judging whether the timer of the host controller periodically accessed by the split controller expires, if so, entering step 2-5; if not, returning to the step 2-1;
step 2-5, the controller of the single chip microcomputer reads the master control information in the memory in the NFC dynamic tag, and then the step 2-6 is carried out;
step 2-6, judging whether the response mark of the main controller to the separation type controller in the main control information is responded, if so, reading the response data in the main control information by the singlechip controller, then carrying out corresponding processing, setting the response mark of the main controller to the separation type controller as responded, and then entering step 2-7; if not, the response of the host controller to the control information is overtime, the singlechip controller forcibly rewrites the response mark of the main controller to the separate controller in the memory, sets the response mark of the main controller to the separate controller as responded, and then enters the step 2-7;
2-7, judging whether master control information in a memory in the NFC dynamic tag is updated, if so, entering the step 2-8; if not, returning to the step 2-1;
step 2-8, the main branch single chip microcomputer controller reads response data in the main control information, then carries out corresponding processing, changes the read-write mark of the main control information into read mark, and then returns to step 2-1;
step 2-9, judging whether the time for the host to control the host to be far away from the separated controller exceeds preset time, if so, clearing all master control information and branch control information in a memory in the NFC dynamic label, setting a communication data overtime clearing mark, and then returning to the step 2-1; if not, directly returning to the step 2-1;
step 2-10, judging whether the separated controller has sub-control information to send to the host controller, if so, entering step 2-11; if not, returning to the step 2-1;
and 2-11, writing the sub-control information to be transmitted to the split controller into an internal memory of the NFC dynamic label by the split controller, setting a response mark of the host controller by the single chip microcomputer controller as a waiting response, clearing a timer for periodically accessing the host controller by the split controller, and returning to the step 2-1.
Compared with the prior art, the invention has the advantages that: in the information interaction process, the host controller and the separate controller read and write data to the memory in the NFC dynamic tag, and because the power consumption is very low and is almost zero when the data is read and written to the memory in the NFC dynamic tag, the data interaction communication is carried out by using the NFC dynamic tag as an information exchange medium, and the host controller and the separate controller can read and write the memory of the NFC dynamic tag only when the host controller and the separate controller detect that the other party is nearby, so that the power consumption is saved.
Drawings
FIG. 1 is a block diagram of a communication connection between a host controller and a separate controller according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a communication interaction process between a host controller and a separate controller according to an embodiment of the present invention.
FIG. 3 is a flow chart of the communication interaction process between the separate controller and the host controller according to the embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the accompanying examples.
The separated household appliance control device shown in fig. 1 comprises a separated controller which is connected with a host controller in a communication way and is arranged in the household appliance, wherein
The host controller comprises a main singlechip control unit, a household appliance function execution unit, an NFC card reading chip and a main NFC antenna, wherein the household appliance function execution unit is connected with the main singlechip control unit, the main singlechip control unit exchanges data with the NFC card reading chip through a communication interface, and the NFC card reading chip reads sub-control information in a memory in an NFC dynamic tag in the split controller through the main NFC antenna or writes main control information to be transmitted to the split controller into the memory in the NFC dynamic tag;
the separated controller comprises a battery, a singlechip control unit, a man-machine interaction module, an NFC dynamic tag and a NFC antenna, and a memory and an electric energy collecting circuit are arranged in the NFC dynamic tag; the control unit of the single chip microcomputer realizes the instruction interaction with a user through a man-machine interaction module; the control unit of the singlechip exchanges data with the NFC dynamic label through a communication interface; the control unit of the singlechip writes the subcontrol information to be sent to the host controller into a memory of the NFC dynamic tag, or reads the master control information in the memory of the NFC dynamic tag; an electric energy collecting circuit in the NFC dynamic tag can collect high-frequency signal energy generated by the main NFC antenna, convert the high-frequency signal energy into electric energy and provide electric power for the NFC dynamic tag; meanwhile, the collected electric energy can be rectified, filtered, boosted and stabilized through the power management unit, the battery is charged, and power is provided for other circuits of the separated controller; the man-machine interaction module comprises a display screen and a key;
the NFC card reading chip of the host controller senses the load change condition through the main NFC antenna to judge whether the separated controller approaches; the NFC dynamic tag of the separated controller judges whether the host controller approaches through the electric energy change of the electric energy collecting circuit; the host controller can perform read-write operation on the NFC dynamic tag memory only when detecting that the separated controller is within the sensing range of the host NFC antenna; the separated controller can only read and write the NFC dynamic tag memory when detecting that the host controller is within the sensing range of the NFC antenna.
Data transmission and reception:
the method comprises the steps that sending data and response data of a host controller are written into different storage units of an NFC dynamic tag memory of the split controller, the host controller sends high-frequency signals through an NFC card reading chip and reads and writes different storage units of the NFC dynamic tag memory of the split controller, the sending data and the response data of the host controller are written into and read from the sending data and the response data of the split controller, the sending data and the response data of the host controller are collectively called master control information, and the sending data and the reading data of the response data of the split controller are collectively called sub-control information; the separated controller is communicated with the NFC dynamic label through the control unit of the singlechip, and reads and writes different storage units of an NFC dynamic label memory of the separated controller, so that the sending and the writing of response data of the separated controller are completed, and the sending data and the reading of the response data of the host controller are completed.
The card reading chip of the host controller can judge whether the separated controller approaches through the load change of the NFC antenna, and the host controller sends a data reading and writing signal to the separated controller when detecting that the separated controller approaches; when the separated controller is detected to be far away from the host controller, data reading and writing are not carried out, and a communication data overtime clearing mark is set to prompt that the sending and receiving data are actively updated when the separated controller is close next time.
The dynamic label of the separated controller can judge whether the host controller approaches through the electric energy change of the electric energy collecting circuit. When the separated controller detects that the host controller approaches, the separated controller performs data interaction with the host controller by reading and writing the master control information of the NFC dynamic label memory to complete the communication process; when the host controller is detected to be far away from the separated controller, reading and writing of sub-control information are not carried out, and a communication data overtime clearing mark is arranged to prompt that the sending and receiving data are actively updated when the host controller is close next time.
When the host controller needs to send master control information to the split controller, the card reading chip of the host controller sends a data writing instruction through the main NFC antenna of the host controller, and the sub NFC antenna of the split controller receives signals and writes data into the memory of the NFC dynamic tag. In order to make the disconnect-type controller in time receive host controller's master control information, when the disconnect-type controller is close to the host controller, NFC electric energy can be sensed to the electric energy collection circuit of disconnect-type controller to change through the IO mouth of NFC dynamic label and awaken up or inform the singlechip the control unit, the singlechip the control unit is knowing that the host controller is close to when, initiative periodic access NFC dynamic label, periodic access's interval cycle can adjust as required, if: 100mS or 500mS, etc. Marking the accessed master control information to avoid repeated access; meanwhile, the response data is written into a memory of the NFC dynamic tag; the card reading chip of the host controller can periodically read the sub-control information in the NFC dynamic label memory of the separate controller to obtain response data.
When the separated controller needs to send data to the host controller, the sub-control information is written into the memory of the NFC dynamic tag of the separated controller by the sub-controller single-chip control unit. In order to obtain the updated data of the split controller in time, the host controller sends a detection signal to sense whether the split controller is close, when the split controller is close, the card reading chip of the host controller sends a reading instruction to regularly read the data written by the split controller in the NFC dynamic tag memory of the split controller, and the interval period of regular access can be adjusted as required, for example: 100mS or 500mS, etc. Marking the accessed data to avoid repeated access; meanwhile, the response data is written into the memory of the dynamic label; the single chip microcomputer control unit of the separated controller can regularly read data related to host controller response in the NFC dynamic label memory of the separated controller so as to obtain host controller response data.
The data formats of different applications may be different, and the NFC dynamic tag memory is used as a conversion medium, in this embodiment, the sending data of the host controller, the response data of the split controller, the sending data of the split controller, and the response data of the host controller each occupy 7 bytes, and occupy 28 bytes in total:
the data sent by the host controller is 7 bytes, namely main _ data [0] to main _ data [6], and is written into the NFC dynamic tag memory:
main _ data [0] to main _ data [1 ]: user code + user code complement;
main _ data [2] -main _ data [3 ]: the host controller accesses the data code 1+ the host controller accesses the data code 1 for code reversal;
main _ data [4] to main _ data [5 ]: the host controller accesses the data code 2+ the host controller accesses the data code 2 for decoding;
main _ data [6 ]: the byte is used for indicating whether the group of data is read by the singlechip control unit of the split controller, the written data is 0x0f when the host controller sends the data, and the data can be rewritten after the split controller reads the data.
The single chip microcomputer control unit of the separated controller periodically reads the transmission data of the NFC dynamic tag memory, detects whether the data of main _ data [6] is 0x0f when reading the transmission data, if so, confirms that the data of main _ data [0] -main _ data [5] transmitted by the host controller are not read, reads main _ data [0] -main _ data [5], and rewrites the main _ data [6] to 0xa 5;
after receiving the data of the host controller, the split controller determines whether to answer or not according to needs, wherein the data of the answer is 7 bytes, namely main _ data _ ack [0] to main _ data _ ack [6], and is written into an NFC dynamic tag memory;
main _ data _ ack [0] to main _ data _ ack [1 ]: user code + user code complement;
main _ data _ ack [2] to main _ data _ ack [3 ]: the answer data code 1+ of the separate controller is the inverse code of the answer data code 1 of the separate controller;
main _ data _ ack [4] to main _ data _ ack [5 ]: the answer data code of the separate type controller is 2+ the answer data code of the separate type controller is 2 inversed;
main _ data _ ack [6 ]: the byte is used for indicating whether the group of data is read by the card reading chip of the host controller, the written data when the split controller responds is 0x0f, and the data can be rewritten after the host controller reads the data.
The card reading chip of the host controller periodically reads data of the NFC dynamic tag memory, detects whether the data of main _ data _ ack [6] is 0x0f when reading the data, if so, confirms that the data main _ data _ ack [0] -main _ data _ ack [5] sent by the split controller is not read, reads main _ data _ ack [0] -n _ data _ ack [5], and rewrites the main _ data _ ack [6] to 0xa 5.
When the separate controller needs to send data to the host controller, the NFC dynamic tag memory is also used as a data exchange medium, and the data sent by the separate controller is 7 bytes which are extract _ data [0] to extract _ data [6] and are written into the NFC dynamic tag memory.
Extract _ data [0] to extract _ data [1 ]: user code + user code complement;
extract _ data [2] to extract _ data [3 ]: the split controller accesses the data code 1+ the split controller accesses the data code 1 for decoding;
extract _ data [4] to extract _ data [5 ]: the split controller accesses the data code 2+ the split controller accesses the data code 2 complement;
extract _ data [6 ]: the byte is used for indicating whether the group of data is read by the card reading chip of the host controller, the written data is 0x0f when the split controller sends the data, and the data is rewritten after the host controller reads the data.
The card reading chip of the host controller periodically reads the data of the NFC dynamic tag memory, detects whether the data of the extract _ data [6] is 0x0f when the data is read, if so, confirms that the data extract _ data [0] -extract _ data [5] sent by the separate controller is not read, reads the extract _ data [0] -extract _ data [5], and rewrites the extract _ data [6] to 0xa 5.
After receiving host controller data, the host controller determines whether to answer or not according to needs, wherein the answered data are 7 bytes and are distributed _ data _ ack [0] to distributed _ data _ ack [6], and the data are written into an NFC dynamic tag memory.
Extract _ data _ ack [0] to extract _ data _ ack [1 ]: user code + user code complement;
extract _ data _ ack [2] to extract _ data _ ack [3 ]: the host controller responds to the data code 1+ the host controller responds to the data code 1 for code reversal;
extract _ data _ ack [4] to extract _ data _ ack [5 ]: the host controller responds to the data code 2+ the host controller responds to the data code 2 with code reversal;
extract _ data _ ack [6 ]: the byte is used for indicating whether the group of data is read by the singlechip control unit of the split controller, the written data is 0x0f when the host controller responds, and the data can be rewritten after the split controller reads.
The single chip control unit of the split controller periodically reads data of the NFC dynamic tag memory, detects whether data of the extract _ data _ ack [6] is 0x0f when the data are read, if so, confirms that the data extract _ data _ ack [0] to extract _ data _ ack [5] sent by the host controller are not read, reads the extract _ data _ ack [0] to extract _ data _ ack [5], and rewrites the extract _ data _ ack [6] to 0xa 5.
And the host controller sends a read command every 100mS, and reads the split controller data in the dynamic tag memory of the split controller to obtain whether the split controller has data updating, wherein the read data comprises two parts, namely split controller sending data and split controller answering data.
And the split controller sends a read command every 100mS, and reads host controller data in the dynamic tag memory of the split controller to obtain whether the host controller has data update, wherein the read data comprises two parts, namely host controller sending data and host controller answering data.
Therefore, the communication process between the host controller and the split controller includes the following steps, as shown in fig. 2, in which the host controller is simply referred to as the master controller, and the split controller is simply referred to as the slave controller:
step 1-1, an NFC card reading chip of a host controller periodically sends a dynamic label detection signal, whether a split controller approaches to the host controller is judged, if yes, the step 1-2 is carried out, and if not, the step 1-9 is carried out;
step 1-2, judging whether a communication data overtime clearing mark exists or not, if so, entering step 1-10; if not, entering the step 1-3;
step 1-3, judging whether the host controller writes the master control information to be transmitted to the split controller into an internal memory of the NFC dynamic label, but does not receive the response information of the split controller, if so, entering step 1-4; if not, entering the step 1-10;
step 1-4-, judging whether a timer of the host controller for periodically accessing the separate controller expires, if so, entering step 1-5; if not, returning to the step 1-1;
step 1-5, reading sub-control information in a memory in an NFC dynamic tag in a separated controller by an NFC card reading chip of a host controller through a main NFC antenna, and then entering step 1-6;
step 1-6, judging whether the response mark of the separated controller to the host controller in the sub-control information is responded, if so, reading response data in the sub-control information by the host controller, then sending the response data to a host single-chip microcomputer control unit for corresponding processing, setting the response mark of the separated controller to the host controller as responded, and then entering step 1-7; if not, the response of the separated controller to the main control information is overtime, the host controller forcibly rewrites the response mark of the separated controller to the host controller in the memory, sets the response mark of the separated controller to the host controller as responded, and then enters the step 1-7;
step 1-7, judging whether sub-control information in a memory in the NFC dynamic tag is updated or not, and if yes, entering step 1-8; if not, returning to the step 1-1;
step 1-8, reading sub-control information in a memory in an NFC dynamic tag in the separated controller by an NFC card reading chip of the host controller through a host NFC antenna, then sending the sub-control information to a host single-chip microcomputer control unit for corresponding processing, changing a read-write mark of the sub-control information into a read mark, and then returning to the step 1-1;
step 1-9, judging whether the time of the separated control far away from the host controller exceeds the preset time, if so, setting a communication data overtime clearing mark, and then returning to the step 1-1; if not, directly returning to the step 1-1;
step 1-10, judging whether the host controller has master control information to send to the separated controller, if so, entering step 1-11; if not, returning to the step 1-1;
step 1-11, writing master control information to be transmitted to the split controller into an internal memory of an NFC dynamic label by the host controller, setting a response mark of the split controller as a waiting response by the host controller, resetting a timer for periodically accessing the split controller by the host controller, and returning to step 1-1;
the communication process between the separate controller and the host controller includes the following steps, as shown in fig. 3, in the figure, the host controller is referred to as the master controller for short, and the separate controller is referred to as the slave controller for short:
step 2-1, the split controller judges whether the host controller is close to the host controller through the electric energy collecting circuit, if the electric energy collecting circuit detects a dynamic label detection signal sent by the host controller, an electric energy induction signal is generated, and the step 2-2 is carried out; if not, entering the step 2-9;
step 2-2, judging whether a communication data overtime clearing mark exists or not, if so, entering step 2-10; if not, entering the step 2-3;
step 2-3, judging whether the separated controller writes the sub-control information into the memory in the NFC dynamic label, but does not receive the response information of the host controller, if so, entering step 2-4; if not, entering the step 2-10;
step 2-4-, judging whether the timer of the host controller periodically accessed by the split controller expires, if so, entering step 2-5; if not, returning to the step 2-1;
step 2-5, the controller of the single chip microcomputer reads the master control information in the memory in the NFC dynamic tag, and then the step 2-6 is carried out;
step 2-6, judging whether the response mark of the main controller to the separation type controller in the main control information is responded, if so, reading the response data in the main control information by the singlechip controller, then carrying out corresponding processing, setting the response mark of the main controller to the separation type controller as responded, and then entering step 2-7; if not, the response of the host controller to the control information is overtime, the singlechip controller forcibly rewrites the response mark of the main controller to the separate controller in the memory, sets the response mark of the main controller to the separate controller as responded, and then enters the step 2-7;
2-7, judging whether master control information in a memory in the NFC dynamic tag is updated, if so, entering the step 2-8; if not, returning to the step 2-1;
step 2-8, the main branch single chip microcomputer controller reads response data in the main control information, then carries out corresponding processing, changes the read-write mark of the main control information into read mark, and then returns to step 2-1;
step 2-9, judging whether the time for the host to control the host to be far away from the separated controller exceeds preset time, if so, clearing all master control information and branch control information in a memory in the NFC dynamic label, setting a communication data overtime clearing mark, and then returning to the step 2-1; if not, directly returning to the step 2-1;
step 2-10, judging whether the separated controller has sub-control information to send to the host controller, if so, entering step 2-11; if not, returning to the step 2-1;
and 2-11, writing the sub-control information to be transmitted to the split controller into an internal memory of the NFC dynamic label by the split controller, setting a response mark of the host controller by the single chip microcomputer controller as a waiting response, clearing a timer for periodically accessing the host controller by the split controller, and returning to the step 2-1.

Claims (2)

1. A disconnect-type household electrical appliances controlling means, includes the disconnect-type controller with the host computer controller communication connection who sets up in the household electrical appliances, its characterized in that:
the host controller comprises a main single chip microcomputer control unit, a household appliance function execution unit, an NFC card reading chip and a main NFC antenna, wherein the household appliance function execution unit is connected with the main single chip microcomputer control unit, the main single chip microcomputer control unit exchanges data with the NFC card reading chip through a communication interface, and the NFC card reading chip reads sub-control information in a memory in an NFC dynamic tag in the split controller through the main NFC antenna or writes main control information to be transmitted to the split controller into the memory in the NFC dynamic tag;
the separated controller comprises a battery, a singlechip control unit, a man-machine interaction module, an NFC dynamic tag and a NFC antenna, and a memory and an electric energy collecting circuit are arranged in the NFC dynamic tag; the control unit of the single chip microcomputer realizes the instruction interaction with a user through a man-machine interaction module; the control unit of the singlechip exchanges data with the NFC dynamic label through a communication interface; the control unit of the singlechip writes the subcontrol information to be sent to the host controller into a memory of the NFC dynamic tag, or reads the master control information in the memory of the NFC dynamic tag;
the NFC card reading chip of the host controller senses the load change condition through the main NFC antenna to judge whether the separated controller approaches; the NFC dynamic tag of the separated controller judges whether the host controller approaches through the electric energy change of the electric energy collecting circuit; the host controller can perform read-write operation on the NFC dynamic tag memory only when detecting that the separated controller is within the sensing range of the host NFC antenna; the separated controller can only read and write the NFC dynamic tag memory when detecting that the host controller is within the sensing range of the NFC antenna.
2. The discrete home appliance control device according to claim 1, wherein: the communication process of the host controller and the separate controller comprises the following steps
Step 1-1, an NFC card reading chip of a host controller periodically sends a dynamic label detection signal, whether a split controller approaches to the host controller is judged, if yes, the step 1-2 is carried out, and if not, the step 1-9 is carried out;
step 1-2, judging whether a communication data overtime clearing mark exists or not, if so, entering step 1-10; if not, entering the step 1-3;
step 1-3, judging whether the host controller writes the master control information to be transmitted to the split controller into an internal memory of the NFC dynamic label, but does not receive the response information of the split controller, if so, entering step 1-4; if not, entering the step 1-10;
step 1-4-, judging whether a timer of the host controller for periodically accessing the separate controller expires, if so, entering step 1-5; if not, returning to the step 1-1;
step 1-5, reading sub-control information in a memory in an NFC dynamic tag in a separated controller by an NFC card reading chip of a host controller through a main NFC antenna, and then entering step 1-6;
step 1-6, judging whether the response mark of the separated controller to the host controller in the sub-control information is responded, if so, reading response data in the sub-control information by the host controller, then sending the response data to a host single-chip microcomputer control unit for corresponding processing, setting the response mark of the separated controller to the host controller as responded, and then entering step 1-7; if not, the response of the separated controller to the main control information is overtime, the host controller forcibly rewrites the response mark of the separated controller to the host controller in the memory, sets the response mark of the separated controller to the host controller as responded, and then enters the step 1-7;
step 1-7, judging whether sub-control information in a memory in the NFC dynamic tag is updated or not, and if yes, entering step 1-8; if not, returning to the step 1-1;
step 1-8, reading sub-control information in a memory in an NFC dynamic tag in the separated controller by an NFC card reading chip of the host controller through a host NFC antenna, then sending the sub-control information to a host single-chip microcomputer control unit for corresponding processing, changing a read-write mark of the sub-control information into a read mark, and then returning to the step 1-1;
step 1-9, judging whether the time of the separated control far away from the host controller exceeds the preset time, if so, setting a communication data overtime clearing mark, and then returning to the step 1-1; if not, directly returning to the step 1-1;
step 1-10, judging whether the host controller has master control information to send to the separated controller, if so, entering step 1-11; if not, returning to the step 1-1;
step 1-11, writing master control information to be transmitted to the split controller into an internal memory of an NFC dynamic label by the host controller, setting a response mark of the split controller as a waiting response by the host controller, resetting a timer for periodically accessing the split controller by the host controller, and returning to step 1-1;
the communication process of the separated controller and the host controller comprises the following steps:
step 2-1, the split controller judges whether the host controller is close to the host controller through the electric energy collecting circuit, if the electric energy collecting circuit detects a dynamic label detection signal sent by the host controller, an electric energy induction signal is generated, and the step 2-2 is carried out; if not, entering the step 2-9;
step 2-2, judging whether a communication data overtime clearing mark exists or not, if so, entering step 2-10; if not, entering the step 2-3;
step 2-3, judging whether the separated controller writes the sub-control information into the memory in the NFC dynamic label, but does not receive the response information of the host controller, if so, entering step 2-4; if not, entering the step 2-10;
step 2-4-, judging whether the timer of the host controller periodically accessed by the split controller expires, if so, entering step 2-5; if not, returning to the step 2-1;
step 2-5, the controller of the single chip microcomputer reads the master control information in the memory in the NFC dynamic tag, and then the step 2-6 is carried out;
step 2-6, judging whether the response mark of the main controller to the separation type controller in the main control information is responded, if so, reading the response data in the main control information by the singlechip controller, then carrying out corresponding processing, setting the response mark of the main controller to the separation type controller as responded, and then entering step 2-7; if not, the response of the host controller to the control information is overtime, the singlechip controller forcibly rewrites the response mark of the main controller to the separate controller in the memory, sets the response mark of the main controller to the separate controller as responded, and then enters the step 2-7;
2-7, judging whether master control information in a memory in the NFC dynamic tag is updated, if so, entering the step 2-8; if not, returning to the step 2-1;
step 2-8, the main branch single chip microcomputer controller reads response data in the main control information, then carries out corresponding processing, changes the read-write mark of the main control information into read mark, and then returns to step 2-1;
step 2-9, judging whether the time for the host to control the host to be far away from the separated controller exceeds preset time, if so, clearing all master control information and branch control information in a memory in the NFC dynamic label, setting a communication data overtime clearing mark, and then returning to the step 2-1; if not, directly returning to the step 2-1;
step 2-10, judging whether the separated controller has sub-control information to send to the host controller, if so, entering step 2-11; if not, returning to the step 2-1;
and 2-11, writing the sub-control information to be transmitted to the split controller into an internal memory of the NFC dynamic label by the split controller, setting a response mark of the host controller by the single chip microcomputer controller as a waiting response, clearing a timer for periodically accessing the host controller by the split controller, and returning to the step 2-1.
CN201811025337.2A 2018-09-04 2018-09-04 Separated household electrical appliance control device Pending CN110874073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811025337.2A CN110874073A (en) 2018-09-04 2018-09-04 Separated household electrical appliance control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811025337.2A CN110874073A (en) 2018-09-04 2018-09-04 Separated household electrical appliance control device

Publications (1)

Publication Number Publication Date
CN110874073A true CN110874073A (en) 2020-03-10

Family

ID=69716022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811025337.2A Pending CN110874073A (en) 2018-09-04 2018-09-04 Separated household electrical appliance control device

Country Status (1)

Country Link
CN (1) CN110874073A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4591851A (en) * 1982-07-28 1986-05-27 Motorola, Inc. General purpose data control system
CN102902653A (en) * 2012-10-09 2013-01-30 天津市松正电动汽车技术股份有限公司 Serial communication protocol for controller
CN103532596A (en) * 2012-07-05 2014-01-22 捷讯研究有限公司 Methods and devices for detecting a hand
CN104156748A (en) * 2014-08-20 2014-11-19 广东欧珀移动通信有限公司 Method for reading and writing label and device thereof
CN104378274A (en) * 2014-11-20 2015-02-25 中国船舶重工集团公司第七二六研究所 Non-master network communication system based on CAN bus
CN104680760A (en) * 2014-09-22 2015-06-03 海信集团有限公司 Remote controller
CN104932676A (en) * 2014-03-17 2015-09-23 黄议德 Device and method for controlling actions of electronic device in no battery mode, and use thereof
CN205318414U (en) * 2015-12-07 2016-06-15 武汉理工大学 Wireless telecom equipment based on NFC
CN105897313A (en) * 2016-04-01 2016-08-24 王清斌 NFC communication system and NFC communication method for optimizing energy acquisition and realizing small-size antenna

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4591851A (en) * 1982-07-28 1986-05-27 Motorola, Inc. General purpose data control system
CN103532596A (en) * 2012-07-05 2014-01-22 捷讯研究有限公司 Methods and devices for detecting a hand
CN102902653A (en) * 2012-10-09 2013-01-30 天津市松正电动汽车技术股份有限公司 Serial communication protocol for controller
CN104932676A (en) * 2014-03-17 2015-09-23 黄议德 Device and method for controlling actions of electronic device in no battery mode, and use thereof
CN104156748A (en) * 2014-08-20 2014-11-19 广东欧珀移动通信有限公司 Method for reading and writing label and device thereof
CN104680760A (en) * 2014-09-22 2015-06-03 海信集团有限公司 Remote controller
CN104378274A (en) * 2014-11-20 2015-02-25 中国船舶重工集团公司第七二六研究所 Non-master network communication system based on CAN bus
CN205318414U (en) * 2015-12-07 2016-06-15 武汉理工大学 Wireless telecom equipment based on NFC
CN105897313A (en) * 2016-04-01 2016-08-24 王清斌 NFC communication system and NFC communication method for optimizing energy acquisition and realizing small-size antenna

Similar Documents

Publication Publication Date Title
CN101998695A (en) Method, device and system for configuring WiFi setting parameters of terminal equipment
CN103176445A (en) BLC2200-based intelligent household control system and control method thereof
CN204069011U (en) Based on the ZigBee intelligent domestic system of intelligent sensor and Voice command terminal
CN202815484U (en) Electric cooker remote control system
WO2015188529A1 (en) Method and system for managing embedded monitoring device
CN203882187U (en) Wireless household network system
CN203204401U (en) Aquaculture water quality monitoring system
CN203984450U (en) Intelligent domestic gateway
CN102129228B (en) Monitoring system and configuration method thereof
CN204177415U (en) A kind of expandable type environmental detection set
CN110874073A (en) Separated household electrical appliance control device
CN104865840A (en) Intelligent household control device
CN202475468U (en) Home information terminal platform based on IOT
CN204884144U (en) Industry near field data acquisition system
CN204576649U (en) A kind of house access control system
KR101599905B1 (en) Wireless communication module and method for providing automatic configuration of network
CN205563200U (en) Based on wireless sensing management system for construction
CN211239882U (en) System with local remote control state synchronization function
CN201859324U (en) Remote wireless control system for air conditioner
CN202935897U (en) Sudden-stop lock switch position recognition device of belt conveyor
CN112636105A (en) Power socket, electric equipment and management system thereof
CN207348675U (en) A kind of door machine control system based on wireless communication technique
CN111830839A (en) Intelligent home remote control system based on wireless sensor network
CN205299434U (en) Wireless control terminal lower computer system of exhibition room lighting system
CN203102307U (en) Intelligent handheld device

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