Charging bus control system and method of education robot
Through the polymorphic voltage design and abnormal prediction mechanism, the problems of low transmission efficiency of traditional charging buses and difficulty in multi-device management are solved, an efficient and safe charging process is achieved, and the battery life is extended.
Patent Information
- Application Number
- CN202411441837.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional charging bus has low transmission efficiency and cannot transmit a large number of status information or instructions at the same time. The control system lacks intelligent adjustment and dynamic control capabilities, and it is difficult to manage the charging of multiple devices, which can easily lead to battery overcharging or inefficiency.
Adopt a polymorphic voltage design and anomaly prediction mechanism, synchronize the charging device status through the clock line and the data line, generate corresponding control instructions and strategies, regularly analyze the operating status coefficient, adopt multi-slave mode for parallel management, and coordinate the work of multiple charging devices. .
Improves charging communication efficiency, ensures the safety and efficiency of the charging process, extends battery life, and can efficiently manage multiple charging devices to avoid communication conflicts.
Smart Images

Figure CN118971290A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of charging bus control, and in particular to a charging bus control system and method for an educational robot. Background Art
[0002] With the widespread application of intelligent robots in the field of education, educational robots need to have the ability to operate autonomously for a long time, and an efficient charging management system is a key part to ensure their continuous operation. The charging bus control system is the core communication method between the intelligent educational robot and its power management. It is not only used to transmit electrical energy, but also to manage charging status, device identification and safety control.
[0003] The prior art has the following deficiencies:
[0004] 1. Traditional charging buses usually only support binary digital logic (high and low levels), which can only represent simple status information and have low transmission efficiency. Especially in complex charging scenarios, it is difficult to transmit a large amount of status information or instructions at the same time;
[0005] 2. Most control systems are in static or manual management mode, lacking intelligent adjustment and dynamic control capabilities. During the charging process, the charging power cannot be dynamically adjusted according to the device status or predicted data, which can easily lead to battery overcharging or inefficiency.
[0006] 3. Most existing control systems only support charging management of a single device and cannot efficiently manage multiple devices at the same time. When multiple devices need to be charged or powered at the same time, the system often needs to switch through complex hardware or add additional interfaces, resulting in management complexity and increased costs;
[0007] Based on this, the present invention proposes a charging bus control system and method for an educational robot. Through polymorphic voltage design, the data line can transmit more information states, improve communication efficiency, generate control instructions based on different voltage states, and combine with an abnormality prediction mechanism to ensure the charging process is safe and efficient, and extend battery life. The multi-slave mode of the polymorphic bus is adopted, which can efficiently manage multiple charging devices in parallel and effectively avoid communication conflicts. Summary of the invention
[0008] The purpose of the present invention is to provide a charging bus control system and method for an educational robot to solve the shortcomings of the background technology.
[0009] In order to achieve the above object, the present invention provides the following technical solution: a charging bus control method for an educational robot, the control method comprising the following steps:
[0010] Before starting charging control, the control system uses the educational robot's controller as the host to initialize the charging bus. The controller sends a request signal through the charging bus to identify different charging devices connected to the charging bus. After the identification is completed, the charging status of each charging device is detected by polling.
[0011] During the charging process, the controller generates different control instructions based on different voltage states. After regular abnormal prediction, the controller synchronizes the state of the charging device through the clock line and data line, adjusts the charging power based on the prediction results, and generates corresponding control strategies. When charging is completed, it issues a stop charging instruction.
[0012] After the controller regularly analyzes the operating status coefficients of all charging devices, it manages them in parallel through the multi-slave mode of the polymorphic bus and coordinates the work of different charging devices based on the clock signal.
[0013] In a preferred embodiment, during the charging process, the control system obtains the operating status coefficient of the charging device and the equipment status coefficient of the educational robot. The operating status coefficient of the charging device includes the current fluctuation amplitude of multiple series components and the cumulative factor of temperature deviation of multiple components. The equipment status coefficient of the educational robot includes the real-time power, battery abnormality index and frequency of generating no response instructions.
[0014] In a preferred embodiment, the acquisition logic of the device state coefficient is: when the battery power of the educational robot is 0%-80%, the charging device selects the first charging power to charge the educational robot, and when the battery power is 81%-100%, the charging device selects the second charging power to charge the educational robot, and the power adjustment value is obtained by dividing the first charging power by the second charging power;
[0015] After the frequency correction power adjustment value is generated through the battery abnormality index and the unresponsive command, the device status coefficient is obtained. The expression is: , where is the power adjustment value, is the equipment status coefficient, is the battery abnormality index, Generates frequency for unresponsive commands, , are the battery abnormality index and the proportional coefficient of the frequency of generating the unresponsive command, respectively, and , Both are greater than 0.
[0016] In a preferred embodiment, the logic for obtaining the operating status coefficient is: normalize the current fluctuation amplitude of the multiple series components and the temperature deviation accumulation factor of the multiple components, so that the value range of the current fluctuation amplitude of the multiple series components and the temperature deviation accumulation factor of the multiple components is mapped to between [0,1], and the normalized current fluctuation amplitude of the multiple series components and the temperature deviation accumulation factor of the multiple components are summed to obtain the operating status coefficient of the charging device.
[0017] In a preferred embodiment, during the charging process, abnormality prediction is performed regularly, including the following steps:
[0018] The obtained operating state coefficient and equipment state coefficient are weighted to obtain the abnormal amplitude, and the expression is: , where is the abnormal amplitude, is the operating state coefficient, is the equipment status coefficient;
[0019] The acquired abnormal amplitude is compared with a preset first abnormal threshold and a second abnormal threshold, wherein the first abnormal threshold is used to determine whether the charging power needs to be adjusted, and the second abnormal threshold is used to determine whether the charging needs to be stopped;
[0020] If the abnormal amplitude is less than or equal to the first abnormal threshold, it indicates that the preset battery power has not been reached or there is no abnormality, and it is judged that there is no need to adjust the charging power. If the abnormal amplitude is greater than the first abnormal threshold, and the abnormal amplitude is less than or equal to the second abnormal threshold, it indicates that the preset battery power has been reached or there is an abnormality, and it is judged that the charging power needs to be adjusted. If the abnormal amplitude is greater than the second abnormal threshold, it indicates that there is a serious abnormality, and it is judged that charging needs to be stopped.
[0021] In a preferred embodiment, the controller adjusts the charging power based on the prediction result and generates a corresponding control strategy, including the following steps:
[0022] When it is determined that the charging power needs to be adjusted, the charging power is adjusted according to the abnormal amplitude. The larger the abnormal amplitude, the more it is necessary to reduce the charging power. The adjustment algorithm expression is: , where is the adjusted charging power, is the charging power before adjustment, is the abnormal amplitude;
[0023] The controller controls the charging device to charge the educational robot with the adjusted charging power. When it is determined that the charging needs to be stopped, the controller controls the charging device to stop charging.
[0024] In a preferred embodiment, after the controller periodically analyzes the operating status coefficients of all charging devices, parallel management is performed through a multi-slave mode of a polymorphic bus, including the following steps:
[0025] After regularly analyzing the operating status coefficients of all charging devices, the controller obtains the average operating status coefficient of each charging device, and when the educational robot performs the next charging, all charging devices are sorted from small to large according to the average operating status coefficient to generate a device recommendation table. When maintaining the charging devices, all charging devices are sorted from large to small according to the average operating status coefficient to generate a device maintenance table. The educational robot or operator selects the charging equipment according to the positive order of the equipment recommendation table, and the maintenance personnel select the maintenance order of the charging equipment according to the positive order of the equipment maintenance table.
[0026] In a preferred embodiment, the calculation logic of the current fluctuation amplitude of the multiple series components is as follows: the number of series groups in the charging device is obtained, all the components in series are regarded as a series group, the current value of each component in the series group is obtained at regular intervals, the current standard deviation of the series group is calculated based on the current value of each component, and the current standard deviations of all series groups in the charging device are summed to obtain the current fluctuation amplitude of the multiple series components;
[0027] The calculation logic of the multi-component temperature deviation accumulation factor is as follows: obtain the real-time temperature of the monitoring component through the temperature sensor, obtain the temperature difference by subtracting the preset temperature threshold of the monitoring component from the real-time temperature of the monitoring component, obtain the temperature deviation of the monitoring component by taking the absolute value of the temperature difference, sum the temperature deviations of multiple monitoring components to obtain the temperature deviation of multiple components, and obtain the multi-component temperature deviation accumulation factor after integrating the temperature deviations of multiple components. The expression is: , where is the cumulative factor of temperature deviation of multiple components, For time Temperature deviation of multiple components at a given moment, is the cumulative time period.
[0028] In a preferred embodiment, before starting charging control, the controller of the educational robot initializes the charging bus as a host, including the following steps:
[0029] During the initialization phase, the data line is set to a high impedance state. At this time, the data line is not driven by any device and remains in an "undriven" state. The clock line is initialized to a low level state. The controller sends an initial signal through the clock line. After receiving the initial signal, each slave device performs time synchronization.
[0030] A charging bus control system for an educational robot, comprising an initialization module, a charging device identification module, a charging control module, and a charging device management module;
[0031] Initialization module: before starting charging control, the controller of the educational robot is used as the host to initialize the charging bus;
[0032] Charging device identification module: sends a request signal through the charging bus to identify different charging devices connected to the charging bus. After the identification is completed, the charging status of each charging device is detected by polling;
[0033] Charging control module: During the charging process, different control instructions are generated based on different voltage states. After regular abnormal prediction, the controller synchronizes the status of the charging device through the clock line and data line, adjusts the charging power based on the prediction results, and generates corresponding control strategies. When charging is completed, a stop charging instruction is issued;
[0034] Charging device management module: After regularly analyzing the operating status coefficients of all charging devices, parallel management is performed through the multi-slave mode of the polymorphic bus, and the work of different charging devices is coordinated based on the clock signal.
[0035] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0036] The present invention sends a request signal through the charging bus to identify different charging devices connected to the charging bus. During the charging process, different control instructions are generated based on different voltage states. After regular abnormal prediction, the controller synchronizes the state of the charging device through the clock line and the data line, adjusts the charging power based on the prediction results, and generates corresponding control strategies. After regularly analyzing the operating state coefficients of all charging devices, parallel management is performed through the multi-slave mode of the polymorphic bus, and the work of different charging devices is coordinated based on the clock signal. The control system uses a polymorphic voltage design to enable the data line to transmit more information states. Combined with the abnormal prediction mechanism, it ensures that the charging process is safe and efficient, and extends the battery life. The multi-slave mode of the polymorphic bus is adopted, which can efficiently manage multiple charging devices in parallel and effectively avoid communication conflicts. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0038] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] Example 1: Please refer to Figure 1 As shown, the charging bus control method of the educational robot described in this embodiment includes the following steps:
[0041] Before starting charging control, the controller of the educational robot initializes the charging bus as the host. The charging bus includes a data line and a clock line. During initialization, the data line is in a high-impedance state to avoid conflicts when there is no communication and ensure that the data line and the clock line work normally. The controller sends a request signal through the charging bus to identify different charging devices (such as charging stations) connected to the charging bus. The charging bus can identify multiple charging devices at the same time through multi-state level encoding. Each device returns its unique identifier (ID) in a different voltage state. After the identification is completed, the controller polls to detect the charging status of each charging device. The four voltage standards on the charging bus can be used to transmit rich charging status data, such as:
[0042] Voltage 1: Current battery status (00-full, 01-charging, 10-need to be charged, 11-stop charging);
[0043] Voltage 2: charging voltage;
[0044] Voltage 3: current current state;
[0045] Voltage 4: other additional information (such as temperature monitoring);
[0046] Through this multi-state level design, the robot can more efficiently obtain various status information of the charging device. According to the information of the charging device and the charging status, the controller can intelligently control the charging process. Different voltage states can represent different instructions:
[0047] Low voltage (charging): The controller instructs to start charging the robot battery;
[0048] High voltage (stop charging): When the battery is fully charged, a command to stop charging is sent;
[0049] Medium voltage (adjusting charging power): adjust the charging power according to the current charging status and demand to protect the battery;
[0050] During the charging process, after regular abnormal prediction, the controller synchronizes the status of the charging device through the clock line and data line, adjusts the charging power based on the prediction results, and generates corresponding control strategies;
[0051] After the controller regularly analyzes the operating status coefficients of all charging devices, it manages them in parallel through the multi-slave mode of the polymorphic bus and coordinates the work of different charging devices based on the clock signal. When the current charging device is running, other devices are in a high-impedance state, waiting for instructions from the next clock cycle. In this way, multiple charging devices can be managed simultaneously and conflicts can be avoided.
[0052] When charging is completed, the controller detects that the charging state has reached the "full charge" state through the charging bus, and then issues a stop charging command. The charging device will enter the standby or power-off state after receiving the command, and feedback the charging stop status through the charging bus.
[0053] The present invention sends a request signal through the charging bus to identify different charging devices connected to the charging bus. During the charging process, different control instructions are generated based on different voltage states. After regular abnormal prediction, the controller synchronizes the state of the charging device through the clock line and the data line, adjusts the charging power based on the prediction results, and generates corresponding control strategies. After regularly analyzing the operating state coefficients of all charging devices, parallel management is performed through the multi-slave mode of the polymorphic bus, and the work of different charging devices is coordinated based on the clock signal. The control system uses a polymorphic voltage design to enable the data line to transmit more information states. Combined with the abnormal prediction mechanism, it ensures that the charging process is safe and efficient, and extends the battery life. The multi-slave mode of the polymorphic bus is adopted, which can efficiently manage multiple charging devices in parallel and effectively avoid communication conflicts.
[0054] Embodiment 2: Before starting charging control, the controller of the educational robot initializes the charging bus as the host. The charging bus includes a data line and a clock line. During initialization, the data line is in a high impedance state to avoid conflicts when there is no communication and ensure that the data line and the clock line work normally, including the following steps:
[0055] Ensure that the power supply of the educational robot controller is normal, all related hardware components (such as charging devices, sensors, etc.) are connected to the charging bus, check the hardware connection, and ensure that the data line and clock line are not physically damaged or short-circuited;
[0056] During the initialization phase, the data line is set to a high impedance state to avoid signal conflicts when there is no valid communication. At this time, the data line is not driven by any device and remains in the "undriven" state. The clock line is initialized to a low level state (such as logic 0) to prepare for sending the clock signal. The controller sends an initial signal through the clock line to confirm that the clock signal can be received by each slave device. Several clock pulses can be sent to ensure that all slave devices can be synchronized in time.
[0057] An example of the above scenario is as follows:
[0058] After the educational robot controller is powered on, it confirms that the charging device (such as a wireless charger) and the sensor (such as a battery charge sensor) are connected, and checks whether the connections of these components are firm. The controller uses the built-in diagnostic function to check if there is a hardware failure. The controller switches the output mode of the data line to a high-impedance state by setting the register to ensure that no device actively sends a signal on the data line. For example, the GPIO (general input output) pin of the controller is configured to a high-impedance state to prevent any current from flowing, and the controller pulls the clock line (SCL) low to logic 0, which means that the system is ready to enter the initialization state. In this state, all slave devices wait for the clock signal of the host to synchronize.
[0059] The controller sends a series of clock pulses (for example, 5 pulses) through the clock line, each pulse lasting 50 milliseconds. This process ensures that all connected slave devices can sense the clock signal and are ready. After detecting the clock signal, each slave device will start its internal state machine and prepare to receive data. For example, after a charger receives the clock signal, it starts listening to the data line and prepares to send its device ID. After the controller sends the initial signal, each connected charging device will feedback its status through the data line, such as sending "Device ID: Charger 1". After receiving these feedbacks, the controller can confirm that all devices are ready and record the status of each device.
[0060] The controller sends a request signal through the charging bus to identify different charging devices (such as charging stations) connected to the charging bus. The charging bus can identify multiple charging devices at the same time through multi-state level encoding. Each device returns its unique identifier (ID) in a different voltage state, including the following steps:
[0061] The controller sends a specific request signal through the data line to notify all charging devices connected to the charging bus to prepare to respond. This request signal can use a specific voltage level (for example, voltage 1) to indicate the identification request. After receiving the request signal, all connected charging devices enter the waiting state and prepare to return their unique identifier (ID). Each charging device returns a signal based on its preset unique identifier.
[0062] After receiving the request signal, all connected charging devices enter the waiting state. Charging device 1, charging device 2 and charging device 3 all detect the request signal and prepare to return their respective IDs, each charging device according to its preset unique identifier.
[0063] If a device does not return a response within a predetermined time, the controller will record the abnormal information of the device and try to retry. Example: If charging device 2 does not return a signal, the controller can resend the request signal to ensure that it can respond. Once the IDs of all devices are identified, the controller will enter the charging management stage.
[0064] After identification, the controller polls and detects the charging status of each charging device. The four voltage standards on the charging bus can be used to transmit rich charging status data, such as:
[0065] Voltage 1: Current battery status (00-full, 01-charging, 10-need to be charged, 11-stop charging);
[0066] Voltage 2: charging voltage;
[0067] Voltage 3: current current state;
[0068] Voltage 4: other additional information (such as temperature monitoring);
[0069] Through this multi-state level design, the robot can more efficiently obtain various status information of the charging device, including the following steps:
[0070] The controller sends a status request signal through the data line to inquire about the current status of all connected charging devices. After receiving the status request signal, each charging device prepares to return its charging status information. After detecting the request signal, charging device 1, charging device 2 and charging device 3 all start to prepare corresponding data. Each charging device returns information through different voltage standards according to its charging status.
[0071] Charging device 1:
[0072] Voltage 1 return status: 00 (fully charged).
[0073] Voltage 2 returns the charging voltage: 5V.
[0074] Voltage 3 returns current status: 0.5A.
[0075] Voltage 4 returns additional information: Temperature is normal.
[0076] Charging device 2:
[0077] Voltage 1 returns status: 01 (charging).
[0078] Voltage 2 returns the charging voltage: 4.5V.
[0079] Voltage 3 returns Current status: 1.0A.
[0080] Voltage 4 returns additional information: Temperature rise.
[0081] Charging device 3:
[0082] Voltage 1 returns status: 10 (needs charging).
[0083] Voltage 2 returns the charging voltage: 3.0V.
[0084] Voltage 3 returns to current state: 0A (no longer charging).
[0085] Voltage 4 returns additional information: Temperature is normal.
[0086] The controller monitors the voltage changes on the data line in real time and identifies the charging status information of each charging device;
[0087] The controller reads that the status of charging device 1 is fully charged, the charging voltage is 5V, the current is 0.5A, and the temperature is normal.
[0088] The status of the charging device 2 is read as charging, the charging voltage is 4.5V, the current is 1.0A, and the temperature is rising.
[0089] The status of the charging device 3 is read as needing to be charged, the charging voltage is 3.0V, the current is 0A, and the temperature is normal.
[0090] According to the information of the charging device and the charging status, the controller can intelligently control the charging process. Different voltage states can represent different instructions:
[0091] Low voltage (charging): The controller instructs to start charging the robot battery;
[0092] High voltage (stop charging): When the battery is fully charged, a command to stop charging is sent;
[0093] Medium voltage (adjusting charging power): According to the current charging status and demand, adjust the charging power to protect the battery, including the following steps:
[0094] The controller regularly monitors the charging status of the charging devices, including the power, charging voltage and current status. The controller obtains that the status of charging device 1 is "full", charging device 2 is "charging", and charging device 3 is "needing to be charged. The controller determines the type of instruction to be sent according to the status of each device. For charging device 1, the status is "full", and the instruction to stop charging is ready to be sent. For charging device 2, the status is "charging", and the instruction to keep charging is sent. For charging device 3, the status is "needing to be charged", and the instruction to start charging is sent.
[0095] The controller sends a low voltage signal through the data line to instruct the charging device to start charging the robot battery. The controller sends a voltage signal (such as voltage 2) to indicate "start charging", which is applicable to charging device 3. When the battery is fully charged, the controller sends a high voltage signal to indicate to stop charging. The controller detects that charging device 1 is "fully charged" and sends a voltage signal (such as voltage 3) to indicate "stop charging";
[0096] According to the charging status, the controller sends a medium voltage signal to adjust the charging power to protect the battery. The controller receives feedback from the charging device on the command to confirm whether it is executed successfully. After receiving the start or stop charging command, the charging device feedbacks the current charging status to ensure that the command is executed in place. If the current and voltage of the charging device change, the controller may need to resend the power adjustment command to ensure a safe and efficient charging process.
[0097] During the charging process, after regular abnormal prediction, the controller synchronizes the status of the charging device through the clock line and the data line, adjusts the charging power based on the prediction results, and generates a corresponding control strategy, including the following steps:
[0098] During the charging process, the control system obtains the operating status coefficient of the charging device and the equipment status coefficient of the educational robot. The operating status coefficient of the charging device includes the current fluctuation amplitude of multiple series components and the cumulative factor of temperature deviation of multiple components. The equipment status coefficient of the educational robot includes the real-time power, battery abnormality index and the frequency of generating no response instructions.
[0099] The logic for obtaining the operating state coefficient is as follows: normalize the current fluctuation amplitude of multiple series components and the cumulative factor of temperature deviation of multiple components, so that the value range of the current fluctuation amplitude of multiple series components and the cumulative factor of temperature deviation of multiple components are mapped to [0,1], and sum the normalized current fluctuation amplitude of multiple series components and the cumulative factor of temperature deviation of multiple components to obtain the operating state coefficient of the charging device. The larger the operating state coefficient, the worse the operating state of the charging device, and the more it is necessary to reduce the charging power or stop charging;
[0100] The logic for obtaining the device state coefficient is as follows: based on the real-time power of the educational robot, the power adjustment value k is obtained. Generally speaking, in order to ensure the service life of the educational robot battery, a larger charging power is generally selected for charging when the battery power is 0%-80%. We mark the larger charging power as the first charging power, and select a smaller charging power for charging when the battery power is 81%-100%. The smaller charging power is marked as the second charging power (the larger charging power and the smaller charging power are usually preset by the manufacturer of the educational robot). The power adjustment value k is obtained by dividing the first charging power by the second charging power. If the real-time power is 0%-80%, k is equal to the first charging power divided by the first charging power, that is, k=1. If the real-time power is 81%-100%, k is equal to the first charging power divided by the second charging power.
[0101] Since the battery abnormality index and the frequency of generating no-response instructions are obtained in this application, the larger the two parameters are, the more it is necessary to reduce the real-time charging power. Therefore, after correcting the power adjustment value k by the battery abnormality index and the frequency of generating no-response instructions, the device state coefficient is obtained, and the expression is: , where is the power adjustment value, is the equipment status coefficient, is the battery abnormality index, Generates frequency for unresponsive commands, , are the battery abnormality index and the proportional coefficient of the frequency of generating the unresponsive command, respectively, and , All are greater than 0. The larger the device status coefficient is, the worse the device status of the educational robot is, and the more it is necessary to reduce the charging power or stop charging.
[0102] The calculation logic of the current fluctuation amplitude of multiple series components is as follows: obtain the number of series groups in the charging device, treat all components in series as a series group, obtain the current value of each component in the series group at regular intervals, calculate the current standard deviation of the series group based on the current value of each component, sum the current standard deviations of all series groups in the charging device to obtain the current fluctuation amplitude of multiple series components. The larger the current fluctuation amplitude of multiple series components, the greater the difference in current values between components in a series group, which may indicate that the charging device has the following abnormalities and needs to reduce the charging power or control charging to stop;
[0103] The currents between the components vary significantly, which may be due to performance differences caused by inconsistent materials or aging. Some components are overheated, which may cause abnormal local temperature increases and increase the risk of fire. There is poor contact at the electrical connection points, resulting in increased current in some components and reduced current in other components, affecting the overall charging efficiency. A short circuit or open circuit failure occurs in a component in the series connection, resulting in uneven current distribution. The charging equipment does not properly adjust the charging power according to the status of each component, resulting in overload of some components. The connected load exceeds the design specifications, resulting in increased current fluctuations.
[0104] The calculation logic of the multi-component temperature deviation accumulation factor is as follows: obtain the real-time temperature of the monitoring component through the temperature sensor, obtain the temperature difference by subtracting the preset temperature threshold of the monitoring component from the real-time temperature of the monitoring component, take the absolute value of the temperature difference to obtain the temperature deviation of the monitoring component, sum the temperature deviations of multiple monitoring components to obtain the temperature deviation of multiple components, and integrate the temperature deviations of multiple components to obtain the multi-component temperature deviation accumulation factor, which is expressed as: , where is the cumulative factor of temperature deviation of multiple components, For time Temperature deviation of multiple components at a given moment, The cumulative time period is large, and the larger the cumulative factor of the temperature deviation of multiple components is, the more serious the abnormal temperature condition inside the charging equipment is, and the charging power needs to be reduced or the charging needs to be stopped.
[0105] The calculation expression of battery abnormality index is: , where is the battery abnormality index, is a constant term with a value of 0.112, which indicates the influence of minor influencing data (i.e. data that has a small impact on battery safe charging, such as ambient temperature, humidity, etc.) on the regression coefficient. is the variable (mainly affecting the data), is the regression coefficient of each variable, and the regression coefficient is greater than 0;
[0106] The main influencing data in this application include but are not limited to the battery temperature rise rate, the gas concentration growth rate around the battery, the battery voltage standard deviation, etc.;
[0107] When the present invention is used, the logical factors of the battery abnormality index are composed of: taking the influence of the main influencing data on the safe charging of the battery as an example, the first is the index, that is, the factor that causes the change of the safe charging of the battery (the present invention refers to the influence of the main influencing data on the safe charging of the battery); the second is the weight of these indicators, that is, the proportion of each main influencing data when it is generated; the third is the operation equation, that is, what kind of mathematical operation process is used to obtain the result, and the battery abnormality index is obtained by calculating the indicators with their respective weights through the operation equation.
[0108] The main influencing data obtained from the sample were transformed and processed into a data language recognized by computer software; secondly, these evaluation factors were analyzed by Logistic regression using SPSS software to screen out factors and their weights that are significantly correlated with the results; thirdly, the evaluation factors and weights were brought into the Logistic regression equation for calculation to obtain the results, which are as follows:
[0109] First, ensure the integrity of the main effect data, handle missing values and outliers, and convert the data into a format that SPSS software can recognize. Usually, the data is stored in csv, xlsx and other formats, and then imported into SPSS. Open SPSS software, import the processed data file, and transform the variables as needed. For example, for continuous variables, standardize or normalize them. Select the "Analyze" menu, then select the "Binary Logistic" option under "Regression". In the dialog box, add the dependent variable (outcome) and the independent variable (main effect data) to the corresponding boxes. SPSS will fit the Logistic regression based on the selected variables. Model, in the output results, you will see the coefficients, standard errors, p-values and other information of the model. Check the coefficients and p-values in the output results to determine which variables have a significant correlation with the results. Usually, a p-value less than 0.05 is considered significant. While fitting the model, use variable selection methods, such as stepwise regression, to help screen the most relevant factors. According to the coefficients of the Logistic regression model, the size of the coefficient reflects the degree of influence of each factor on the result, and the positive and negative signs of the coefficients indicate the direction of the influence. After obtaining the significant factors and their coefficients, the Logistic regression equation is obtained, which is used to calculate the probability of each sample and then predict the results.
[0110] The calculation logic of the frequency of unresponsive command generation is as follows: when the educational robot is charging, it usually generates commands related to charging detection, such as monitoring the battery power and battery temperature. However, when the educational robot itself has program errors or is invaded by a virus, it may cause the educational robot to move or shake during the charging process. Therefore, the number of command generation times that are not related to charging detection is obtained during the monitoring time period, and the number of command generation times that are not related to charging detection is divided by the monitoring time to obtain the frequency of unresponsive command generation. The greater the frequency of unresponsive command generation, the more likely the educational robot is to behave abnormally during the charging process, so it is necessary to reduce the charging power or stop charging.
[0111] During the charging process, abnormal prediction is performed regularly, including the following steps:
[0112] The obtained operating state coefficient and equipment state coefficient are weighted to obtain the abnormal amplitude, and the expression is: , where is the abnormal amplitude, is the operating state coefficient, is the equipment status coefficient;
[0113] The larger the abnormal amplitude, the more serious the integration abnormality of the charging device and the educational robot during the charging process, and the more it is necessary to reduce the charging power or control the charging to stop;
[0114] The acquired abnormal amplitude is compared with a preset first abnormal threshold and a second abnormal threshold, wherein the first abnormal threshold is used to determine whether the charging power needs to be adjusted, and the second abnormal threshold is used to determine whether the charging needs to be stopped;
[0115] If the abnormal amplitude is less than or equal to the first abnormal threshold, it indicates that the preset battery power has not been reached or there is no abnormality, and it is judged that there is no need to adjust the charging power. If the abnormal amplitude is greater than the first abnormal threshold, and the abnormal amplitude is less than or equal to the second abnormal threshold, it indicates that the preset battery power has been reached or there is an abnormality, and it is judged that the charging power needs to be adjusted. If the abnormal amplitude is greater than the second abnormal threshold, it indicates that there is a serious abnormality, and it is judged that charging needs to be stopped.
[0116] The controller synchronizes the state of the charging device through the clock line and the data line, adjusts the charging power based on the prediction result, and generates a corresponding control strategy, including the following steps:
[0117] The controller sends the initial clock signal through the clock line to ensure that all charging devices can receive and synchronize, and sends the status request signal through the data line to inquire about the current status of each charging device;
[0118] When it is determined that the charging power needs to be adjusted, the charging power is adjusted according to the abnormal amplitude. The larger the abnormal amplitude, the more it is necessary to reduce the charging power. The adjustment algorithm expression is: , where is the adjusted charging power, is the charging power before adjustment, is the abnormal amplitude;
[0119] The controller controls the charging device to charge the educational robot with the adjusted charging power. When it is determined that the charging needs to be stopped, the controller controls the charging device to stop charging.
[0120] After the controller periodically analyzes the operating status coefficients of all charging devices, it manages them in parallel through the multi-slave mode of the polymorphic bus and coordinates the work of different charging devices based on the clock signal. When the current charging device is running, other devices are in a high-impedance state, waiting for instructions from the next clock cycle. In this way, multiple charging devices can be managed simultaneously and conflicts can be avoided, including the following steps:
[0121] After the controller periodically analyzes the operating status coefficients of all charging devices, it obtains the average operating status coefficient of each charging device, and when the educational robot performs the next charging, it sorts all the charging devices from small to large according to the average operating status coefficient, and generates a device recommendation table. When maintaining the charging devices, it sorts all the charging devices from large to small according to the average operating status coefficient, and generates a device maintenance table, wherein the educational robot or the operator can select the charging device according to the positive order of the device recommendation table, and the maintenance personnel can select the maintenance order of the charging device according to the positive order of the device maintenance table, so that the charging devices in poor condition are maintained first;
[0122] The controller sends signals through the clock line to coordinate the work of the charging devices. When the current charging device is running, the status of other charging devices is set to high impedance to avoid signal conflicts. The optimal device is selected for charging according to the recommendation table and the corresponding instructions are sent. Other charging devices are on standby, waiting for instructions from the next clock cycle so that they can be managed and charged in turn. The above steps are repeated in each clock cycle to achieve effective management of multiple charging devices and ensure a safe, stable and efficient charging process.
[0123] When charging is completed, the controller detects that the charging state has reached the "full charge" state through the charging bus, and then issues a stop charging command. The charging device enters the standby or power-off state after receiving the command, and feedbacks the stop charging state through the charging bus, including the following steps:
[0124] Status monitoring: The controller continuously monitors the status of the charging device and obtains the current charging status information through the charging bus.
[0125] Charging completion judgment: When it is detected that the charging status has reached "full charge", the controller confirms that charging is complete.
[0126] Instruction sending: The controller sends a stop charging instruction to the charging device via the data line, instructing it to stop the charging process immediately.
[0127] Receiving command: After receiving the stop charging command, the charging device immediately responds and executes the command.
[0128] State switching: The charging device enters standby mode or completely powers off according to instructions to ensure device safety and energy saving.
[0129] Status feedback: The charging device feeds back the charging stopped status to the controller through the charging bus to confirm that it has successfully stopped charging.
[0130] Event Recording: The controller records charging completion and charging stop events for subsequent analysis and management.
[0131] Embodiment 3: The charging bus control system of an educational robot described in this embodiment includes an initialization module, a charging device identification module, a charging control module, and a charging device management module;
[0132] Initialization module: Before starting charging control, the controller of the educational robot acts as the host to initialize the charging bus, which includes a data line and a clock line. During initialization, the data line is in a high-impedance state to avoid conflicts when there is no communication. The initialization charging bus information is sent to the charging device identification module;
[0133] Charging device identification module: The controller sends a request signal through the charging bus to identify different charging devices (such as charging stations) connected to the charging bus. The charging bus can identify multiple charging devices at the same time through multi-state level encoding. Each device returns its unique identifier (ID) in different voltage states. After the identification is completed, the controller polls and detects the charging status of each charging device. The information and charging status of the charging device are sent to the charging control module and the charging device management module;
[0134] Charging control module: According to the information of the charging device and the charging status, the controller generates different control instructions based on different voltage states during the charging process. After regular abnormal prediction, the controller synchronizes the status of the charging device through the clock line and the data line, adjusts the charging power based on the prediction results, and generates corresponding control strategies. When charging is completed, the controller detects that the charging status has reached the "full charge" state through the charging bus, and then issues a stop charging instruction. The charging device will enter the standby or power-off state after receiving the instruction, and feedback the charging stop status through the charging bus;
[0135] Charging device management module: After the controller regularly analyzes the operating status coefficients of all charging devices, it performs parallel management through the multi-slave mode of the polymorphic bus and coordinates the work of different charging devices based on the clock signal. When the current charging device is running, other devices are in a high-impedance state, waiting for instructions from the next clock cycle. In this way, multiple charging devices can be managed simultaneously and conflicts can be avoided.
[0136] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0137] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0138] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0139] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0140] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A charging bus control method for an educational robot, characterized in that: The control method comprises the following steps: Before starting charging control, the control system uses the educational robot's controller as the host to initialize the charging bus. The controller sends a request signal through the charging bus to identify different charging devices connected to the charging bus. After the identification is completed, the charging status of each charging device is detected by polling. During the charging process, the controller generates different control instructions based on different voltage states. After regular abnormal prediction, the controller synchronizes the state of the charging device through the clock line and data line, adjusts the charging power based on the prediction results, and generates corresponding control strategies. When charging is completed, it issues a stop charging instruction. After the controller regularly analyzes the operating status coefficients of all charging devices, it manages them in parallel through the multi-slave mode of the polymorphic bus and coordinates the work of different charging devices based on the clock signal.
2. The charging bus control method for an educational robot according to claim 1, characterized in that: During the charging process, the control system obtains the operating status coefficient of the charging device and the equipment status coefficient of the educational robot. The operating status coefficient of the charging device includes the current fluctuation amplitude of multiple series components and the cumulative factor of temperature deviation of multiple components. The equipment status coefficient of the educational robot includes the real-time power, battery abnormality index and the frequency of generating no response instructions.
3. The charging bus control method for an educational robot according to claim 2, characterized in that: The logic for obtaining the device state coefficient is as follows: when the battery power of the educational robot is 0%-80%, the charging device selects the first charging power to charge the educational robot; when the battery power is 81%-100%, the charging device selects the second charging power to charge the educational robot, and the power adjustment value is obtained by dividing the first charging power by the second charging power; After the frequency correction power adjustment value is generated through the battery abnormality index and the unresponsive command, the device status coefficient is obtained. The expression is: , where is the power regulation value, is the equipment status coefficient, is the battery abnormality index, Generates frequency for unresponsive commands, , are the battery abnormality index and the proportional coefficient of the frequency of generating the unresponsive command, respectively, and , Both are greater than 0.
4. The charging bus control method for an educational robot according to claim 3, characterized in that: The logic for obtaining the operating status coefficient is as follows: normalize the current fluctuation amplitude of multiple series components and the temperature deviation accumulation factor of multiple components, so that the value range of the current fluctuation amplitude of multiple series components and the temperature deviation accumulation factor of multiple components are mapped to between [0,1], and sum the normalized current fluctuation amplitude of multiple series components and the temperature deviation accumulation factor of multiple components to obtain the operating status coefficient of the charging device.
5. The charging bus control method for an educational robot according to claim 4, characterized in that: During the charging process, abnormal prediction is performed regularly, including the following steps: The obtained operating state coefficient and equipment state coefficient are weighted to obtain the abnormal amplitude, and the expression is: , where is the abnormal amplitude, is the operating state coefficient, is the equipment status coefficient; The acquired abnormal amplitude is compared with a preset first abnormal threshold and a second abnormal threshold, wherein the first abnormal threshold is used to determine whether the charging power needs to be adjusted, and the second abnormal threshold is used to determine whether the charging needs to be stopped; If the abnormal amplitude is less than or equal to the first abnormal threshold, it indicates that the preset battery power has not been reached or there is no abnormality, and it is judged that there is no need to adjust the charging power. If the abnormal amplitude is greater than the first abnormal threshold, and the abnormal amplitude is less than or equal to the second abnormal threshold, it indicates that the preset battery power has been reached or there is an abnormality, and it is judged that the charging power needs to be adjusted. If the abnormal amplitude is greater than the second abnormal threshold, it indicates that there is a serious abnormality, and it is judged that charging needs to be stopped.
6. The charging bus control method for an educational robot according to claim 5, characterized in that: The controller adjusts the charging power based on the prediction result and generates a corresponding control strategy, including the following steps: When it is determined that the charging power needs to be adjusted, the charging power is adjusted according to the abnormal amplitude. The larger the abnormal amplitude, the more it is necessary to reduce the charging power. The adjustment algorithm expression is: , where is the adjusted charging power, is the charging power before adjustment, is the abnormal amplitude; The controller controls the charging device to charge the educational robot with the adjusted charging power. When it is determined that the charging needs to be stopped, the controller controls the charging device to stop charging.
7. The charging bus control method for an educational robot according to claim 6, characterized in that: After the controller periodically analyzes the operating status coefficients of all charging devices, it manages them in parallel through the multi-slave mode of the polymorphic bus, including the following steps: After regularly analyzing the operating status coefficients of all charging devices, the controller obtains the average operating status coefficient of each charging device, and when the educational robot performs the next charging, all charging devices are sorted from small to large according to the average operating status coefficient to generate a device recommendation table. When maintaining the charging devices, all charging devices are sorted from large to small according to the average operating status coefficient to generate a device maintenance table. The educational robot or operator selects the charging equipment according to the positive order of the equipment recommendation table, and the maintenance personnel select the maintenance order of the charging equipment according to the positive order of the equipment maintenance table.
8. The charging bus control method for an educational robot according to claim 7, characterized in that: The calculation logic of the current fluctuation amplitude of the multiple series components is as follows: obtaining the number of series groups in the charging device, treating all the components in series as a series group, obtaining the current value of each component in the series group at regular intervals, calculating the current standard deviation of the series group based on the current value of each component, and summing the current standard deviations of all series groups in the charging device to obtain the current fluctuation amplitude of the multiple series components; The calculation logic of the multi-component temperature deviation accumulation factor is as follows: obtain the real-time temperature of the monitoring component through the temperature sensor, obtain the temperature difference by subtracting the preset temperature threshold of the monitoring component from the real-time temperature of the monitoring component, obtain the temperature deviation of the monitoring component by taking the absolute value of the temperature difference, sum the temperature deviations of multiple monitoring components to obtain the temperature deviation of multiple components, and obtain the multi-component temperature deviation accumulation factor after integrating the temperature deviations of multiple components. The expression is: , where is the cumulative factor of temperature deviation of multiple components, For time Temperature deviation of multiple components at a given moment, is the cumulative time period.
9. The charging bus control method for an educational robot according to claim 8, characterized in that: Before starting charging control, the controller of the educational robot initializes the charging bus as the host, including the following steps: During the initialization phase, the data line is set to a high impedance state. At this time, the data line is not driven by any device and remains in an "undriven" state. The clock line is initialized to a low level state. The controller sends an initial signal through the clock line. After receiving the initial signal, each slave device performs time synchronization.
10. A charging bus control system for an educational robot, used to implement the control method according to any one of claims 1 to 9, characterized in that: It includes an initialization module, a charging device identification module, a charging control module, and a charging device management module; Initialization module: before starting charging control, the controller of the educational robot is used as the host to initialize the charging bus; Charging device identification module: sends a request signal through the charging bus to identify different charging devices connected to the charging bus. After the identification is completed, the charging status of each charging device is detected by polling; Charging control module: During the charging process, different control instructions are generated based on different voltage states. After regular abnormal prediction, the controller synchronizes the status of the charging device through the clock line and data line, adjusts the charging power based on the prediction results, and generates corresponding control strategies. When charging is completed, a stop charging instruction is issued; Charging device management module: After regularly analyzing the operating status coefficients of all charging devices, parallel management is performed through the multi-slave mode of the polymorphic bus, and the work of different charging devices is coordinated based on the clock signal.
Citation Information
Patent Citations
Split type direct current charging pile multi-gun matching charging management system and method
CN115027317A
Method and device for predicting remaining service life of robot battery, and electronic equipment
CN115201710A
Straddle type electric vehicle
CN115871854A
Fault monitoring method and system for battery management system in battery charging equipment
CN116691442A
Intelligent time period control system based on charging pile
CN117644794A
Cited By
Power supply charging method of power system automation device
CN120150301A
Power supply charging method for power system automation device
CN120150301B
