Motor information sending method, motor configuration system, device, equipment and medium
By controlling the processor and converter in the motor information transmission method to perform high-speed parallel transmission and speed adjustment, the problems of low transmission speed and accuracy of motor information are solved, and the validity and efficiency of data under different conditions are guaranteed.
Patent Information
- Application Number
- CN202211249681.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-12
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2042-10-12
AI Technical Summary
Existing methods for transmitting motor information suffer from low transmission speed and accuracy, and cannot use different transmission methods under different circumstances, resulting in a lack of assurance regarding data validity and efficiency.
The first processor receives the current speed, motor current, and motor temperature from the motor drive board and uses a converter to transmit them in high-speed parallel mode, avoiding serial transmission. The motor speed is adjusted in a timed or random manner to adapt to different situations.
It improves the transmission speed and accuracy of motor information, ensuring data validity and transmission efficiency under different conditions.
Smart Images

Figure CN115543903B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a motor information sending method and device, electronic equipment and medium. BACKGROUND
[0002] The motor information sending method is a method for sending motor information. When sending motor information, the method usually adopted is as follows: first, write the address of the data. Second, in response to determining that the address of the written data is valid, determine the number of written data, and transmit the data of the bus. Then, in response to determining that the written data is valid, the data is transmitted in series. Finally, in response to determining that the number of data transmitted by the bus is the number of the above-mentioned written data, the downstream processor receives the data.
[0003] However, the inventors have found that when transmitting data in the above-mentioned manner, the following technical problems often exist:
[0004] First, using multiple control conditions to transmit data in series, the speed and accuracy of transmission are low.
[0005] Second, different transmission methods cannot be used in different situations, and the effectiveness of the transmitted data cannot be guaranteed.
[0006] Third, different transmission methods cannot be used in different situations, and the efficiency of transmission cannot be guaranteed.
[0007] The above information disclosed in the background section of this document is only intended to enhance the understanding of the background of the present inventive concept, and therefore, it can include information that does not form the prior art known to those of ordinary skill in the art in the country. SUMMARY
[0008] The summary section of the present disclosure is used to introduce the concepts in a brief form, which will be described in detail in the specific embodiments section. The summary section of the present disclosure is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions.
[0009] Some embodiments of the present disclosure propose a motor information sending method, a motor configuration system, a device, electronic equipment and a medium to solve one or more of the technical problems mentioned in the background section.
[0010] In a first aspect, some embodiments of the present disclosure provide a motor information sending method, the method comprising: controlling a first processor to receive a current rotating speed of a motor sent by a motor drive board; controlling a converter to receive a motor current, a motor voltage and a motor temperature sent by the motor drive board; controlling the converter to send the motor current, the motor voltage and the motor temperature to the first processor; and controlling the first processor to send the current rotating speed of the motor, the motor current, the motor voltage and the motor temperature to a second processor.
[0011] In a second aspect, some embodiments of the present disclosure provide a motor configuration system, comprising: a second processor, a first processor, a motor drive board, a motor and a converter; the second processor is connected with the first processor; the first processor is connected with the second processor, the motor drive board and the converter; the converter is connected with the first processor and the motor drive board; the motor drive board is connected with the first processor, the converter and the motor; and the motor is connected with the motor drive board.
[0012] In a third aspect, some embodiments of the present disclosure provide a motor information sending device, the device comprising: a first control unit configured to control a first processor to receive a current rotating speed of a motor sent by a motor drive board; a second control unit configured to control a converter to receive a motor current, a motor voltage and a motor temperature sent by the motor drive board; a third control unit configured to control the converter to send the motor current, the motor voltage and the motor temperature to the first processor; and a fourth control unit configured to control the first processor to send the current rotating speed of the motor, the motor current, the motor voltage and the motor temperature to a second processor.
[0013] In a fourth aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; and a memory device having one or more programs stored thereon, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method described in any implementation manner of the first aspect.
[0014] In a fifth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any implementation manner of the first aspect.
[0015] The above various embodiments of the present disclosure have the following beneficial effects: the motor information sending method of some embodiments of the present disclosure can improve the transmission speed and the transmission accuracy. Specifically, the reason for low transmission speed and accuracy is that multiple control conditions are used for serial transmission of data, resulting in low transmission speed and accuracy. Based on this, the motor information sending method of some embodiments of the present disclosure controls the first processor to receive the current rotating speed of the motor sent by the motor drive board; wherein it can be determined whether the current transmission is normal according to the current rotating speed of the motor. The converter is controlled to receive the motor current, motor voltage and motor temperature sent by the motor drive board; wherein the motor drive board sends the current rotating speed of the motor, the motor current, the motor voltage and the motor temperature at the same time. The motor current, the motor voltage and the motor temperature can be avoided to be obtained again, so that the motor current, the motor voltage and the motor temperature and the current rotating speed of the motor are not at the same time. The converter is controlled to send the motor current, the motor voltage and the motor temperature to the first processor; the parameters of the current motor are determined according to the current rotating speed of the motor, the motor current, the motor voltage and the motor temperature, which can improve the transmission speed. The first processor is controlled to send the current rotating speed of the motor, the motor current, the motor voltage and the motor temperature to the second processor. The current rotating speed of the motor, the motor current, the motor voltage and the motor temperature are sent to the second processor at high speed in parallel, which can avoid serial transmission, and the motor drive board sends the motor information at the same time, which can avoid individual data transmission, thereby improving the transmission speed and the transmission accuracy. BRIEF DESCRIPTION OF DRAWINGS
[0016] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent upon reading the following detailed description in conjunction with the accompanying drawings, in which like references refer to like elements. It is to be understood that the drawings are schematic, and elements and features are not necessarily drawn to scale.
[0017] Figure 1 is a flowchart of the motor information sending method according to some embodiments of the present disclosure;
[0018] Figure 2 is a structural schematic diagram of data transmission according to the present disclosure;
[0019] Figure 3 is a structural schematic diagram of a motor configuration system according to the present disclosure;
[0020] Figure 4 is a structural schematic diagram of some embodiments of the motor information sending device according to the present disclosure;
[0021] Figure 5 is a structural schematic diagram of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0022] Embodiments of the present disclosure will be described below in greater detail with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms, and should not be interpreted as being limited to the embodiments set forth herein. Rather, these embodiments are provided so as to more completely and thoroughly understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are merely for exemplary purposes, and are not intended to limit the scope of protection of the present disclosure.
[0023] It should also be noted that, for ease of description, only parts related to the present application are shown in the drawings. The embodiments in the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0024] It should be noted that the terms "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.
[0025] It should be noted that the adjectives "one", "multiple" mentioned in the present disclosure are illustrative rather than limiting, and those skilled in the art should understand that, unless otherwise explicitly stated in the context, it should be understood as "one or more".
[0026] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0027] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
[0028] Figure 1 Flow 100 of the motor information sending method according to some embodiments of the present disclosure is shown. The flow 100 of the motor information sending method includes the following steps:
[0029] Step 101, control the first processor to receive the current rotating speed of the motor sent by the motor drive board.
[0030] In some embodiments, the execution subject (e.g., the electronic device) of the motor information sending method can control the first processor to receive the current rotating speed of the motor sent by the motor driving board in a wired or wireless manner. The first processor can be a field programmable gate array (FPGA). The motor driving board can be a driving board for obtaining motor information and reducing motor voltage.
[0031] Optionally, the first processor can perform the following steps:
[0032] The control information sent by the bus is received to determine whether the motor is working normally. The control information can be information for controlling the motor. For example, the control information can be that the motor is enabled and the motor can work normally, or the motor is disabled and the motor cannot work normally.
[0033] Step 102: Control the converter to receive the motor current, motor voltage, and motor temperature sent by the motor driving board.
[0034] In some embodiments, the converter is controlled to receive the motor current, motor voltage, and motor temperature sent by the motor driving board. The converter can be used to receive the motor current, motor voltage, and motor temperature sent by the motor driving board to send the current rotating speed of the motor, the motor current, the motor voltage, and the motor temperature to the first processor. The first processor cannot directly receive the current rotating speed of the motor, the motor current, the motor voltage, and the motor temperature.
[0035] Step 103: Control the converter to send the motor current, motor voltage, and motor temperature to the first processor.
[0036] In some embodiments, the converter is controlled to send the motor current, motor voltage, and motor temperature to the first processor.
[0037] Step 104: Control the first processor to send the current rotating speed of the motor, the motor current, the motor voltage, and the motor temperature to the second processor.
[0038] In some embodiments, the first processor is controlled to send the current speed of the motor, the motor current, the motor voltage and the motor temperature to the second processor. The sending of the current speed of the motor, the motor current, the motor voltage and the motor temperature to the second processor can be high-speed parallel sending. The motor drive board sends the current speed of the motor, the motor current, the motor voltage and the motor temperature at the same time. The motor drive board sends the acquired current speed of the motor to the first processor, and sends the acquired motor current, motor voltage and motor temperature to the converter. The converter converts the motor current, motor voltage and motor temperature sent by the motor drive board into numerical values to send to the first processor. The first processor first receives the more important current speed of the motor, the control signal and the data signal sent by the bus to send the current speed of the motor to the second processor. Then receive the motor current, motor voltage and motor temperature sent by the converter to send the motor current, motor voltage and motor temperature to the second processor.
[0039] In practice, the second processor can perform the following steps:
[0040] First, receive the current speed of the motor, the motor current, the motor voltage and the motor temperature. The current speed of the motor is the normal speed, and data can be transmitted between the first processor and the second processor. For example, the normal speed can be [1060, 1100] revolutions per minute of the motor.
[0041] Second, in response to determining that the current speed of the motor is an abnormal speed, adjust the speed. The adjustment of the speed can be adjusting the speed to a normal speed.
[0042] In practice, the second processor can perform the following steps:
[0043] In response to determining that the current speed of the motor, the motor current, the motor voltage and the motor temperature are received, prompt the relevant personnel that the information reception is successful for the relevant personnel to configure the corresponding motor speed.
[0044] Optionally, after the execution subject controls the first processor to send the current speed of the motor, the motor current, the motor voltage and the motor temperature to the second processor, the execution subject further includes the following steps:
[0045] The first step is to stop controlling the first processor to send the current speed of the motor and stop controlling the second processor to receive the data sent by the first processor in response to determining that the second processor has continuously received the current speed of the motor for a preset number of times. For example, the preset number of times can be 8 times.
[0046] The second step is to control the second processor to send data to the first processor. The data sent to the first processor can be sent at a fixed time or randomly. The data can be the speed of the motor. The control of the second processor to send data to the first processor can be high-speed parallel transmission. For details, please refer to Figure 2 . Wherein, the pull-up of 201 can be a transmission period. data0 in 202 can be the data transmitted. data(n-1) in 202 can be the data transmitted. 203 can be used to determine whether data0 and data(n-1) are valid data, and 203 is pulled up for valid data and 203 is pulled down for invalid data. 204 can be used to control the transmission direction of data0 and data(n-1). When 204 is pulled up, the first processor transmits to the second processor. When 204 is pulled down, the second processor transmits to the first processor.
[0047] The above related content is one of the invention points of the embodiments of the present disclosure, which solves the second technical problem mentioned in the background that different transmission methods cannot be used in different situations and the effectiveness of the transmitted data cannot be guaranteed. The factors that cannot guarantee the effectiveness of the transmitted data are often as follows: different transmission methods cannot be used in different situations, and the effectiveness of the transmitted data cannot be guaranteed. If the above factors are solved, the effectiveness of the transmitted data can be guaranteed. In order to achieve this effect, first, in response to determining that the second processor has continuously received the current speed of the motor for a preset number of times, stop controlling the first processor to send the current speed of the motor, and stop controlling the second processor to receive the data sent by the first processor. The second processor receives the current speed of the motor, which will cause certain damage to the motor, and will transmit some useless data, so as to stop controlling the second processor to receive the data sent by the first processor, thereby avoiding the transmission of useless data. Finally, control the second processor to send data to the first processor. The data sent to the first processor can be sent at a fixed time or randomly. The data can be the speed of the motor. The control of the second processor to send data to the first processor can be high-speed parallel transmission. Among them, the high-speed parallel transmission can be Figure 2Wherein, 201 can be a period of transmission. Data0 in 202 can be the data of transmission. Data(n-1) in 202 can be the data of transmission. 203 can be used to determine whether data0 and data(n-1) are valid data, 203 is pulled high for valid data, and 203 is pulled low for invalid data. 204 can be used to control the transmission direction of data0 and data(n-1). When 204 is pulled high, the first processor transmits to the second processor. When 204 is pulled low, the second processor transmits to the first processor. Using both control methods of 203 and 204 to control the transmission direction can reduce the occupation time of the parallel bus, thereby improving the transmission speed and ensuring the validity of the transmitted data.
[0048] Optionally, the control of the second processor to send data to the first processor can be control of the second processor to send the motor speed to the first processor, and the method comprises the following steps:
[0049] First, obtain the motor temperature at the previous time.
[0050] Second, in response to determining that the motor temperature at the previous time and the motor temperature satisfy a preset motor temperature comparison condition, randomly select a speed from the preset low speed as the first motor speed. Wherein, the preset low speed can be [300, 600] revolutions per minute of the motor. Wherein, the preset motor temperature comparison condition can be that the motor temperature is greater than 45 degrees, and the motor temperature is 20 degrees higher than the motor temperature at the previous time.
[0051] Third, send the first motor speed to the first processor.
[0052] Fourth, determine the preset speed of the motor speed as the high speed. Wherein, the preset speed can be [600, 1060] revolutions per minute of the motor.
[0053] Fifth, in response to determining that the motor temperature at the previous time and the motor temperature do not satisfy the preset motor temperature comparison condition, and the motor temperature is less than a first preset temperature value, randomly select a speed from the high speed as a second motor speed. Wherein, the first preset temperature value can be 60 degrees.
[0054] Sixth, send the second motor speed to the first processor.
[0055] In the seventh step, in response to determining that the motor temperature at the last time point does not satisfy the preset motor temperature comparison condition, the motor temperature is greater than or equal to the second preset temperature value, and less than or equal to the second preset temperature value, a speed equal to the normal speed is randomly selected as a third motor speed. The second preset temperature value can be 75 degrees.
[0056] In the eighth step, the third motor speed is sent to the first processor.
[0057] The above-mentioned related content is one of the application points of the embodiments of the present disclosure, which solves the third technical problem mentioned in the background art "cannot use different transmission methods in different situations, and cannot guarantee the efficiency of transmission". The factors that cannot guarantee the efficiency of transmission are often as follows: cannot use different transmission methods in different situations, and cannot guarantee the efficiency of transmission. If the above factors are solved, the efficiency of transmission can be guaranteed. In order to achieve this effect, first, the motor temperature of the last moment is obtained. Second, in response to determining that the motor temperature of the last moment and the motor temperature satisfy the preset motor temperature comparison condition, a randomly selected speed in the preset low speed is taken as the first motor speed. Wherein, the preset low speed of the motor can be [300, 600] revolutions per minute. Wherein, the preset motor temperature comparison condition can be that the motor temperature is greater than 45 degrees, and the motor temperature is 20 degrees higher than the motor temperature of the last moment. The motor temperature rises quickly, and the motor speed is adjusted to the preset low speed, which can avoid the motor temperature being too high. Third, the first motor speed is sent to the first processor to configure the motor speed. Fourth, the preset speed of the motor speed is determined as a high speed. Wherein, the preset speed can be [600, 1060] revolutions per minute. Fifth, in response to determining that the motor temperature of the last moment and the motor temperature do not satisfy the preset motor temperature comparison condition, the motor temperature is less than a first preset temperature value, a randomly selected speed in the high speed is taken as a second motor speed. Wherein, the first preset temperature value can be 60 degrees. When the motor temperature is high, the motor speed is adjusted to the preset speed, which can ensure the safety of the motor. Sixth, the second motor speed is sent to the first processor to configure the motor speed. Seventh, in response to determining that the motor temperature of the last moment and the motor temperature do not satisfy the preset motor temperature comparison condition, the motor temperature is greater than or equal to a second preset temperature value, and is less than or equal to a second preset temperature value, a randomly selected speed in the speed equal to the normal speed is taken as a third motor speed. Wherein, the second preset temperature value can be 75 degrees. When the motor temperature is not high, the motor speed can be adjusted to the normal speed, which can avoid adjusting the motor speed again, thereby guaranteeing the efficiency of transmission. Eighth, the third motor speed is sent to the first processor to configure the motor speed. Wherein, the second processor continuously receives the current speed of the motor for a preset number of times to stop controlling the second processor to receive the current speed of the motor sent by the first processor. According to different motor temperatures, the second processor sends different motor speeds to the first processor in time and randomly to adjust the motor speed. The motor temperature can be avoided to be too high, the motor speed can be adjusted to the normal speed when the motor temperature is not high, which can avoid adjusting the motor speed again, thereby guaranteeing the efficiency of transmission.
[0058] The above various embodiments of the present disclosure have the following beneficial effects: the motor information sending method of some embodiments of the present disclosure can improve the transmission speed and accuracy. Specifically, the reason for low transmission speed and accuracy is that multiple control conditions are used for serial transmission of data, resulting in low transmission speed and accuracy. Based on this, the motor information sending method of some embodiments of the present disclosure controls the first processor to receive the current speed of the motor sent by the motor drive board; wherein it can be determined whether the current transmission is normal according to the current speed of the motor. Control the converter to receive the motor current, motor voltage and motor temperature sent by the motor drive board; wherein the motor drive board sends the current speed of the motor, the motor current, the motor voltage and the motor temperature at the same time. It can avoid obtaining the motor current, the motor voltage and the motor temperature again, so that the motor current, the motor voltage and the motor temperature obtained at the same time as the current speed of the motor. Control the converter to send the motor current, the motor voltage and the motor temperature to the first processor; determine the current motor parameters according to the current speed of the motor, the motor current, the motor voltage and the motor temperature, which can improve the transmission speed. Control the first processor to send the current speed of the motor, the motor current, the motor voltage and the motor temperature to the second processor. Wherein the current speed of the motor, the motor current, the motor voltage and the motor temperature are sent to the second processor at high speed in parallel, and through high-speed parallel transmission, serial transmission can be avoided, and the motor drive board sends the motor information at the same time, which can avoid individual data transmission, thereby improving the transmission speed and accuracy.
[0059] Further reference Figure 3 , the flow 300 of another embodiment of the motor information sending method. The motor configuration system 300 includes: 301 first processor, 302 second processor, 303 converter, 304 motor drive board and 305 motor. Wherein, 302 second processor, with 301 first processor connection. 301 first processor, 302 second processor, 304 motor drive board and 303 converter connection. 303 converter, with 301 first processor and motor drive board connection. 304 motor drive board, with 301 first processor, 303 converter and 305 motor connection. 305 motor, with motor drive board connection.
[0060] In some optional implementation of the motor configuration system of some embodiments, the 304 motor drive board can be configured to acquire the current rotating speed of the 305 motor, configured to send the current rotating speed of the 305 motor to the 301 first processor, and configured to perform overcurrent protection on the 301 first processor, and configured to send the current temperature of the 305 motor, the current voltage of the 305 motor and the current current of the 305 motor to the 303 converter.
[0061] In some optional implementation of the motor information sending driving system of some embodiments, the 301 first processor can be configured to receive the current rotating speed of the motor sent by the 304 motor drive board, and configured to perform power-on protection on the 304 motor drive board, and configured to receive the data signal sent by the 302 second processor, and configured to send the above-mentioned data signal to the 302 second processor.
[0062] In some optional implementation of the motor information sending driving system of some embodiments, the 303 converter can be configured to receive the current temperature of the 305 motor, the current voltage of the 305 motor and the current current of the 305 motor sent by the above-mentioned motor drive board.
[0063] In some optional implementation of the motor information sending driving system of some embodiments, the 302 second processor can be configured to receive the current rotating speed of the motor and the data signal sent by the 301 first processor, and configured to send the data signal to the 301 first processor.
[0064] Further referring to Figure 4 , as an implementation of the method shown in the above-mentioned figures, the present disclosure provides some embodiments of a motor information sending device, which device embodiments correspond to those method embodiments shown in Figure 1 , and the device can be specifically applied in various electronic devices.
[0065] As shown in Figure 4As shown, a motor information transmitting device 400 in some embodiments includes: a first receiving unit 401, a second receiving unit 402, a third receiving unit 403, and a fourth receiving unit 404. The first control unit 401 is configured to control a first processor to receive the current motor speed transmitted by a motor drive board; the second control unit 402 is configured to control a converter to receive motor current, motor voltage, and motor temperature transmitted by the motor drive board; the third control unit 403 is configured to control the converter to transmit the motor current, motor voltage, and motor temperature to the first processor; and the fourth control unit 404 is configured to control the first processor to transmit the current motor speed, motor current, motor voltage, and motor temperature to the second processor. The transmission of the current motor speed, motor current, motor voltage, and motor temperature to the second processor is performed at high speed in parallel.
[0066] It is understandable that the units described in the motor information transmission device 400 and the reference Figure 1 The steps in the described method correspond accordingly. Therefore, the operations, features, and beneficial effects described above for the method also apply to the device 400 and the units contained therein, and will not be repeated here.
[0067] The following is for reference. Figure 5 It shows a schematic diagram of the structure of an electronic device 500 suitable for implementing some embodiments of the present disclosure. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.
[0068] like Figure 5 As shown, the electronic device 500 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0069] In general, the following devices can be connected to the I / O interface 505: input devices 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, and the like; output devices 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; storage devices 508 including, for example, a magnetic tape, a hard disk, and the like; and communication devices 509. The communication devices 509 can allow the electronic device 500 to communicate wirelessly or wired with other devices to exchange data. Although Figure 5 The electronic device 500 is shown with various devices, but it is understood that all of the shown devices are not required to be implemented or present. More or less devices can alternatively be implemented or present. Figure 5 Each block shown in the flowcharts can represent a device or multiple devices as needed.
[0070] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to some embodiments of the present disclosure. For example, some embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for executing the methods shown in the flowcharts. In some such embodiments, the computer program can be downloaded and installed from a network through the communication devices 509, or installed from the storage devices 508, or installed from the ROM 502. When the computer program is executed by the processing devices 501, the above-mentioned functions defined in the methods of some embodiments of the present disclosure are performed.
[0071] Note that the computer-readable medium or media used to provide the computer program sequence to the computer system can be embedded in a computer program product, which comprises all the respective features, which are provided with the computer program sequence, and which are enumerated above. It is understood that the computer-readable medium or media described herein are included in the computer program product, or are a component of the computer program product. In some embodiments of the disclosure, the computer-readable storage medium can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer-readable storage medium can be any tangible medium that contains, or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the disclosure, a computer-readable signal medium can include a computer-readable storage medium in baseband or propagated as a carrier wave in a propagated data signal, which contains a computer-readable program code. Such a propagated signal can take a wide variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium that is not a computer-readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire line, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0072] In some embodiments, the client, server, or both can communicate using any current known or future developed network protocol, such as HTTP (Hyper Text Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current known or future developed networks.
[0073] The computer readable medium can be included in the device; also can exist separately therefrom. The computer readable medium bears one or more programs, when the one or more programs are executed by the electronic device, make the electronic device: control the first processor to receive the current rotating speed of the motor sent by the motor drive board; control the converter to receive the motor current, the motor voltage and the motor temperature sent by the motor drive board; control the converter to send the motor current, the motor voltage and the motor temperature to the first processor; control the first processor to send the current rotating speed of the motor, the motor current, the motor voltage and the motor temperature to the second processor.
[0074] Computer program code for carrying out operations of some embodiments of the disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0075] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functional processes and operational processes, according to various embodiments of the present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or combinations of special purpose hardware and computer instructions.
[0076] The units described in some embodiments of the present disclosure can be implemented in the form of software, or can be implemented in the form of hardware. The described units can also be arranged in a processor, for example, can be described as: a processor includes a first control unit, a second control unit, a third control unit and a fourth control unit. Among them, the name of these units does not constitute a limitation to the unit itself in some cases, for example, the first control unit can also be described as: "a unit for controlling the first processor to receive the current rotating speed of the motor sent by the motor drive board".
[0077] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that can be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system on a chip (SOCs), complex programmable logic devices (CPLDs), etc.
[0078] The above description is merely some preferred embodiments of the present disclosure and a description of the principles of the technology used. Those skilled in the art should understand that the scope of the application involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combinations of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with each other to form a technical solution with similar functions disclosed in the embodiments of the present disclosure (but not limited to).
Claims
1. A method for transmitting motor information, comprising: The first processor is controlled to receive the current speed of the motor sent by the motor driver board, wherein the current transmission status is determined based on the current speed of the motor. A control converter is configured to receive motor current, motor voltage, and motor temperature from the motor drive board, wherein the motor drive board simultaneously transmits the current speed of the motor, the motor current, the motor voltage, and the motor temperature. The converter is controlled to send the motor current, the motor voltage, and the motor temperature to the first processor; The first processor is controlled to send the current speed of the motor, the motor current, the motor voltage, and the motor temperature to the second processor, wherein the sending of the current speed of the motor, the motor current, the motor voltage, and the motor temperature to the second processor is a high-speed parallel transmission; In response to determining that the second processor has continuously received the current speed of the motor a preset number of times, control of the first processor to send the current speed of the motor is stopped, and control of the second processor to receive data sent by the first processor is stopped; The second processor is controlled to send data to the first processor, wherein sending data to the first processor is timed or random, and the data is the motor speed. The control of the second processor to send data to the first processor is high-speed parallel transmission.
2. A motor configuration system, applied to the motor information transmission method of claim 1, comprising: Second processor, first processor, motor drive board, motor and converter; The second processor is connected to the first processor; The first processor is connected to the second processor, the motor drive board, and the converter; The converter is connected to the first processor and the motor drive board; The motor drive board is connected to the first processor, the converter, and the motor. The motor is connected to the motor drive board.
3. The motor configuration system according to claim 2, wherein, The motor drive board is used to acquire the current speed of the motor, send the current speed of the motor to the first processor, and perform overcurrent protection on the first processor, and send the current temperature, current voltage and current of the motor to the converter.
4. The motor configuration system according to claim 2, wherein, The first processor is used to receive the current speed of the motor sent by the motor drive board and to perform power-on protection on the motor drive board, and is used to receive data signals sent by the second processor and to send the data signals to the second processor.
5. The motor configuration system according to claim 3, wherein, The converter is used to receive the current temperature, current voltage, and current current of the motor sent by the motor driver board.
6. The motor configuration system according to claim 2, wherein, The second processor is used to receive the current speed and data signal of the motor sent by the first processor, and to send the data signal back to the first processor.
7. A motor information transmitting device, comprising: The first control unit is configured to control the first processor to receive the current speed of the motor sent by the motor drive board, wherein the current transmission is determined to be normal based on the current speed of the motor. The second control unit is configured as a control converter to receive motor current, motor voltage and motor temperature sent by the motor drive board, wherein the motor drive board simultaneously sends the current speed of the motor, the motor current, the motor voltage and the motor temperature; A third control unit is configured to control the converter to send the motor current, the motor voltage, and the motor temperature to the first processor; A fourth control unit is configured to control the first processor to send the current speed of the motor, the motor current, the motor voltage, and the motor temperature to a second processor, wherein the sending of the current speed of the motor, the motor current, the motor voltage, and the motor temperature to the second processor is a high-speed parallel transmission; The stop control unit is configured to, in response to determining that the second processor has continuously received the current speed of the motor a preset number of times, stop controlling the first processor to send the current speed of the motor, and stop controlling the second processor to receive data sent by the first processor; The fifth control unit is configured to control the second processor to send data to the first processor, wherein sending data to the first processor is timed or random, and the data is the motor speed; controlling the second processor to send data to the first processor is high-speed parallel transmission.
8. An electronic device, comprising: One or more processors; Storage device, on which one or more programs are stored, When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in claim 1.
9. A computer-readable medium having a computer program stored thereon, wherein, When the program is executed by the processor, it implements the method as described in claim 1.
10. A computer program product comprising a computer program that, when executed by a processor, implements the method according to claim 1.