CN115973177A - Method and device for setting parameters of sanitation vehicle, sanitation vehicle and storage medium - Google Patents

Method and device for setting parameters of sanitation vehicle, sanitation vehicle and storage medium Download PDF

Info

Publication number
CN115973177A
CN115973177A CN202310160348.6A CN202310160348A CN115973177A CN 115973177 A CN115973177 A CN 115973177A CN 202310160348 A CN202310160348 A CN 202310160348A CN 115973177 A CN115973177 A CN 115973177A
Authority
CN
China
Prior art keywords
parameter setting
sensor
sanitation
sanitation vehicle
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310160348.6A
Other languages
Chinese (zh)
Inventor
张化
李红朋
李胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Yiwei New Energy Vehicle Co ltd
Original Assignee
Chengdu Yiwei New Energy Vehicle Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Yiwei New Energy Vehicle Co ltd filed Critical Chengdu Yiwei New Energy Vehicle Co ltd
Priority to CN202310160348.6A priority Critical patent/CN115973177A/en
Publication of CN115973177A publication Critical patent/CN115973177A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention provides a method and a device for setting parameters of a sanitation vehicle of the sanitation vehicle, the sanitation vehicle and a storage medium, and relates to the field of new energy vehicles. The method comprises the following steps that a loading controller outputs a parameter setting interface under the condition that the sanitation truck is powered on and receives a parameter setting instruction input by a user; receiving and storing operation parameters configured by a user based on a parameter setting interface; the operating parameters include operating parameters required by the respective upper-mounted operating device and operating parameters of the respective sensor, so that the respective upper-mounted operating device and the sensor operate according to the operating parameters. By the method, a user can directly call the parameter setting interface to set the operation parameters, so that the upper-mounted operation device and the sensor can operate according to the set operation parameters, developers are not required to modify the operation program of the new energy sanitation vehicle to set the operation parameters, the parameter setting efficiency can be improved, and professional requirements on parameter setting personnel are reduced.

Description

Method and device for setting parameters of sanitation vehicle, sanitation vehicle and storage medium
Technical Field
The invention relates to the field of new energy automobiles, in particular to a method and a device for setting parameters of a sanitation vehicle of the sanitation vehicle, the sanitation vehicle and a storage medium.
Background
At present, new energy sanitation vehicles are popularized and applied in the field of public services, wherein the new energy sanitation vehicles are main vehicle types, and in order to ensure that the new energy sanitation vehicles are more suitable for market demands, the operation parameters in a loading control system of the new energy sanitation vehicles are often required to be corrected and updated.
In the prior art, generally, a developer modifies an operation program of the new energy sanitation vehicle so as to achieve the purpose of setting operation parameters, but the method is low in efficiency setting and high in professional requirement on parameter setting personnel.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for setting parameters of a sanitation vehicle, a sanitation vehicle and a storage medium, so as to improve the setting efficiency of the operation parameters of the sanitation vehicle using new energy and reduce professional requirements on parameter setting personnel.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, the present invention provides a method for setting parameters of a sanitation vehicle, which is applied to an upper controller of the sanitation vehicle, wherein the sanitation vehicle is further provided with a plurality of upper operation devices and a plurality of sensors, each upper operation device and each sensor are respectively connected with the upper controller, and the method includes:
outputting a parameter setting interface under the condition that the sanitation truck is powered on and receives a parameter setting instruction input by a user;
receiving and storing the operation parameters configured by the user based on the parameter setting interface; the operating parameters include operating parameters required by each of the top-up running devices and operating parameters of each of the sensors so that each of the top-up running devices and the sensors operate according to the operating parameters.
In an optional embodiment, the outputting a parameter setting interface when the sanitation truck is powered on and receives a parameter setting instruction input by a user includes:
responding to a parameter setting instruction input by a user through a display screen of the sanitation vehicle under the condition that the sanitation vehicle is electrified, and generating a password input interface;
receiving a verification password input by a user based on the password input interface;
and if the verification password is matched with a preset verification password, outputting the parameter setting interface.
In an alternative embodiment, the method further comprises:
acquiring an operation signal; the running signal comprises a running state signal sent by the sensor and/or a user control signal sent by a display screen of the sanitation vehicle;
and generating an operation control signal aiming at the target loading operation device according to the operation signal, and sending the operation control signal to the target loading operation device so as to control the target loading operation device to operate.
In an optional implementation manner, the upper-mounted controller is provided with a corresponding receiving register, and each data stored in the receiving register has a corresponding address number; the acquiring the operating signal comprises:
acquiring data stored by the receiving register according to preset time length;
and acquiring data corresponding to the address number of the sensor and/or data corresponding to the address number of the display screen from the data stored in the receiving register to obtain the operating signal.
In an optional embodiment, the upper-mounted controller further stores a corresponding relationship between a fault identifier, a fault number, and a fault level corresponding to each sensor and each upper-mounted operating device, and the method further includes:
determining whether feedback data of each sensor and each installed operating device are stored in the receiving register at preset time intervals;
if the receiving register does not store the feedback data of at least one sensor or the upper-mounted running device, determining that the sensor or the upper-mounted running device has a fault, and determining a fault identifier, a fault number and a fault grade corresponding to the sensor or the upper-mounted running device according to the corresponding relation;
and sending the fault identification, the fault number and the fault grade corresponding to the sensor or the upper-mounted running device to the display screen for displaying.
In an optional embodiment, the upper controller is provided with a corresponding sending register, and the sending register is used for storing the operation control signal generated by the upper controller;
the operation control signal for the target loading operation device is generated according to the operation signal, and the operation control signal is sent to the target loading operation device to control the operation of the target loading operation device, and the method comprises the following steps:
generating an operation control signal aiming at a target upper installation operation device according to the operation signal, and determining the sending period of the operation control signal;
and adding the operation control signal to a sending register, and sending the operation control signal in the sending register to a target loading operation device according to the sending period so as to control the target loading operation device to operate.
In an optional embodiment, the plurality of upper-mounted running devices comprise an upper-mounted motor, an alarm, a low-pressure water pump and an arrow lamp, and the plurality of sensors comprise a water level height sensor and a hydraulic oil pressure sensor.
In a second aspect, the present invention provides a parameter setting device for a sanitation vehicle, which is applied to an upper loading controller of the sanitation vehicle, wherein the sanitation vehicle is further provided with a plurality of upper loading operation devices and a plurality of sensors, each upper loading operation device and each sensor are respectively connected to the upper loading controller, and the device comprises:
the output module is used for outputting a parameter setting interface under the condition that the sanitation truck is powered on and receives a parameter setting instruction input by a user;
the receiving module is used for receiving and storing the operation parameters configured by the user based on the parameter setting interface; the operating parameters include operating parameters required by each of the upper-mounted operating devices and operating parameters of each of the sensors, so that each of the upper-mounted operating devices and the sensors operate according to the operating parameters.
In a third aspect, the present invention provides a sanitation truck comprising an onboard controller for executing a computer program to implement the method of any one of the preceding embodiments.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by an on-board controller, implements a method as in any one of the preceding embodiments.
According to the method and the device for setting the parameters of the sanitation vehicle, the sanitation vehicle and the storage medium provided by the embodiment of the invention, the upper-mounted controller can output the parameter setting interface under the condition that the sanitation vehicle is powered on and receives the parameter setting instruction input by the user, so that the operation parameters configured by the user based on the parameter setting interface can be received and stored, the operation parameters comprise the operation parameters required by each upper-mounted operation device and the operation parameters of each sensor, and the upper-mounted operation device and the sensors can operate according to the set operation parameters based on the operation parameters. By the method, a user can directly call the parameter setting interface to set the operation parameters, so that the upper-mounted operation device and the sensor can operate according to the set operation parameters, developers are not required to modify the operation program of the new energy sanitation vehicle to set the operation parameters, the parameter setting efficiency can be improved, and professional requirements on parameter setting personnel are reduced.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a block diagram of a sanitation truck according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a method for setting parameters of a sanitation vehicle according to an embodiment of the present invention;
FIG. 3 shows a power-on and power-off flow chart of the sanitation truck;
fig. 4 is another schematic flow chart of a method for setting parameters of a sanitation truck according to an embodiment of the present invention;
FIG. 5 is a functional block diagram of a parameter setting device of a sanitation truck according to an embodiment of the present invention;
fig. 6 shows another functional block diagram of the parameter setting device of the sanitation truck according to the embodiment of the present invention.
Icon: 10-sanitation vehicle; 100-installing a controller; 110-installing an operating device; 120-a sensor; 130-vehicle control unit; 140-loading DCAC; 150-a wireless remote control receiver; 160-display screen; 20-CAN bus; 200-an output module; 210-a receiving module; 220-control module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' ...does not exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
Fig. 1 is a block diagram of a sanitation vehicle 10 according to an embodiment of the present disclosure, wherein the sanitation vehicle 10 may be a washing and sweeping vehicle, a sprinkler, or the like. Specifically, referring to fig. 1, the sanitation truck 10 includes a loader controller 100, a plurality of loader operating devices 110, and a plurality of sensors 120. Wherein each upper mounted running device 110 and each sensor 120 are respectively connected with the upper mounted controller.
It is understood that the upper-mounted controller 100 can be used to execute a computer program to implement the method for setting parameters of the sanitation truck provided by the embodiment of the present application.
Optionally, a vehicle control unit 130, an onboard DCAC140, and a wireless remote control receiver 150 may also be provided in the sanitation truck 10. The vehicle controller 130 may be configured to make a vehicle control decision for the sanitation vehicle, the upper DCAC140 may be configured to convert direct current and alternating current, and the wireless remote control receiver 150 may be configured to receive a data packet sent by the remote control transmitter, and output corresponding data through a bus according to a preset functional logic and the data packet.
Optionally, the sanitation truck 10 may further include a display screen 160, the display screen 160 being used to display operational data of the sanitation truck 10 and to receive operational information from a user. For convenience of operation, the display screen 160 may include a silica gel panel and a central control screen, wherein the silica gel panel and the central control screen may be disposed at different positions. In a possible implementation manner, the central control screen may be integrated with all the operation functions on the sanitation truck 10, and the silica gel panel may be integrated with part of the operation functions on the sanitation truck 10, and may be specifically set by a developer according to actual requirements.
It is understood that the onboard controllers 100, the onboard operation devices 110, the sensors 120, the vehicle control unit 130, the onboard DCAC140, the wireless remote control receiver 150, and the display screen 160 may be connected via the CAN bus 20.
In one possible implementation manner, the above components CAN uniformly adopt an extended frame in the CAN network architecture, and the communication rate is 250kbps. The communication cable of the CAN bus CAN adopt a shielding twisted pair, the flame retardance of the shielding twisted pair is about 0.5mm, a shielding layer CAN be connected to a grounding wire CAN _ GND, and the specific grounding mode of the shielding wire CAN be selected when the whole vehicle is wired, for example, the proper position single-point grounding is selected. In addition, the vehicle control unit 130 and the onboard controller 100 may each have a termination resistance of about 120 ohms.
It should be understood that the configuration shown in fig. 1 is merely a schematic illustration of the structure of the sanitation truck 10, and that the sanitation truck 10 may include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, and when the computer program is executed by the upper-mounted controller, the method for setting the parameters of the sanitation vehicle provided by the embodiment of the application can be realized.
Next, the method for setting parameters of the sanitation vehicle provided by the embodiment of the present application is exemplarily described with reference to a flow diagram by using the upper-mounted controller in fig. 1 as an execution main body. Specifically, fig. 2 is a schematic flow chart of a method for setting parameters of a sanitation truck according to an embodiment of the present application, please refer to fig. 2, where the method includes:
and step S20, outputting a parameter setting interface under the condition that the sanitation truck is powered on and receives a parameter setting instruction input by a user.
In this embodiment, the sanitation truck needs to be first powered on to enter an operating state, and then outputs a parameter setting interface when receiving a parameter setting instruction input by a user.
Optionally, the parameter setting instruction is used to instruct the add-on controller to perform parameter setting, and then the add-on controller may output a parameter setting interface.
S21, receiving and storing the operation parameters configured by the user based on the parameter setting interface;
the operating parameters include operating parameters required by each upper-mounted operating device and operating parameters of each sensor, so that each upper-mounted operating device and each sensor operate according to the operating parameters.
Optionally, a ferroelectric may be further provided in the sanitation truck for storing the operation parameters, and specifically, the operation parameters may include the operation parameters of each sensor and the operation parameters required by each upper-mounted operation device. For example, the operating parameter may be a full point, a zero point of the sensor, an operating time of the upper-mounted operating device, and the like. In addition, a proximity switch and a travel switch shielding button can be additionally arranged on the parameter setting interface, and a parameter setting person can trigger the shielding button to stop the operation of the sanitation truck due to the reasons of sensor damage or faults and the like when the sanitation truck operates.
Optionally, the sanitation vehicle may also generate other data during operation, some data may still need to be stored after the sanitation vehicle is powered off, and some data may not be stored after the sanitation vehicle is powered off. The developer can manage the power-off saving data and the power-off non-saving data which need to be stored in the memory through variable classification management.
Optionally, when the sanitation vehicle is in normal operation, the upper-mounted controller may obtain corresponding operation parameters from the iron.
In this embodiment, the user manually sets the operation parameters based on the parameter setting interface configuration, and saves the setting by confirming the key, so that the add-on controller can respond to the operation of the user, receive the operation data, and save the operation data.
Optionally, in order to implement the parameter setting, the developer may set a parameter setting array in the program to store the parameters that can be set through the parameter setting interface.
According to the parameter setting method of the sanitation vehicle, the upper-mounted controller can output the parameter setting interface under the condition that the sanitation vehicle is powered on and receives the parameter setting instruction input by the user, so that the operation parameters configured by the user based on the parameter setting interface can be received and stored, the operation parameters comprise the operation parameters required by each upper-mounted operation device and the operation parameters of each sensor, and based on the operation parameters, the upper-mounted operation device and the sensors can operate according to the set operation parameters. By the method, a user can directly call the parameter setting interface to set the operation parameters, so that the upper-mounted operation device and the sensor can operate according to the set operation parameters, developers are not required to modify the operation program of the new energy sanitation vehicle to set the operation parameters, the parameter setting efficiency can be improved, and the professional requirements on the parameter setting personnel are reduced.
It can be understood that, by the method, the user can set the operation parameters directly through the parameter setting interface, so that the parameter setting is not required to be realized by modifying the program of the sanitation vehicle. On this basis, not only improve parameter setting efficiency, reduced the professional requirement to parameter setting personnel, still alleviateed developer's work load, promptly, the sanitation car of same model only need write same set of operation procedure can, the actual operation condition that operation parameter can be directed at this sanitation car specifically sets up.
In this embodiment, it can be understood that, if a user wants to set parameters of the sanitation vehicle, the sanitation vehicle needs to be controlled to be powered on first, and in a possible implementation manner, the power on and power off manner of the sanitation vehicle is a high-low voltage combined power on and power off manner, that is, the power on is performed by firstly powering on the low voltage and then powering on the high voltage; when the power is off, high voltage is firstly applied, and then low voltage is applied.
Specifically, fig. 3 is a power-ON and power-off flow chart of the sanitation vehicle, please refer to fig. 3, the user may first enable the sanitation vehicle to enter a power-ON ready state through the ON-gear of the key, and if the sanitation vehicle displays a ready signal, the user may activate the upper-mounted low-voltage switch, for example, close the upper-mounted power switch to enable normal power and wake up power ON all upper-mounted components, or close the upper-mounted power take-off switch to enable the vehicle controller to be a high voltage ON the upper-mounted system, or directly provide the upper-voltage normal-voltage signal to enable the vehicle controller to be a high voltage ON the upper-mounted system.
In this case, the central control screen can judge whether the sanitation truck is loaded with high voltage according to the feedback state of the loaded DCAC. For example, if the feedback state of the upper DCAC is a high level signal, it may be determined that the upper DCAC is loaded with a high voltage, and at this time, the user may send a start instruction to the upper DCAC through the central control screen, or the upper DCAC may start itself directly after determining that the upper DCAC is loaded with a high voltage.
After the sanitation vehicle is started successfully, a user can control the sanitation vehicle to operate by operating the central control screen. If the operation of the sanitation truck is finished, and a user wants to control the sanitation truck to stop operating, the motor can be controlled to stop operating or the sanitation truck is controlled to integrally stop operating through the central control screen, then the upper-mounted low-voltage switch is turned off, for example, the upper-mounted power switch is turned off to enable all upper-mounted components to be powered down normally and to be powered up, the key is controlled to be turned off to be turned ON, or the upper-mounted power switch is turned off to enable the whole truck controller to be powered up and to be powered down, and finally the power is turned off to finish the operation of the sanitation truck.
Optionally, in order to improve the security of parameter setting, prevent other people or users from performing false setting so as to affect the normal use of the sanitation vehicle, a password verification function may be added to perform authentication of the setting personnel, and specifically, the step S20 may be further implemented by:
under the condition that the sanitation vehicle is electrified, responding to a parameter setting instruction input by a user through a display screen of the sanitation vehicle, and generating a password input interface; receiving a verification password input by a user based on a password input interface; and if the verification password is matched with the preset verification password, outputting a parameter setting interface.
Alternatively, the user may input a parameter setting instruction through a display screen of the sanitation vehicle, for example, a parameter setting button is triggered, and the upper-mounted controller may respond to the parameter setting instruction input by the user based on the display screen, so as to generate a password input interface and display the password input interface on the display screen.
Alternatively, the display screen may be a center control screen.
Optionally, the user may input an authentication password based on the password input interface, and the upper-mounted controller may match the authentication password with a preset verification password to determine whether the matching is successful, and if the matching is successful, may output a parameter setting interface on the central control screen.
Alternatively, the check code may be a dynamic code, such as a check code composed of current time information, which may be composed of the current "time of year, month, day" or any combination thereof.
It can be understood that, in this case, the verification password can be flexibly changed along with the change of the time information, so that the security of parameter setting can be further improved.
Optionally, the sensor and the upper loader operating device in the sanitation truck may operate according to set parameters, and during specific operation, the upper loader controller may control the target upper loader operating device to operate according to an obtained operation signal, specifically, on the basis of fig. 2, fig. 4 is another schematic flow diagram of a parameter setting method of the sanitation truck provided in this embodiment of the present application, please refer to fig. 4, and the method further includes:
step S10, acquiring an operation signal;
the running signals comprise running state signals sent by a sensor and/or user control signals sent by a display screen of the sanitation truck;
and S11, generating an operation control signal aiming at the target loading operation device according to the operation signal, and sending the operation control signal to the target loading operation device so as to control the target loading operation device to operate.
Optionally, the running state signal may be a running state signal of the sanitation truck, which is obtained by running the sensor based on a sensor running parameter set by a user; the user control signal may be a control signal issued by the user based on each control function or control mode on the display screen.
Alternatively, the loading controller may determine, according to the operation signal, a target loading operation device which should be currently controlled to operate, and how to control the target loading operation device to operate.
On the basis, the loading controller can generate an operation control signal aiming at the target loading operation device according to the operation signal and send the operation control signal to the target loading operation device so as to control the target loading operation device to operate.
Optionally, the plurality of upper-mounted running devices in the sanitation truck can comprise an upper-mounted motor, an alarm, a low-pressure water pump and an arrow lamp, and the sensors can comprise a water level height sensor and a hydraulic oil pressure sensor.
Optionally, the warning indicator may be a speaker, a warning light, or other devices capable of prompting the user; the arrow lamp is used for carrying out operation warning, for example, when the sanitation vehicle starts operation, the arrow lamp is controlled to be normally on to prompt pedestrians, and in addition, the arrow lamp can be lightened according to a steering signal of a ground plate to prompt pedestrians and vehicles behind.
In one example, a user may issue a control signal based on the central control screen to instruct the sanitation vehicle to operate according to a target operation mode, and the upper controller may obtain the control signal, determine, based on the control signal, that a target upper operation device is an upper motor, and determine an operation rotation speed, an operation direction, an operation time, and the like of the upper motor in the target mode, and on this basis, the upper controller may generate an operation control signal and send the operation control signal to the upper motor to control the upper click to operate according to the operation rotation speed, the operation direction, and the operation time in the target mode.
In this example, if the sanitation vehicle is a sprinkler, the upper controller may control the flow of sprinkler water by controlling the upper motor.
In this embodiment, the operating parameters such as the operating speed, the operating direction, and the operating time of the upper motor in different operating modes can be configured by the user through the parameter setting interface.
In another example, the upper controller may obtain a water level status signal sent by the water level sensor, so as to determine whether the current water level is lower than a preset water level, and as can be appreciated, if the water level is lower than the preset water level, the upper controller may generate a low water level alarm signal and send the low water level alarm signal to the alarm, so as to control the alarm to perform low water level alarm. Optionally, a music horn can be arranged in the sanitation vehicle, and the music horn can be used as a warning indicator to perform low water level warning.
In a possible implementation manner, the music horn can also be used for playing music, performing action prompt, performing cooling liquid level alarm and the like.
Optionally, the music speaker may play the target music according to a music playing instruction issued by the user through the display screen during operation of the sanitation vehicle. It can be understood that the display screen can also output a music playing interface, and a user can adjust the volume, switch playing tracks, set a playing mode and the like based on the music playing interface and display the currently played music in the music playing interface.
Optionally, the volume, the playing track, the playing mode, and the like selected by the user are all power-down storage data, that is, if the sanitation vehicle is powered down, the data is automatically stored.
Optionally, the upper controller may send the control operation signal to the music speaker according to a preset priority relationship. In one possible implementation, the priority of the low water level alarm is higher than the priority of the cooling liquid level alarm, the priority of the cooling liquid level alarm is higher than the priority of the action prompt, and the priority of the action prompt is higher than the priority of the music playing.
In this embodiment, the upper-mounted controller may control the target upper-mounted operation device to operate, and may also control the display screen to display current operation data of the sanitation vehicle, including data collected by the sensor, data of the upper-mounted operation device and data of the sanitation vehicle overall operation.
For example, the accumulated operation running time, the accumulated operation running power consumption, the single operation running time, the single operation running power consumption and the like of the sanitation vehicle are counted and sent to the display screen to be displayed; and converting the analog signals input by each sensor into corresponding data, such as height values, pressure values and the like, and sending the data to a display screen for displaying.
Alternatively, the operation data of the sanitation vehicle may be power-off saving data.
In a possible implementation manner, the upper-mounted running device further comprises a water path electromagnetic valve, and the upper-mounted controller can also control the opening and closing of the corresponding water path electromagnetic valve based on a user control signal sent by the display screen so as to realize the corresponding operation action.
Alternatively, the on-board controller may be provided with a corresponding receiving register, and each data stored in the receiving register has a corresponding address number. The upper-mounted controller may obtain the operation signal from the receiving register through the CAN bus, and specifically, the step S10 may be further implemented by:
acquiring data stored by a receiving register according to preset time length; and acquiring data corresponding to the address number of the sensor and/or data corresponding to the address number of the display screen from the data stored in the receiving register to obtain an operating signal.
Optionally, the preset duration may be set through a parameter setting interface.
In this embodiment, the upper controller may obtain data in the receiving register according to a preset duration, and obtain the operation signal through a preset address number of the sensor and an address number of the display screen.
Alternatively, the load controller may read out the data stored therein in the case where the receiving register is full.
In a possible implementation manner, the upper-mounted controller further needs to analyze the acquired data corresponding to the address number of the sensor and/or the acquired data corresponding to the address number of the display screen to obtain the operation signal.
Optionally, in the receiving register, each sensor, the upper operation device, and the display screen corresponds to an address number, and each sensor, the upper operation device, and the display screen can send data sent to the upper controller to its corresponding address number, so that it can be understood that data corresponding to the address number of a certain sensor is data sent to the upper controller by the sensor.
Optionally, since each of the upper-mounted operating devices may generate some operating data during operation, each of the upper-mounted operating devices may also transmit the operating data to the upper-mounted controller during operation, so that the upper-mounted controller determines the operating state of the upper-mounted operating device according to the operating data.
In this case, it can be understood that if the upper controller does not receive data sent by a certain upper operating device or sensor for a long time, the upper operating device or sensor may malfunction, and based on this, the upper controller may determine whether each sensor and each upper operating device malfunction at preset time intervals.
In addition, in order to facilitate the user to confirm the fault, the corresponding relation among the fault identification, the fault number and the fault level corresponding to each sensor and each upper-mounted operating device is stored in the upper-mounted controller. Specifically, the method further comprises:
determining whether feedback data of each sensor and each upper-mounted running device are stored in a receiving register at preset time intervals; if the receiving register does not store the feedback data of at least one sensor or the upper-mounted operating device, determining that the sensor or the upper-mounted operating device has a fault, and determining a fault identifier, a fault number and a fault grade corresponding to the sensor or the upper-mounted operating device according to the corresponding relation; and sending the fault identification, the fault number and the fault grade corresponding to the target sensor or the target upper-mounted operation device to a display screen for displaying.
Optionally, the preset time may be set through a parameter setting interface.
In this embodiment, the upper mounting controller may determine, at preset time intervals, whether feedback data of each sensor and each upper mounting operation device is stored in the receiving register, where the feedback data refers to data sent to the upper mounting controller by each sensor and each upper mounting operation device.
In this embodiment, if the receiving register does not store the feedback data of a certain sensor or a certain upper-mounted operating device, it indicates that the sensor or the upper-mounted operating device may have a fault, so that the fault identifier, the fault number, and the fault level corresponding to the sensor or the upper-mounted operating device may be determined according to the pre-stored correspondence, and sent to the display screen for displaying.
Optionally, the fault may be a communication fault, an electronic control DCAC, a sensor fault, or the like, and it can be understood that the fault condition on the display screen is updated once every preset time, and a user can determine the operation fault condition of the sanitation vehicle in time through the fault condition on the display screen, so as to process in time.
Optionally, a sending register may be further disposed in the upper controller to store the operation control signal generated by the upper controller, and specifically, the step S11 may be further implemented by:
generating an operation control signal aiming at the target upper installation operation device according to the operation signal, and determining the sending period of the operation control signal; and adding the operation control signal to the sending register, and sending the operation control signal in the sending register to the target loading operation device according to the sending period so as to control the target loading operation device to operate.
Optionally, after generating the operation control signal for the target upper-mounted operation device, the upper-mounted controller calculates a transmission period of the operation control signal so as to transmit according to the transmission period.
In a possible implementation manner, a plurality of operation control signals can exist in the upper-mounted controller at the same time, for example, for normal operation of the sanitation truck, the upper-mounted DCAC control, the upper-mounted cooling fan and water pump control, the oil pump, the fan, the arrow lamp control, the valve control signal control and the like can be required to be carried out at the same time. Based on this, a counter may be provided in the on-board controller to cycle count the number of times each operation control signal is transmitted, respectively.
In this case, the upper-mounted controller may calculate, for each operation control signal, a transmission period corresponding to the operation control signal according to a transmission count value corresponding to the operation control signal, a preset refresh period, the number of the operation control signals to be currently transmitted, and a preset transmission priority order of each operation control signal, and finally generate a transmission period table for a plurality of operation control signals, where the transmission period of each operation control signal is recorded.
Alternatively, the upload controller may add the operation control signal to the transmission register, and then transmit the operation control signal in the transmission register to the target upload operation device according to the calculated transmission cycle.
In this embodiment, each of the sensors, the display screen, and the upper operating device may be provided with a corresponding receiving register and a corresponding sending register, so as to implement sending and receiving of data.
In one example, a developer may write a program based on the electrical harness schematic of the sanitation vehicle to implement the above-described functionality.
For example, a large number of switch type, analog type input signals and switch type output signals need to be acquired by the upper controller on the washing and sweeping vehicle, so that developers can directly define specific addresses, variable names, input and output types, variable types and the like during pin allocation based on an upper electrical wiring harness schematic diagram of the sanitation vehicle, and the subsequent direct operation of pins is facilitated.
For example, two types of bottom layer tasks, namely a main task and a communication task, can be developed in a program and are specially used for task scheduling of an application layer, and a control scheduler is arranged to perform task scheduling according to a task cycle, so that the real-time requirement is met.
In order to execute the corresponding steps in the above embodiments and various possible manners, an implementation manner of the parameter setting device of the sanitation truck is given below. Further, referring to fig. 5, fig. 5 is a functional block diagram of a parameter setting device of a sanitation vehicle according to an embodiment of the present invention. It should be noted that the basic principle and the generated technical effects of the parameter setting device of the sanitation vehicle provided by the embodiment are the same as those of the above embodiment, and for the sake of brief description, no part of the embodiment is mentioned, and reference may be made to the corresponding contents in the above embodiment. This sanitation car's parameter setting device includes: an output module 200 and a receiving module 210.
The output module 200 is configured to output a parameter setting interface when the sanitation truck is powered on and receives a parameter setting instruction input by a user.
It is understood that the output module 200 can also be used to execute the above step S20.
The receiving module 210 is configured to receive and store the operation parameters configured by the user based on the parameter setting interface; the operating parameters include operating parameters required by the respective upper-mounted operating device and operating parameters of the respective sensor, so that the respective upper-mounted operating device and the sensor operate according to the operating parameters.
It is understood that the receiving module 210 can also be used to execute the step S21.
Optionally, the output module 200 is further configured to respond to a parameter setting instruction input by a user through a display screen of the sanitation vehicle to generate a password input interface when the sanitation vehicle is powered on; receiving an authentication password input by a user based on a password input interface; and if the verification password is matched with the preset verification password, outputting a parameter setting interface.
Optionally, on the basis of fig. 5, fig. 6 is another functional block diagram of a parameter setting device of a sanitation vehicle according to an embodiment of the present invention, please refer to fig. 6, where the parameter setting device of the sanitation vehicle further includes a control module 220.
Optionally, the control module 220 is configured to obtain an operation signal; the running signals comprise running state signals sent by the sensor and/or user control signals sent by a display screen of the sanitation truck; and generating an operation control signal aiming at the target loading operation device according to the operation signal, and sending the operation control signal to the target loading operation device so as to control the target loading operation device to operate.
It is understood that the control module 220 can also be used to execute the above steps S10 to S11.
Optionally, the control module 220 is further configured to obtain data stored in the receiving register according to a preset duration; and acquiring data corresponding to the address number of the sensor and/or data corresponding to the address number of the display screen from the data stored in the receiving register to obtain an operation signal.
Optionally, the control module 220 is further configured to determine, at preset intervals, whether feedback data of each sensor and each upper-mounted operating device is stored in the receiving register; if the receiving register does not store the feedback data of at least one sensor or the upper-mounted operating device, determining that the sensor or the upper-mounted operating device has a fault, and determining a fault identifier, a fault number and a fault grade corresponding to the sensor or the upper-mounted operating device according to the corresponding relation; and sending the fault identification, the fault number and the fault grade corresponding to the sensor or the upper-mounted running device to a display screen for displaying.
Optionally, the control module 220 is further configured to generate an operation control signal for the target installed operation device according to the operation signal, and determine a sending period of the operation control signal; and adding the operation control signal to the sending register, and sending the operation control signal in the sending register to the target loading operation device according to the sending period so as to control the target loading operation device to operate.
According to the parameter setting device of the sanitation vehicle, the parameter setting interface is output under the condition that the sanitation vehicle is powered on through the output module and a parameter setting instruction input by a user is received; receiving and storing the operation parameters configured by the user based on the parameter setting interface through a receiving module; the operating parameters include operating parameters required by the respective upper-mounted operating device and operating parameters of the respective sensor, so that the respective upper-mounted operating device and the sensor operate according to the operating parameters. Therefore, a user can directly call the parameter setting interface to set the operation parameters, so that the upper-mounted operation device and the sensor can operate according to the set operation parameters, developers are not required to modify the operation program of the new energy sanitation vehicle to set the operation parameters, the parameter setting efficiency can be improved, and the professional requirements on the parameter setting personnel are reduced.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or 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 may 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 flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for setting parameters of a sanitation vehicle is applied to an upper-loading controller of the sanitation vehicle, the sanitation vehicle is further provided with a plurality of upper-loading operation devices and a plurality of sensors, each upper-loading operation device and each sensor are respectively connected with the upper-loading controller, and the method comprises the following steps:
outputting a parameter setting interface under the condition that the sanitation truck is powered on and receives a parameter setting instruction input by a user;
receiving and storing the operation parameters configured by the user based on the parameter setting interface; the operating parameters include operating parameters required by each of the upper-mounted operating devices and operating parameters of each of the sensors, so that each of the upper-mounted operating devices and the sensors operate according to the operating parameters.
2. The method according to claim 1, wherein in the case that the sanitation truck is powered on and receives a parameter setting instruction input by a user, outputting a parameter setting interface comprises:
responding to a parameter setting instruction input by a user through a display screen of the sanitation vehicle under the condition that the sanitation vehicle is electrified, and generating a password input interface;
receiving an authentication password input by a user based on the password input interface;
and if the verification password is matched with a preset verification password, outputting the parameter setting interface.
3. The method of claim 1, further comprising:
acquiring an operation signal; the running signals comprise running state signals sent by the sensor and/or user control signals sent by a display screen of the sanitation truck;
and generating an operation control signal aiming at the target loading operation device according to the operation signal, and sending the operation control signal to the target loading operation device so as to control the target loading operation device to operate.
4. The method according to claim 3, wherein the upper-loading controller is provided with a corresponding receiving register, and each data stored in the receiving register has a corresponding address number; the acquiring the operation signal comprises:
acquiring data stored by the receiving register according to preset time length;
and acquiring data corresponding to the address number of the sensor and/or data corresponding to the address number of the display screen from the data stored in the receiving register to obtain the operating signal.
5. The method of claim 4, wherein the on-board controller further stores a correspondence relationship between a fault identifier, a fault number, and a fault level corresponding to each sensor and each on-board operating device, and the method further comprises:
determining whether feedback data of each sensor and each installed operating device are stored in the receiving register at preset time intervals;
if the receiving register does not store the feedback data of at least one sensor or the upper-mounted running device, determining that the sensor or the upper-mounted running device has a fault, and determining a fault identifier, a fault number and a fault grade corresponding to the sensor or the upper-mounted running device according to the corresponding relation;
and sending the fault identification, the fault number and the fault grade corresponding to the sensor or the upper-mounted running device to the display screen for displaying.
6. The method according to claim 3, wherein the upper controller is provided with a corresponding transmission register for storing the operation control signal generated by the upper controller;
the operation control signal for the target loading operation device is generated according to the operation signal, and the operation control signal is sent to the target loading operation device to control the operation of the target loading operation device, and the method comprises the following steps:
generating an operation control signal aiming at a target upper installation operation device according to the operation signal, and determining the sending period of the operation control signal;
and adding the operation control signal to a sending register, and sending the operation control signal in the sending register to a target loading operation device according to the sending period so as to control the target loading operation device to operate.
7. The method of any one of claims 1-6, wherein the plurality of top-mounted running devices comprise a top-mounted motor, an alarm, a low-pressure water pump, and an arrow head lamp, and the plurality of sensors comprise a water level sensor and a hydraulic oil pressure sensor.
8. A parameter setting device of a sanitation vehicle is characterized in that the parameter setting device is applied to an upper loading controller of the sanitation vehicle, the sanitation vehicle is further provided with a plurality of upper loading operation devices and a plurality of sensors, each upper loading operation device and each sensor are respectively connected with the upper loading controller, and the device comprises:
the output module is used for outputting a parameter setting interface under the condition that the sanitation truck is powered on and receives a parameter setting instruction input by a user;
the receiving module is used for receiving and storing the operation parameters configured by the user based on the parameter setting interface; the operating parameters include operating parameters required by each of the upper-mounted operating devices and operating parameters of each of the sensors, so that each of the upper-mounted operating devices and the sensors operate according to the operating parameters.
9. A sanitation vehicle comprising a head-up controller for executing a computer program to implement the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by an on-board controller, carries out the method according to any one of claims 1-7.
CN202310160348.6A 2023-02-23 2023-02-23 Method and device for setting parameters of sanitation vehicle, sanitation vehicle and storage medium Pending CN115973177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310160348.6A CN115973177A (en) 2023-02-23 2023-02-23 Method and device for setting parameters of sanitation vehicle, sanitation vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310160348.6A CN115973177A (en) 2023-02-23 2023-02-23 Method and device for setting parameters of sanitation vehicle, sanitation vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN115973177A true CN115973177A (en) 2023-04-18

Family

ID=85968249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310160348.6A Pending CN115973177A (en) 2023-02-23 2023-02-23 Method and device for setting parameters of sanitation vehicle, sanitation vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN115973177A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116252626A (en) * 2023-05-10 2023-06-13 成都壹为新能源汽车有限公司 New energy vehicle control system, method, device, controller, vehicle and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116252626A (en) * 2023-05-10 2023-06-13 成都壹为新能源汽车有限公司 New energy vehicle control system, method, device, controller, vehicle and medium
CN116252626B (en) * 2023-05-10 2023-08-04 成都壹为新能源汽车有限公司 New energy vehicle control system, method, device, controller, vehicle and medium

Similar Documents

Publication Publication Date Title
US10589699B2 (en) Power and communication modes for digital license plate
CN106170826B (en) The monitoring method and system of cab-getter's number
CN110001505A (en) A kind of customizing method and system, vehicle of Vehicle lamp effect
CN115973177A (en) Method and device for setting parameters of sanitation vehicle, sanitation vehicle and storage medium
CN104050777A (en) Reminding method based on vehicle travel time and device thereof
CN104317562A (en) Information display method and device and terminal
CN108454538A (en) Vehicle Electronic Control Unit updating system
CN104852993A (en) Vehicle-mounted mobile multimedia information interaction system
US11597277B2 (en) Vehicle electronic device, electronic device, information receiving and sending methods thereof, server and communication system
CN109421661A (en) The method, apparatus and vehicle of vehicle control
CN106671910A (en) Power supply management device, vehicle-mounted mobile terminal and power saving method thereof
CN105653008A (en) Night sleep message prompting method and device and electronic equipment
CN114627572A (en) Vehicle monitoring method, device, equipment and medium
CN107246881A (en) A kind of navigation reminders method, device and terminal
CN110877585A (en) Power management device and method
CN105404209B (en) A kind of system and method by USB transmission control display screen backlight illumination
CN105589547A (en) System parameter information display method for mobile terminal and mobile terminal
CN114407775A (en) Atmosphere lamp control method, device and system and vehicle
CN203005322U (en) Automobile control device and automobile long-range control system
CN107364512B (en) A kind of anti-lost system and method for vehicle, control device and method
CN117818529A (en) Remote control method and system for vehicle motion state and electronic equipment
CN209776335U (en) Vehicle-mounted vehicle moving prompting device
CN114475475B (en) Vehicle storage battery management method and device and electronic equipment
CN110362325A (en) A kind of automobile remote software online upgrade system and method
CN115092071A (en) Function control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination