Method for reversing motor of electric curtain

Through the AI ​​voice chip and local MCU, voice commands are recognized and adjusted the motor rotation direction, the complex problems of disassembly and key operation during the reversing of electric curtain motors, and convenient and safe curtain control is achieved.

CN119049467APending Publication Date: 2024-11-29ZHENGZHOU MUHE ELECTRONIC PROD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411238742.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

Existing electric curtain products require disassembly or complex keys when reversing the motor, resulting in high requirements for construction personnel and cumbersome operation, and difficult to guarantee quality.

Method used

Using AI voice chip and local MCU, the motor rotation direction data is identified through voice commands, and the motor phase is adjusted through electrical signals to realize the switch of curtains without disassembling or operating buttons.

Benefits of technology

It realizes the convenience of reversing electric curtain motors, reduces construction complexity and error risks, and improves operation convenience and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119049467A_ABST
    Figure CN119049467A_ABST
Patent Text Reader

Abstract

The invention discloses an electric curtain motor reversing method, and belongs to the technical field of electric curtain opening and closing control. Comprising the steps that an AI voice chip receives a voice signal instruction, encodes the recognized instruction and sends the encoded instruction to a local MCU; after receiving the instruction code, the local MCU returns information to the AI voice chip according to a local operation state; the AI voice chip decodes the information received from the local MCU, and organizes the corresponding broadcast audio data to broadcast after querying the built-in offline entry of the AI voice chip; the local MCU reads motor rotation direction data according to a voice instruction recognized by the AI voice chip; the local MCU transmits read motor rotation direction data to the motor driving control circuit in the form of an electric signal, and the motor driving control circuit adjusts the phase change of the motor and drives a motor rotor to rotate forwards or backwards, so that the curtain is closed or opened. When motor reversing is carried out, motor reversing of the curtain can be achieved through voice instructions without disassembling the motor or operating keys, and man-machine interaction and operation are more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electric curtain opening and closing control, and in particular to a method for reversing an electric curtain motor. Background Art

[0002] There are currently two solutions to the motor commutation problem for electric curtain products on the market: the first type is to directly use a wrench to disassemble the motor product on site, and then change the connection method of the motor interface line after opening it. Specifically, the curtain motor has four pins, namely A, B, C, and D; when the power is on, when A and B are connected and C and D are disconnected, the motor rotates forward; when C and D are connected and A and B are disconnected, the motor reverses. Therefore, as long as the wiring method is adjusted, the forward and reverse conversion of the motor can be achieved. The second type is that a physical setting button is configured on the curtain motor. By distinguishing the length of time the button is pressed and the number of times the button is pressed, a specific setting process is entered. During this period, the LED indicator flashes the number of times, stays on, and other states are used for interaction. The commutation operation is completed only after the process of verifying the stroke and other processes.

[0003] The first type of solution is simple and crude, which is to directly open the shell from the source of the hardware. It has high requirements for the construction workers, and the quality of the on-site rectification cannot be guaranteed. If you are not careful, the whole machine will be scrapped. The second type of solution omits the necessary shell opening steps and performs reversing by setting the reserved buttons. The actual operation is extremely cumbersome. The electric curtain is installed under the ceiling, and you have to climb up, press buttons, and observe the LED indicator. If you are careless, you have to set everything from scratch. Both methods have their own disadvantages.

[0004] To this end, the present application provides a method for completing the reversal of an electric curtain motor by voice instructions without disassembling the machine or operating buttons.

[0005] Application Contents The purpose of the present application is to solve the problems existing in the prior art and to propose a method for reversing an electric curtain motor.

[0006] In order to achieve the above purpose, this application adopts the following technical solutions: A method for reversing an electric curtain motor, the specific reversing method steps comprising: S1: Receives voice signal commands, encodes the recognized commands and sends them to the local MCU; S2: The local MCU reads the motor rotation direction data according to the voice command recognized by the AI ​​voice chip; S3: The local MCU transmits the read motor rotation direction data to the motor drive control circuit in the form of an electrical signal. The motor drive control circuit adjusts the phase change of the motor and drives the motor rotor to rotate forward / reverse to close or open the curtain.

[0007] Preferably, in step S1, the AI ​​voice chip circuit is electrically connected to the MIC audio input circuit, the AEC echo cancellation circuit, and the audio amplifier circuit, and the audio amplifier circuit is electrically connected to the speaker; The AI ​​voice chip performs front-end signal processing on the command electrical signal, extracts the signal to be analyzed from the original signal, converts the sound signal from the time domain to the frequency domain, and provides a suitable feature vector for the acoustic model; the acoustic model then calculates the score of each feature vector on the acoustic feature based on the acoustic characteristics; and the language model calculates the probability that the sound signal corresponds to a possible phrase sequence based on linguistic theory; finally, based on the existing pronunciation dictionary, the phrase sequence is decoded to understand and analyze the person's intentions and obtain the final possible control instructions.

[0008] Preferably, the local MCU returns a voice broadcast message of "motor commutation successful" to the AI ​​voice chip. After receiving the message returned by the MCU, the AI ​​voice chip drives the speaker to broadcast the voice of "motor commutation successful" through the electrically connected audio amplifier circuit.

[0009] Preferably, in step S2, the local MCU selects a single-chip microcomputer with an internal EEPROM, and the internal EEPROM is used to store motor rotation direction data, successfully paired remote control address code ID data, encoder data, and broadcast voice command mapping data; the data stored in the EEPROM for the motor direction is defined as 0xff or 0x00, representing that the motor rotates clockwise or counterclockwise.

[0010] Preferably, in the initial configuration stage of the local MCU, data is read from the system configuration unit mapped by the internal EEPROM to determine whether it is configured. When the value is 0xFF, it indicates that the system is not configured, and when the value is not 0xFF, it indicates that the system is configured; In the non-initial configuration stage, the local MCU determines whether the motor is in a stopped state based on the voice commands recognized by the electrically connected AI voice chip circuit, otherwise it will be discarded and not executed.

[0011] Preferably, when the configuration is not performed for the first time, when the curtains are set to open or close, the motor rotates clockwise or counterclockwise, and the data is written to the local MCU internal EEPROM mapping address; after other parameter configurations are completed, the system configuration unit data written to the internal EEPROM mapping is 0xAA.

[0012] Preferably, when the curtain motor is in a stopped state, the MCU reads the motor rotation direction unit data mapped by the internal EEPROM, and after inverting the data bit by bit, writes the data into the motor rotation direction unit mapped by the plug-in EEPROM.

[0013] Preferably, in step S3, the motor rotates to drive the curtain track synchronous conveyor belt to move, the track synchronous belt is an overall ring-shaped closed structure, a track pulley is installed on the track synchronous belt, and the pulley drives the curtain to perform an opening or closing action.

[0014] Compared with the prior art, the present application provides a method for reversing an electric curtain motor, which has the following beneficial effects: This device uses a local MCU, wireless RF circuit and motor drive control circuit, a motor real-time operating current value ADC sampling circuit, a motor rotation orthogonal encoding circuit and an AI voice chip. When performing motor commutation, there is no need to disassemble the machine or operate buttons. The AI ​​voice recognizes the motor commutation instructions, and the EEPROM stores the parameters of the motor rotation direction. The curtain motor commutation can be achieved through voice commands, human-computer interaction, and more convenient operation.

[0015] Other advantages, objectives and features of the present application will be described in the following description to some extent; and will be apparent to those skilled in the art based on the following examination and study to some extent; or, may be taught from the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a block diagram of the circuit composition of this application.

[0017] Figure 2 This is a schematic diagram of the AI ​​speech recognition principle of this application. DETAILED DESCRIPTION

[0018] The following will be combined with the attached examples of the present application Figure 1-2 , the technical solutions in the embodiments of the present application are described clearly and completely. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.

[0019] In order to solve the problems existing in the prior art, the present embodiment provides a method for commutating an electric curtain motor, including an electrically connected local MCU, a wireless radio frequency circuit and a motor drive control circuit, a motor real-time operating current value ADC sampling circuit, a motor rotation orthogonal encoding circuit, and an AI voice chip circuit, wherein the local MCU is electrically connected to the AI ​​voice chip circuit; The specific steps of the commutation method include: S1: Receives voice signal commands, encodes the recognized commands and sends them to the local MCU; S2: The local MCU reads the motor rotation direction data according to the voice command recognized by the AI ​​voice chip; S3: The local MCU transmits the read motor rotation direction data to the motor drive control circuit in the form of an electrical signal. The motor drive control circuit adjusts the phase change of the motor and drives the motor rotor to rotate forward / reverse to close or open the curtain.

[0020] In step S1, the AI ​​voice chip circuit is electrically connected to the MIC audio input circuit, the AEC echo cancellation circuit, and the audio amplifier circuit, and the audio amplifier circuit is electrically connected to the speaker; The AI ​​voice chip performs front-end signal processing on the command electrical signal, extracts the signal to be analyzed from the original signal, converts the sound signal from the time domain to the frequency domain, and provides a suitable feature vector for the acoustic model; the acoustic model then calculates the score of each feature vector on the acoustic feature based on the acoustic characteristics; and the language model calculates the probability that the sound signal corresponds to a possible phrase sequence based on linguistic theory; finally, based on the existing pronunciation dictionary, the phrase sequence is decoded to understand and analyze the person's intentions and obtain the final possible control instructions.

[0021] The local MCU returns the voice message "Motor commutation successful" to the AI ​​voice chip. After receiving the message returned by the MCU, the AI ​​voice chip drives the speaker to broadcast the voice "Motor commutation successful" through the electrically connected audio amplifier circuit.

[0022] The local MCU uses a single-chip microcomputer with an internal EEPROM. The internal EEPROM is used to store the motor rotation direction data, the ID data of the remote control address code after successful pairing, the encoder data, and the broadcast voice command mapping data. The data stored in the EEPROM for the motor direction is defined as 0xff or 0x00, which means the motor rotates clockwise or counterclockwise.

[0023] In the initial configuration phase of the local MCU, data is read from the system configuration unit mapped by the internal EEPROM to determine whether it is configured. A value of 0xFF indicates that the system is not configured, and a value other than 0xFF indicates that the system is configured. In the non-initial configuration stage, the local MCU determines whether the motor is in a stopped state based on the voice commands recognized by the electrically connected AI voice chip circuit, otherwise it will be discarded and not executed.

[0024] When the curtain is not configured for the first time, when the curtain is set to open or close, the motor rotates clockwise or counterclockwise, and the data is written to the local MCU internal EEPROM mapping address; after other parameter configurations are completed, the system configuration unit data written to the internal EEPROM mapping is 0xAA.

[0025] When the curtain motor is in the stopped state, the MCU reads the motor rotation direction unit data mapped by the internal EEPROM (the value is 0xFF or 0x00), inverts the data bit by bit, and writes it to the motor rotation direction unit mapped by the plug-in EEPROM.

[0026] In step S3, the motor rotates to drive the curtain track synchronous conveyor belt to move. The track synchronous belt is an annular closed structure as a whole. A track pulley is installed on the track synchronous belt. The pulley drives the curtain to open or close.

[0027] Through the above technical solution: The present invention provides a method for changing the rotation direction of a curtain motor by using voice commands, comprising an electrically connected local MCU, a wireless radio frequency circuit and a motor drive control circuit, a motor real-time operating current value ADC sampling circuit, and a motor rotation orthogonal encoding circuit. The local MCU is also electrically connected to an AI voice chip circuit, and the AI ​​voice chip circuit is electrically connected to a MIC audio input circuit, an AEC echo cancellation circuit, and an audio amplifier circuit, and the audio amplifier circuit is electrically connected to a speaker.

[0028] The microphone of the MIC audio input circuit is used to receive the audio corresponding to the voice command issued by the user and convert the voice audio into a command electrical signal.

[0029] The AI ​​voice chip uses its own computing power to perform front-end signal processing such as voice endpoint detection, noise reduction, echo cancellation, reverberation cancellation, and sound source localization on the command electrical signals. It then performs pre-processing such as filtering and framing on the collected sound signals to extract the signal to be analyzed from the original signal.

[0030] Afterwards, feature extraction converts the sound signal from the time domain to the frequency domain to provide a suitable feature vector for the acoustic model; the acoustic model then calculates the score of each feature vector on the acoustic feature based on the acoustic characteristics; and the language model calculates the probability that the sound signal corresponds to a possible phrase sequence based on linguistic theory; finally, based on the existing pronunciation dictionary, the phrase sequence is decoded to understand and analyze the person's intentions and obtain the final possible control instructions.

[0031] The AI ​​voice chip circuit sends the recognized instructions to the local MCU through the electrical connection with the MCU. After receiving the control instructions recognized by AI, the local MCU decodes them and executes the corresponding command actions. After receiving the voice instructions, the local MCU returns information to the AI ​​voice chip according to the local operating status. The AI ​​voice chip decodes the received MCU information, queries the tens of thousands of offline entries built into the chip, organizes the corresponding broadcast audio data, and then drives the speaker to sound through the audio amplifier circuit, realizing the human-computer voice interaction experience.

[0032] The local MCU uses a single-chip microcomputer with an internal EEPROM. The internal EEPROM is used to store the motor rotation direction data, the ID data of the remote control address code after successful pairing, the encoder data, and the broadcast voice command mapping data. The data stored in the EEPROM for the motor direction is defined as 0xff or 0x00, which means the motor rotates clockwise or counterclockwise.

[0033] The local MCU is electrically connected to the motor drive control circuit, and the motor bridge drive control circuit is electrically connected to the motor; the local MCU executes the corresponding function program according to the user instruction value of the AI ​​voice recognition, and calls the curtain opening, curtain closing and motor rotor stopping programs. After entering the curtain opening or curtain closing subroutine, first read the motor rotation direction data of the local MCU internal EEPROM; if the value is 0xFF, it will jump to execute the motor clockwise rotation drive code, and if the value is 0x00, it will execute the motor counterclockwise rotation drive code; the motor clockwise or counterclockwise rotation drive code will eventually control the MCU port, send an electrical signal to the motor bridge control circuit, drive the control circuit to adjust the phase change of the motor electrode, and drive the motor rotor to rotate clockwise or counterclockwise; the motor rotation drives the curtain track synchronous conveyor belt to move, and the track synchronous belt is an annular closed structure as a whole. A track pulley is installed on the track synchronous belt, and the pulley drives the curtain to perform the opening or closing action. Therefore, as long as the motor rotation direction data stored in the EEPROM is changed, the motor reversing operation can be realized, and the movement direction of the curtain opening and closing can be changed.

[0034] In the initial configuration phase of the local MCU, data is read from the system configuration unit mapped by the internal EEPROM to determine whether it is configured. When the value is 0xFF, it means that the system is not configured, and when the value is not 0xFF, it means that the system is configured. When the curtain is opened or closed for the first time, the motor is set to rotate clockwise or counterclockwise, and the data is written to the local MCU internal EEPROM mapping address; after other parameters are configured, the system configuration unit data written to the internal EEPROM mapping is 0xAA.

[0035] In the non-initial configuration stage, the local MCU determines whether the motor is in a stopped state based on the "motor commutation" voice command recognized by the electrically connected AI voice chip circuit, otherwise it is discarded and not executed; when the curtain motor is in a stopped state, the MCU reads the motor rotation direction unit data mapped by the internal EEPROM (the value is 0xFF or 0x00), and after inverting the data bit by bit, writes it into the motor rotation direction unit mapped by the electrically plug-in EEPROM, and then the local MCU returns the "motor commutation successful" voice message to the AI ​​voice chip. After receiving the information returned by the MCU, the AI ​​voice chip drives the speaker to broadcast the "motor commutation successful" voice through the electrically connected audio amplifier circuit, thereby realizing human-computer interaction; the motor commutation is completed.

[0036] The above is only a preferred specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can make equivalent substitutions or changes within the technical scope disclosed in the present application according to the technical solution and application concept of the present application, which should be covered by the protection scope of the present application.

[0037] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0038] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for reversing an electric curtain motor, characterized in that: The specific steps of the commutation method include: S1: Receives voice signal commands, encodes the recognized commands and sends them to the local MCU; S2: The local MCU reads the motor rotation direction data according to the voice command recognized by the AI ​​voice chip; S3: The local MCU transmits the read motor rotation direction data to the motor drive control circuit in the form of an electrical signal. The motor drive control circuit adjusts the phase change of the motor and drives the motor rotor to rotate forward / reverse to close or open the curtain.

2. A method for reversing an electric curtain motor according to claim 1, characterized in that: In step S1, the AI ​​voice chip circuit is electrically connected to the MIC audio input circuit, the AEC echo cancellation circuit, and the audio amplifier circuit, and the audio amplifier circuit is electrically connected to the speaker; The AI ​​voice chip performs front-end signal processing on the command electrical signal, extracts the signal to be analyzed from the original signal, converts the sound signal from the time domain to the frequency domain, and provides a suitable feature vector for the acoustic model; the acoustic model then calculates the score of each feature vector on the acoustic feature based on the acoustic characteristics; and the language model calculates the probability that the sound signal corresponds to a possible phrase sequence based on linguistic theory; finally, based on the existing pronunciation dictionary, the phrase sequence is decoded to understand and analyze the person's intentions and obtain the final possible control instructions.

3. A method for reversing an electric curtain motor according to claim 2, characterized in that: The local MCU returns the voice broadcast message of "motor commutation successful" to the AI ​​voice chip. After receiving the message returned by the MCU, the AI ​​voice chip drives the speaker to broadcast the voice of "motor commutation successful" through the electrically connected audio amplifier circuit.

4. The method for reversing an electric curtain motor according to claim 1, characterized in that: In step S2, the local MCU selects a single-chip microcomputer with an internal EEPROM. The internal EEPROM is used to store motor rotation direction data, remote control address code ID data of successful pairing, encoder data, and broadcast voice command mapping data; the data stored in the EEPROM for storing the motor direction is defined as 0xff or 0x00, representing that the motor rotates clockwise or counterclockwise.

5. A method for reversing an electric curtain motor according to claim 4, characterized in that: In the initial configuration phase of the local MCU, data is read from the system configuration unit mapped by the internal EEPROM to determine whether it is configured. A value of 0xFF indicates that the system is not configured, and a value other than 0xFF indicates that the system is configured. In the non-initial configuration stage, the local MCU determines whether the motor is in a stopped state based on the voice commands recognized by the electrically connected AI voice chip circuit, otherwise it will be discarded and not executed.

6. A method for reversing an electric curtain motor according to claim 5, characterized in that: When the curtain is not configured for the first time, when the curtain is set to open or close, the motor rotates clockwise or counterclockwise, and the data is written to the local MCU internal EEPROM mapping address; after other parameter configurations are completed, the system configuration unit data written to the internal EEPROM mapping is 0xAA.

7. A method for reversing an electric curtain motor according to claim 5, characterized in that: When the curtain motor is in the stopped state, the MCU reads the motor rotation direction unit data mapped by the internal EEPROM, inverts the data bit by bit, and writes the motor rotation direction unit mapped by the plug-in EEPROM.

8. The method for reversing an electric curtain motor according to claim 1, characterized in that: In step S3, the motor rotates to drive the curtain track synchronous conveyor belt to move. The track synchronous belt is an annular closed structure as a whole. A track pulley is installed on the track synchronous belt. The pulley drives the curtain to open or close.